This commit is contained in:
git-bruh 2020-11-25 12:33:39 +05:30
parent 437f38ba85
commit b1a211c995
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -124,7 +124,7 @@ async def process_matrix(message):
message = message.replace(emote, str(emote_)) message = message.replace(emote, str(emote_))
for mention in mentions: for mention in mentions:
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)