diff options
author | 2024-04-30 08:41:01 +0100 | |
---|---|---|
committer | 2024-05-23 21:50:17 +0100 | |
commit | 0d09161051056a8fa92e8ff35af87040e528a4e8 (patch) | |
tree | bae67efd4873cb60436e3b9f45da3c3baa3d3d6a | |
parent | Remove space after subcommand name which meant it couldn't be called (diff) |
fixup: simplify type annotation
-rw-r--r-- | bot/exts/moderation/alts.py | 2 |
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) |