diff options
| author | 2020-08-23 15:11:41 +0100 | |
|---|---|---|
| committer | 2020-08-23 15:11:41 +0100 | |
| commit | 2448c0530e24cb0aacb733f17dea7a6830fdd98b (patch) | |
| tree | 8ed271fa3589c3fdea1a76e1a11233d72bf1ca89 | |
| parent | Address review comments from @kwzrd (diff) | |
Don't just exclude custom emoji, include the name of the emote
| -rw-r--r-- | bot/cogs/information.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/cogs/information.py b/bot/cogs/information.py index c9412948a..3ec6c33af 100644 --- a/bot/cogs/information.py +++ b/bot/cogs/information.py @@ -225,9 +225,11 @@ class Information(Cog): emoji = "" if activity.emoji: - # Confirm that the emoji is not a custom emoji since we cannot use them. + # If an emoji is unicode use the emoji, else write the emote like :abc: if not activity.emoji.id: emoji += activity.emoji.name + " " + else: + emoji += f"`:{activity.emoji.name}:` " custom_status = f'Status: {emoji}{state}\n' |