diff options
| -rw-r--r-- | bot/constants.py | 2 | ||||
| -rw-r--r-- | bot/exts/info/information.py | 4 | ||||
| -rw-r--r-- | config-default.yml | 2 | 
3 files changed, 5 insertions, 3 deletions
| diff --git a/bot/constants.py b/bot/constants.py index 3254c2761..813f970cd 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -280,7 +280,7 @@ class Emojis(metaclass=YAMLGetter):      badge_partner: str      badge_staff: str      badge_verified_bot_developer: str -    badge_verified_bot: str +    verified_bot: str      bot: str      defcon_shutdown: str  # noqa: E704 diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index 226e4992e..834fee1b4 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -230,7 +230,9 @@ class Information(Cog):          if on_server and user.nick:              name = f"{user.nick} ({name})" -        if user.bot: +        if user.public_flags.verified_bot: +            name += f" {constants.Emojis.verified_bot}" +        elif user.bot:              name += f" {constants.Emojis.bot}"          badges = [] diff --git a/config-default.yml b/config-default.yml index dba354117..b6955c63c 100644 --- a/config-default.yml +++ b/config-default.yml @@ -46,8 +46,8 @@ style:          badge_partner: "<:partner:748666453242413136>"          badge_staff: "<:discord_staff:743882896498098226>"          badge_verified_bot_developer: "<:verified_bot_dev:743882897299210310>" -        badge_verified_bot: "<:verified_bot:811645219220750347>"          bot: "<:bot:812712599464443914>" +        verified_bot: "<:verified_bot:811645219220750347>"          defcon_shutdown:    "<:defcondisabled:470326273952972810>"          defcon_unshutdown:  "<:defconenabled:470326274213150730>" | 
