Merge pull request 'test' (#1) from aaron-test/shbot:master into master
Reviewed-on: aaron/shbot#1
This commit is contained in:
commit
df20d1c8b4
1 changed files with 0 additions and 1 deletions
1
bot.py
1
bot.py
|
@ -319,7 +319,6 @@ async def on_message(message):
|
||||||
if not message.is_system() and len(message.attachments) > 0:
|
if not message.is_system() and len(message.attachments) > 0:
|
||||||
for a in message.attachments:
|
for a in message.attachments:
|
||||||
await client.get_channel(775390209793064980).send(content=a.url)
|
await client.get_channel(775390209793064980).send(content=a.url)
|
||||||
|
|
||||||
if message.content.startswith("!print") and permission(message):
|
if message.content.startswith("!print") and permission(message):
|
||||||
print(message.content)
|
print(message.content)
|
||||||
await message.delete()
|
await message.delete()
|
||||||
|
|
Loading…
Reference in a new issue