1
0
Fork 0

Update guild2.py

This commit is contained in:
Swee 2024-10-11 12:57:57 -07:00
parent 442e12d80f
commit 664fab9d0f

View file

@ -65,10 +65,7 @@ async def on_message(message):
if message.author.name != client.user.name: if message.author.name != client.user.name:
if message.content == "": if message.content == "":
return return
if message.author == None: print(YELLOW + "<"+message.author.name if message.author != None else "Gil" +" ("+message.channel.name+"@"+message.server.name+ " {" + message.server.id +"})> "+RESET+message.content)
print(YELLOW + "Gil ("+message.channel.name+"@"+message.server.name+")> "+RESET+message.content)
else:
print(YELLOW + "<"+message.author.name+" ("+message.channel.name+"@"+message.server.name+ " {" + message.server.id +"})> "+RESET+message.content)
if message.author.name == client.user.name or message.author.bot: if message.author.name == client.user.name or message.author.bot:
return return
elif message.content[0] == "$": elif message.content[0] == "$":