Skip to content

Commit

Permalink
Detect phyrexian hybrid mana properly
Browse files Browse the repository at this point in the history
Fixes #12028
  • Loading branch information
bakert committed Apr 11, 2024
1 parent 98789ab commit 2b1c8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordbot/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def replace_emoji(text: str, client: Client) -> str:
if text is None:
return ''
output = text
symbols = re.findall(r'\{([A-Z0-9/]{1,3})\}', text)
symbols = re.findall(r'{([A-Z0-9/]+)}', text)
for symbol in symbols:
name = symbol
name = name.replace('/', '')
Expand Down

0 comments on commit 2b1c8a0

Please sign in to comment.