Update guild2.py
This commit is contained in:
parent
442e12d80f
commit
664fab9d0f
1 changed files with 1 additions and 4 deletions
|
@ -65,10 +65,7 @@ async def on_message(message):
|
|||
if message.author.name != client.user.name:
|
||||
if message.content == "":
|
||||
return
|
||||
if message.author == None:
|
||||
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)
|
||||
print(YELLOW + "<"+message.author.name if message.author != None else "Gil" +" ("+message.channel.name+"@"+message.server.name+ " {" + message.server.id +"})> "+RESET+message.content)
|
||||
if message.author.name == client.user.name or message.author.bot:
|
||||
return
|
||||
elif message.content[0] == "$":
|
||||
|
|
Loading…
Reference in a new issue