Git Product home page Git Product logo

Comments (3)

FeelsBadMan1 avatar FeelsBadMan1 commented on August 21, 2024 5

hmm okey but if i click on the reaction that the bot is adding it gives me this error:

An exception has occurred while executing command `play`:
Traceback (most recent call last):
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\client.py", line 744, in invoke_command
    await coro
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\model.py", line 227, in invoke
    return await self.func(self.cog, *args, **kwargs)
  File "D:\my_python_projects\MongoDB Test\Cogs\music.py", line 491, in play
    await ctx.send(f'```ini\nAdded {track.title} to the Queue\n```', delete_after=15)
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\context.py", line 211, in send
    await self._http.post_initial_response(json_data, self.interaction_id, self.__token)
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord\http.py", line 250, in request
    raise NotFound(r, data)
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction

from discord-ext-menus.

lgaan avatar lgaan commented on August 21, 2024

It seems like you're describing an external library here? If so, there isn't really anything we can answer with since its not related to the main discord.py library.

It's best you wait for version 2.0 which will release slash command support, you can see progress at https://github.com/Rapptz/discord.py/projects/3

from discord-ext-menus.

lgaan avatar lgaan commented on August 21, 2024

hmm okey but if i click on the reaction that the bot is adding it gives me this error:

An exception has occurred while executing command `play`:
Traceback (most recent call last):
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\client.py", line 744, in invoke_command
    await coro
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\model.py", line 227, in invoke
    return await self.func(self.cog, *args, **kwargs)
  File "D:\my_python_projects\MongoDB Test\Cogs\music.py", line 491, in play
    await ctx.send(f'```ini\nAdded {track.title} to the Queue\n```', delete_after=15)
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord_slash\context.py", line 211, in send
    await self._http.post_initial_response(json_data, self.interaction_id, self.__token)
  File "D:\Downloads\Python\python 3.8.7\lib\site-packages\discord\http.py", line 250, in request
    raise NotFound(r, data)
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction

As the traceback clearly shows, this error originates from the discord_slash module, which as I said is not related to discord.py or discord-ext-menus.

from discord-ext-menus.

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.