Update sweebridge.py

This commit is contained in:
Nova Cat 2025-01-01 14:42:31 -08:00
parent 266af1b1d4
commit e8f6181dbc

View file

@ -452,7 +452,8 @@ class MyClient(discord.Client):
libera_channel = None
libera_enable = False
print(f'Message from {message.author} ({message.author.id}) on {message.channel.id}: {message.content}')
if message.author.name[-5:] != "#0000":
print(str(message.author))
if str(message.author)[-5:] != "#0000":
if message.content != None and message.content != "":
if message.content[:3] == "/me" or message.content[:4] == "b$me":
await message.delete()