Merge pull request 'test' (#1) from aaron-test/shbot:master into master

Reviewed-on: aaron/shbot#1
This commit is contained in:
Aaron Riedel 2021-12-08 20:24:04 +01:00
commit df20d1c8b4

1
bot.py
View file

@ -319,7 +319,6 @@ async def on_message(message):
if not message.is_system() and len(message.attachments) > 0:
for a in message.attachments:
await client.get_channel(775390209793064980).send(content=a.url)
if message.content.startswith("!print") and permission(message):
print(message.content)
await message.delete()