change offshore
This commit is contained in:
1 parent
7c9222280c
commit
c1a8315145
1 file changed
+9
-3
+9
-3
@@ -94,6 +94,12 @@ class Banking(commands.Cog):
|
||||
bot_key_api_key=os.getenv("pnwACCKEY"),
|
||||
aiohttp_session=aiohttp.ClientSession(loop=self.bot.loop),
|
||||
)
|
||||
self.okit = pnwkit.QueryKit(
|
||||
api_key=os.getenv("pnwOFFKEY"),
|
||||
bot_key=os.getenv("pnwBOTKEY"),
|
||||
bot_key_api_key=os.getenv("pnwACCKEY"),
|
||||
aiohttp_session=aiohttp.ClientSession(loop=self.bot.loop),
|
||||
)
|
||||
self.WARCHEST_IDS = None
|
||||
|
||||
async def cog_load(self):
|
||||
@@ -116,7 +122,7 @@ class Banking(commands.Cog):
|
||||
@commands.command()
|
||||
async def tmilf(self, ctx: CustomCtx):
|
||||
"""
|
||||
transfer resources from MILF to DILF
|
||||
transfer resources from MILF to OFFSHORE
|
||||
"""
|
||||
# fetch resources
|
||||
resources = await self.kit.query(
|
||||
@@ -338,7 +344,7 @@ class Banking(commands.Cog):
|
||||
|
||||
async def callback(self, interaction: discord.Interaction):
|
||||
kit = pnwkit.QueryKit(
|
||||
api_key=os.getenv("pnwDILFKEY"),
|
||||
api_key=os.getenv("pnwOFFKEY"),
|
||||
bot_key=os.getenv("pnwBOTKEY"),
|
||||
bot_key_api_key=os.getenv("pnwACCKEY"),
|
||||
aiohttp_session=aiohttp.ClientSession(loop=self.bot.loop),
|
||||
@@ -1536,7 +1542,7 @@ class Banking(commands.Cog):
|
||||
|
||||
async def callback(self, interaction: discord.Interaction):
|
||||
kit = pnwkit.QueryKit(
|
||||
api_key=os.getenv("pnwDILFKEY"),
|
||||
api_key=os.getenv("pnwOFFKEY"),
|
||||
bot_key=os.getenv("pnwBOTKEY"),
|
||||
bot_key_api_key=os.getenv("pnwACCKEY"),
|
||||
aiohttp_session=aiohttp.ClientSession(loop=self.bot.loop),
|
||||
|
||||
Reference in new issue
Block a user