update
This commit is contained in:
parent
ec472f92bb
commit
d1a280bab8
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -450,7 +450,7 @@ class Callbacks(object):
|
||||||
message = message.replace(f":{emote}:", str(emote_))
|
message = message.replace(f":{emote}:", str(emote_))
|
||||||
|
|
||||||
for mention in mentions:
|
for mention in mentions:
|
||||||
if mention[2] != "":
|
if mention[2]:
|
||||||
member = await guild.query_members(query=mention[2])
|
member = await guild.query_members(query=mention[2])
|
||||||
if member:
|
if member:
|
||||||
message = message.replace(mention[1], member[0].mention)
|
message = message.replace(mention[1], member[0].mention)
|
||||||
|
|
Loading…
Reference in a new issue