troll the Berg
This commit is contained in:
parent
3f78080118
commit
b4619c2f26
1 changed files with 5 additions and 5 deletions
10
bot.py
10
bot.py
|
@ -23,6 +23,7 @@ def mid(s, offset, amount):
|
|||
intents = discord.Intents.default()
|
||||
intents.members = True
|
||||
intents.message_content = True
|
||||
intents.presences = True
|
||||
|
||||
token = os.environ['TOKEN']
|
||||
prefix = os.environ['PREFIX']
|
||||
|
@ -76,11 +77,10 @@ async def on_ready():
|
|||
#activity = discord.Game('%shelp for Help' % prefix)
|
||||
await bot.change_presence(status=discord.Status.online, activity=activity)
|
||||
|
||||
#@bot.event
|
||||
#async def on_message(message):
|
||||
# if message.author.id == 274197471515639808:
|
||||
# await message.add_reaction(bot.get_emoji(844264772110909501))
|
||||
# await message.add_reaction(bot.get_emoji(950386969614110770))
|
||||
@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):
|
||||
|
|
Loading…
Reference in a new issue