Start of the v3 branch

This commit is contained in:
aikaterna
2018-01-27 19:10:40 -08:00
parent 39c3e99fa4
commit f6a8ffdb1f
33 changed files with 2 additions and 6340 deletions

View File

@@ -1,17 +0,0 @@
import discord
class OtherbotStatus:
def __init__(self, bot):
self.bot = bot
async def on_member_update(self, before, after):
if after.status == discord.Status.offline and after.id == "000000000000000000": # this is the bot id that you want to watch
channel_object = self.bot.get_channel("000000000000000000") # this is the channel id for the watcher bot to scream in
await self.bot.send_message(channel_object, "<@000000000000000000>, the bot is offline.") # this is the person to ping and the message
else:
pass
def setup(bot):
n = OtherbotStatus(bot)
bot.add_cog(n)