fix rss cmd logic

This commit is contained in:
un1xx committed 2024-09-03 22:53:24 +05:30
1 parent 11558bf558
commit 1ef882a760
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -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(
+1 -1
View File
@@ -14,4 +14,4 @@ class Emojis:
oil = "<:oil:1220371873267843143>"
coal = "<:coal:1220371877013229619>"
money = "<:dollarsym:1220378339970252841>"
credits = "<:credits:1280569595366867066>"
credits = "<:credits:1280578712286269581>"