Browse Source

Update bot.py

master
Purpur 4 years ago
committed by GitHub
parent
commit
b836204950
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      bot.py

4
bot.py

@ -71,9 +71,7 @@ async def on_message(message):
response = response + "\n(file was truncated because it was too long.)" response = response + "\n(file was truncated because it was too long.)"
embed_var = discord.Embed(title="Please use a paste service", color=0x1D83D4) embed_var = discord.Embed(title="Please use a paste service", color=0x1D83D4)
embed_var.description = response embed_var.description = response
await message.channel.send(embed=embed_var)
linking = bot.get_cog('Linking')
await linking.link_account(message)
await message.channel.send(embed=embed_var)
timings = bot.get_cog('Timings') timings = bot.get_cog('Timings')
await timings.analyze_timings(message) await timings.analyze_timings(message)
await bot.process_commands(message) await bot.process_commands(message)

Loading…
Cancel
Save