From e8f6181dbc84399ada20bc48b86ce8c2d4b37007 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 1 Jan 2025 14:42:31 -0800 Subject: [PATCH] Update sweebridge.py --- sweebridge.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sweebridge.py b/sweebridge.py index 22c114c..db95b8f 100644 --- a/sweebridge.py +++ b/sweebridge.py @@ -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()