diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index c9575a874..da5a67bfb 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -1719,7 +1719,7 @@ class Core(commands.Cog, CoreLogic): pass @whitelist.command(name="add") - async def whitelist_add(self, ctx: commands.Context, *users: List[Union[discord.Member, int]]): + async def whitelist_add(self, ctx: commands.Context, *users: Union[discord.Member, int]): """ Adds a user to the whitelist. """ @@ -1747,9 +1747,7 @@ class Core(commands.Cog, CoreLogic): await ctx.send(box(page)) @whitelist.command(name="remove") - async def whitelist_remove( - self, ctx: commands.Context, *users: List[Union[discord.Member, int]] - ): + async def whitelist_remove(self, ctx: commands.Context, *users: Union[discord.Member, int]): """ Removes user from whitelist. """ @@ -1775,7 +1773,7 @@ class Core(commands.Cog, CoreLogic): pass @blacklist.command(name="add") - async def blacklist_add(self, ctx: commands.Context, *users: List[Union[discord.Member, int]]): + async def blacklist_add(self, ctx: commands.Context, *users: Union[discord.Member, int]): """ Adds a user to the blacklist. """ @@ -1812,9 +1810,7 @@ class Core(commands.Cog, CoreLogic): await ctx.send(box(page)) @blacklist.command(name="remove") - async def blacklist_remove( - self, ctx: commands.Context, *users: List[Union[discord.Member, int]] - ): + async def blacklist_remove(self, ctx: commands.Context, *users: Union[discord.Member, int]): """ Removes user from blacklist. """ @@ -1843,9 +1839,7 @@ class Core(commands.Cog, CoreLogic): @localwhitelist.command(name="add") async def localwhitelist_add( - self, - ctx: commands.Context, - *users_or_roles: List[Union[discord.Member, discord.Role, int]], + self, ctx: commands.Context, *users_or_roles: Union[discord.Member, discord.Role, int] ): """ Adds a user or role to the whitelist. @@ -1876,9 +1870,7 @@ class Core(commands.Cog, CoreLogic): @localwhitelist.command(name="remove") async def localwhitelist_remove( - self, - ctx: commands.Context, - *users_or_roles: List[Union[discord.Member, discord.Role, int]], + self, ctx: commands.Context, *users_or_roles: Union[discord.Member, discord.Role, int] ): """ Removes user or role from whitelist. @@ -1910,9 +1902,7 @@ class Core(commands.Cog, CoreLogic): @localblacklist.command(name="add") async def localblacklist_add( - self, - ctx: commands.Context, - *users_or_roles: List[Union[discord.Member, discord.Role, int]], + self, ctx: commands.Context, *users_or_roles: Union[discord.Member, discord.Role, int] ): """ Adds a user or role to the blacklist.