lunarflu HF Staff commited on
Commit
64cecce
·
1 Parent(s): f9a6e6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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