mirror of
https://github.com/hypervortex/VH-Bombsquad-Modded-Server-Files
synced 2025-10-16 12:02:51 +00:00
Update discord_bot.py
This commit is contained in:
parent
7a5e7698c0
commit
d6d836858f
1 changed files with 1 additions and 1 deletions
2
dist/ba_root/mods/features/discord_bot.py
vendored
2
dist/ba_root/mods/features/discord_bot.py
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue