Integration

This commit is contained in:
henceiusegentoo 2023-09-20 00:00:02 +02:00
parent 3005032489
commit 3a4b866eec
2 changed files with 6 additions and 4 deletions

View file

@ -127,6 +127,8 @@ async def reset_key(interaction):
account = await get_account(interaction) account = await get_account(interaction)
if not account: if not account:
return interaction.message.reply("""You don't have an account yet!""")
print(account) print(account)
interaction.message.reply("""1""")

View file

@ -126,7 +126,7 @@ async def music(interaction: nextcord.Interaction):
@bot.slash_command(description='Get yourself a new API key') @bot.slash_command(description='Get yourself a new API key')
async def resetkey(interaction: nextcord.Interaction): async def resetkey(interaction: nextcord.Interaction):
... return await accounts.reset_key(interaction)
async def status_update(): async def status_update():
guild = bot.get_guild(int(os.getenv('DISCORD_GUILD'))) guild = bot.get_guild(int(os.getenv('DISCORD_GUILD')))