From 3ef5542539180653bb4c7c7b06df002453dc8299 Mon Sep 17 00:00:00 2001 From: Amrou Bellalouna Date: Tue, 21 May 2024 04:10:14 +0200 Subject: Cleanup constants (#1484) --- bot/exts/core/extensions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/core/extensions.py') diff --git a/bot/exts/core/extensions.py b/bot/exts/core/extensions.py index cfba58c8..24a28e2b 100644 --- a/bot/exts/core/extensions.py +++ b/bot/exts/core/extensions.py @@ -207,7 +207,7 @@ class Extensions(commands.Cog): if error: failures[extension] = error - emoji = ":x:" if failures else ":ok_hand:" + emoji = ":x:" if failures else Emojis.ok_hand msg = f"{emoji} {len(extensions) - len(failures)} / {len(extensions)} extensions {verb}ed." if failures: @@ -241,7 +241,7 @@ class Extensions(commands.Cog): error_msg = f"{e.__class__.__name__}: {e}" msg = f":x: Failed to {verb} extension `{ext}`:\n```\n{error_msg}\n```" else: - msg = f":ok_hand: Extension successfully {verb}ed: `{ext}`." + msg = f"{Emojis.ok_hand} Extension successfully {verb}ed: `{ext}`." log.debug(msg[10:]) return msg, error_msg -- cgit v1.2.3