Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check to see if another TeleIRC bot instance is running #138

Open
Tjzabel opened this issue Apr 20, 2019 · 1 comment
Open

Check to see if another TeleIRC bot instance is running #138

Tjzabel opened this issue Apr 20, 2019 · 1 comment
Labels
needs info Extra attention or information needed new change Adds new capabilities or functionality
Milestone

Comments

@Tjzabel
Copy link
Member

Tjzabel commented Apr 20, 2019

Issue

When a bot instance is already monitoring a Telegram group, and you start up another instance in another window, the first instance is forcefully shut down.

Reasoning

It may be a good idea to first check to see if a bot instance is already running, so the bot isn't forcefully shut down.

Result

No duplicate bots affect already-running instances, and the duplicate bots receive messages notifying them of another bot already running.

Next Steps

Research complexity of achieving this goal.

@Tjzabel Tjzabel added needs info Extra attention or information needed priority:low new change Adds new capabilities or functionality labels Apr 20, 2019
@jwflory
Copy link
Member

jwflory commented Apr 20, 2019

Perhaps this is also related to why the bot sometimes spawns off iterations of itself. For example, a bot with a configured nick of my-teleirc sometimes will connect as my-teleirc1, my-teleirc2, etc.

@jwflory jwflory added this to the v2.x.x milestone Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Extra attention or information needed new change Adds new capabilities or functionality
Projects
None yet
Development

No branches or pull requests

2 participants