Code Monkey home page Code Monkey logo

Comments (3)

nihs269 avatar nihs269 commented on June 2, 2024

Can you show more specific?

from midjourney-wrapper.

tizzle avatar tizzle commented on June 2, 2024

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.

from midjourney-wrapper.

torealise avatar torealise commented on June 2, 2024

so is there a solution?

from midjourney-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.