diff options
| -rw-r--r-- | bot/constants.py | 1 | ||||
| -rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 2 | ||||
| -rw-r--r-- | bot/exts/utils/snekbox/_eval.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py index 9851aea97..f17f2dc0c 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -289,6 +289,7 @@ class Emojis(metaclass=YAMLGetter): defcon_update: str # noqa: E704 failmail: str + failed_file: str incident_actioned: str incident_investigating: str diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index c0e8e432e..cdb709a5d 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -369,7 +369,7 @@ class Snekbox(Cog): blocked_str = ", ".join(blocked_sorted) blocked_msg = f"Files with disallowed extensions can't be uploaded: **{blocked_str}**" - msg += f"\n{Emojis.failmail} {blocked_msg}" + msg += f"\n{Emojis.failed_file} {blocked_msg}" filter_cog: Filtering | None = self.bot.get_cog("Filtering") if filter_cog and (await filter_cog.filter_snekbox_output(msg, ctx.message)): diff --git a/bot/exts/utils/snekbox/_eval.py b/bot/exts/utils/snekbox/_eval.py index 93262959a..5c2fc8757 100644 --- a/bot/exts/utils/snekbox/_eval.py +++ b/bot/exts/utils/snekbox/_eval.py @@ -94,7 +94,7 @@ class EvalResult: n_failed = len(self.failed_files) s_upload = "uploads" if n_failed > 1 else "upload" - msg = f"{Emojis.failmail} {n_failed} file {s_upload} {failed_files} failed" + msg = f"{Emojis.failed_file} {n_failed} file {s_upload} {failed_files} failed" # Exceeded file count limit if (n_failed + len(self.files)) > FILE_COUNT_LIMIT: |