Fixed bs cmd from dc

This commit is contained in:
Sarasayed0118 2024-07-06 21:44:32 +05:30 committed by GitHub
parent 4762b23932
commit 828919fe3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: