I have a python bot and has a simple !followage and such…(nothing new).
I have been wanting to add !join -channel- command but have no idea and have looked around and found nothing, could anyone point me in the right direction?
Thanks for any help!
I have a python bot and has a simple !followage and such…(nothing new).
I have been wanting to add !join -channel- command but have no idea and have looked around and found nothing, could anyone point me in the right direction?
Thanks for any help!
You need to have a database of the channels to connect to. When a user says “!join” or you say "!join " in the main bot channel, it will check the database for an entry, add it if not in there, and then send the JOIN
command with the channel name: “JOIN #channel_name
” – then you also need the same for PART
-ing and removing from the database.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.