You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the bot to run on multiple channels concurrently.
Hopefully won't need to get into multi-threading as I've heard multi-threading is a headache in python.
Anyway, this would be useful as there are already multiple channels people are using to chat. eg #learnjava is being used for JAdventure. And I have #ProgetherBotTest open for bots
The text was updated successfully, but these errors were encountered:
Pull #27 made the first steps towards this but we still need to mod a lot of the code where channels get passed around to allow for multiple channels at once.
Nothing has been done in this direction. Here's what I'm thinking. In the settings, have each channel info be added as a different section of the settings (with a database per channel). So one section for #reddit-progether and another for #progether-bots, for example. Then you would start the program with python main <channel_keyword> as an arg. Each channel keyword is connected to a section in the settings. Then mainpy would start a instance of ircBot in a different thread for each channel. Each ircBot thread would only load the necessary channel information from the settings.txt. I think having a new database for each channel is probably necessary and important though that may be debated.
Allow the bot to run on multiple channels concurrently.
Hopefully won't need to get into multi-threading as I've heard multi-threading is a headache in python.
Anyway, this would be useful as there are already multiple channels people are using to chat. eg #learnjava is being used for JAdventure. And I have #ProgetherBotTest open for bots
The text was updated successfully, but these errors were encountered: