Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

bot is not working for me anymore #79

Open
torealise opened this issue May 30, 2023 · 3 comments
Open

bot is not working for me anymore #79

torealise opened this issue May 30, 2023 · 3 comments

Comments

@torealise
Copy link

It was working few weeks ago but today i started it and it is not working. Is it a problem on my side or everyone got it?

@torealise torealise changed the title bot is not working anymore bot is not working for me anymore May 30, 2023
@nihs269
Copy link

nihs269 commented Jun 1, 2023

Can you show more specific?

@tizzle
Copy link

tizzle commented Jun 6, 2023

Same here,

i found that the MidJourney token had changed (i'm on a monthly subscription), but i still get an error, while the bot now proxies properly:

Ignoring exception in command mj_imagine:
Traceback (most recent call last):
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/commands/core.py", line 124, in wrapped
    ret = await coro(arg)
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/commands/core.py", line 980, in _invoke
    await self.callback(ctx, **kwargs)
  File "/Users/.../Documents/_DEVELOPER/discord/MidJourney-Wrapper/main.py", line 31, in mj_imagine
    await ctx.respond(
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/commands/context.py", line 282, in respond
    return await self.interaction.response.send_message(
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/interactions.py", line 825, in send_message
    await self._locked_response(
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/interactions.py", line 1090, in _locked_response
    await coro
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/webhook/async_.py", line 217, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 40060): Interaction has already been acknowledged.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/bot.py", line 1114, in invoke_application_command
    await ctx.command.invoke(ctx)
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/commands/core.py", line 375, in invoke
    await injected(ctx)
  File "/Users/.../.pyenv/versions/3.10.9/lib/python3.10/site-packages/discord/commands/core.py", line 132, in wrapped
    raise ApplicationCommandInvokeError(exc) from exc
discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: HTTPException: 400 Bad Request (error code: 40060): Interaction has already been acknowledged.

@torealise
Copy link
Author

so is there a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants