Skip to content

Commit 3e017d7

Browse files
committed
Reorganise suspension of fixing custom exception messages
1 parent 15e2851 commit 3e017d7

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

cogs/command_error.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ async def on_application_command_error(
5252
error_code = error.original.ERROR_CODE
5353

5454
elif isinstance(error, CheckAnyFailure):
55+
# TODO: Remove type ignore comments once #349 is resolved # noqa: FIX002
5556
if CommandChecks.is_interaction_user_in_main_guild_failure(error.checks[0]): # type: ignore[arg-type]
5657
message = (
5758
f"You must be a member of the {self.bot.group_short_name} Discord server "

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ main = [
1414
"matplotlib>=3.10",
1515
"mplcyberpunk>=0.7",
1616
"parsedatetime>=2.6",
17-
"py-cord>=2.6,<2.6.2", # TODO: Remove version limit once #349 is resolved
17+
"py-cord>=2.6",
1818
"python-dotenv>=1.0",
1919
"python-logging-discord-handler>=0.1",
2020
"typed_classproperties>=1.1.3",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)