mirror of
https://github.com/hypervortex/VH-Bombsquad-Modded-Server-Files
synced 2025-10-16 12:02:51 +00:00
Fixed bs cmd from dc
This commit is contained in:
parent
4762b23932
commit
828919fe3f
1 changed files with 1 additions and 2 deletions
3
dist/ba_root/mods/features/discord_bot.py
vendored
3
dist/ba_root/mods/features/discord_bot.py
vendored
|
|
@ -173,8 +173,7 @@ async def on_message(message):
|
|||
return
|
||||
channel = message.channel
|
||||
if message.channel.id == logsChannelID:
|
||||
content_with_username = f"{message.author.name}: {message.content}"
|
||||
_ba.pushcall(Call(ba.internal.chatmessage, content_with_username), from_other_thread=True)
|
||||
_ba.pushcall(Call(ba.internal.chatmessage, message.content), from_other_thread=True)
|
||||
else:
|
||||
if message.content.startswith(prefix):
|
||||
if message.guild.id not in whitelisted_servers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue