Update app.py
Browse files
app.py
CHANGED
@@ -112,6 +112,8 @@ class MyClient(discord.Client):
|
|
112 |
try:
|
113 |
await message.delete()
|
114 |
await asyncio.sleep(5) # safety mechanism, can only delete slowly
|
|
|
|
|
115 |
|
116 |
# if the bot has this role, it won't run
|
117 |
OFFLINE_ROLE_ID = 1103676632667017266 # 1103676632667017266 = @offline / under maintenance
|
|
|
112 |
try:
|
113 |
await message.delete()
|
114 |
await asyncio.sleep(5) # safety mechanism, can only delete slowly
|
115 |
+
else:
|
116 |
+
pass
|
117 |
|
118 |
# if the bot has this role, it won't run
|
119 |
OFFLINE_ROLE_ID = 1103676632667017266 # 1103676632667017266 = @offline / under maintenance
|