disable Bergtrolling

This commit is contained in:
Aaron Riedel 2022-06-08 23:28:34 +02:00
parent 5f48a8e845
commit a9541b64e0
Signed by: aaron
GPG key ID: 643004654D40D577

8
bot.py
View file

@ -77,10 +77,10 @@ async def on_ready():
#activity = discord.Game('%shelp for Help' % prefix)
await bot.change_presence(status=discord.Status.online, activity=activity)
@bot.listen()
async def on_presence_update(before, after):
if not before.is_on_mobile() and after.id == 274197471515639808 and after.is_on_mobile():
await bot.get_channel(512004326382632961).send("https://cdn.discordapp.com/attachments/512004326382632961/979468921985982514/unknown.png")
#@bot.listen()
#async def on_presence_update(before, after):
# if not before.is_on_mobile() and after.id == 274197471515639808 and after.is_on_mobile():
# await bot.get_channel(512004326382632961).send("https://cdn.discordapp.com/attachments/512004326382632961/979468921985982514/unknown.png")
class Confirm(discord.ui.View):
def __init__(self):