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.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] == "$":
|
||||||
|
|
Loading…
Reference in a new issue