Closed synsypa closed 5 years ago
Potential Strategy:
Currently, it looks like this:
What is the .next()
here for?
Maybe we need something like:
# Get all channels
all_channels = yield from bot.get_all_channels()
# Iterate through channels
for channel in all_channels:
bot.send_message(channel, 'yo, we in there')
Oddly, can't seem to get the on_server_join()
event to trigger, even when turning it on in the server settings.
I got it to work by moving it to the on_ready()
event.
Addressed in #35
tried to add a message on server join, but didn't work. Should be useful when the bot goes down to indicate revival
was my attempt