Skip to content

Commit

Permalink
generatemkey: it moved
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Sep 5, 2024
1 parent f51f5f5 commit 9fd18ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ async def generatemkey(self, ctx, device: str, month: int, day: int, inquiry: st
await ctx.message.delete()
if device.lower() not in devices:
return await ctx.send(f'{ctx.author.mention} This device is not supported. Valid options are: {", ".join(i for i in devices)}')
apicall = f"https://mkey.eiphax.tech/api?platform={devices[device.lower()]}&inquiry={inquiry}&month={month}&day={day}"
apicall = f"https://mkey.nintendohomebrew.com/api?platform={devices[device.lower()]}&inquiry={inquiry}&month={month}&day={day}"
if deviceid:
apicall += f"&aux={deviceid}"
async with self.bot.session.get(apicall) as r:
Expand Down

0 comments on commit 9fd18ad

Please sign in to comment.