This commit is contained in:
git-bruh 2020-11-16 18:45:55 +05:30
parent 439e56981a
commit 52f50461f8
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -99,7 +99,7 @@ async def process_discord(message):
for emote in emote_list:
emote_name = emote.split(":")[1]
message = message.replace(emote, f":{emote_name}:")
content = content.replace(emote, f":{emote_name}:")
for mention in mention_list:
# Discord mentions can start with either "<@" or "<@!"