diff --git a/exts/banking.py b/exts/banking.py index 3b69588..59430ea 100644 --- a/exts/banking.py +++ b/exts/banking.py @@ -353,12 +353,14 @@ class Banking(commands.Cog): ) @commands.has_role(987770837627187250) @commands.command() - async def rss(self, ctx: CustomCtx, ids: commands.Greedy[int] = [], *, nation_names: str|None =None): + async def rss(self, ctx: CustomCtx, ids: commands.Greedy[int] = None, *, nation_names: str|None =None): """get resources of a nation in alliance Args: ids (commands.Greedy[int]): ids of nations """ + if ids is None: + ids = [] d_kit = pnwkit.QueryKit( api_key=os.getenv("pnwDILFKEY"), bot_key=os.getenv("pnwBOTKEY"),