aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-04-30 08:41:01 +0100
committerGravatar Chris Lovering <[email protected]>2024-05-23 21:50:17 +0100
commit0d09161051056a8fa92e8ff35af87040e528a4e8 (patch)
treebae67efd4873cb60436e3b9f45da3c3baa3d3d6a
parentRemove space after subcommand name which meant it couldn't be called (diff)
fixup: simplify type annotation
-rw-r--r--bot/exts/moderation/alts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/alts.py b/bot/exts/moderation/alts.py
index bdee76c94..4cab1534d 100644
--- a/bot/exts/moderation/alts.py
+++ b/bot/exts/moderation/alts.py
@@ -37,7 +37,7 @@ class AlternateAccounts(commands.Cog):
return str(error.response_json)
return error.response_text
- async def alts_to_string(self, alts: list[dict[str: str | int | list[int]]]) -> list[str]:
+ async def alts_to_string(self, alts: list[dict]) -> list[str]:
"""Convert a list of alts to a list of string representations."""
lines = []
guild = self.bot.get_guild(self.bot.guild_id)