Update discord_bot.py

This commit is contained in:
Vortex 2024-06-09 15:14:47 +05:30 committed by GitHub
parent 7a5e7698c0
commit d6d836858f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,7 @@ async def on_message(message):
print(f"Unauthorized attempt in server: {server_name}")
except Exception as e:
print(f"Error retrieving server name: {e}")
await message.channel.send("**Unauthorized server. This server is not whitelisted. Don't try to use cmds kid...!**")
await message.channel.send("**Unauthorized server. This server is not whitelisted. Don't try to use cmds kid...!**")
return
if message.author.id not in whitelisted_users: