fix rss cmd logic
This commit is contained in:
1 parent
11558bf558
commit
1ef882a760
2 files changed
+3
-4
No files matched your search
+2
-3
@@ -359,8 +359,6 @@ class Banking(commands.Cog):
|
||||
Args:
|
||||
ids (commands.Greedy[int]): ids of nations
|
||||
"""
|
||||
if not ids:
|
||||
ids = FILL
|
||||
d_kit = pnwkit.QueryKit(
|
||||
api_key=os.getenv("pnwDILFKEY"),
|
||||
bot_key=os.getenv("pnwBOTKEY"),
|
||||
@@ -377,7 +375,8 @@ class Banking(commands.Cog):
|
||||
"id"
|
||||
)
|
||||
ids.append(result.nations[0].id)
|
||||
|
||||
if not ids:
|
||||
ids = FILL
|
||||
for id in ids:
|
||||
kit = self.kit if (id != 103764) else d_kit
|
||||
nation = await kit.query(
|
||||
|
||||
Reference in new issue
Block a user