Update sweebridge.py
This commit is contained in:
parent
61bd60b654
commit
266af1b1d4
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ class MyClient(discord.Client):
|
||||||
libera_channel = None
|
libera_channel = None
|
||||||
libera_enable = False
|
libera_enable = False
|
||||||
print(f'Message from {message.author} ({message.author.id}) on {message.channel.id}: {message.content}')
|
print(f'Message from {message.author} ({message.author.id}) on {message.channel.id}: {message.content}')
|
||||||
if message.author[-5:] != "#0000":
|
if message.author.name[-5:] != "#0000":
|
||||||
if message.content != None and message.content != "":
|
if message.content != None and message.content != "":
|
||||||
if message.content[:3] == "/me" or message.content[:4] == "b$me":
|
if message.content[:3] == "/me" or message.content[:4] == "b$me":
|
||||||
await message.delete()
|
await message.delete()
|
||||||
|
|
Loading…
Reference in a new issue