#๐ discord.ApplicationContext
9 messages ยท Page 1 of 1 (latest)
@lilac anchor
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
i got error :
C2024-11-06T15:30:16.710675347Z Traceback (most recent call last):
g2024-11-06T15:30:16.710737424Z File "/home/user_1208450942110924872/main.py", line 160, in <module>
๏ฟฝ2024-11-06T15:30:16.711029475Z async def on_command_error(ctx: discord.ApplicationContext, error: discord.DiscordException):
_2024-11-06T15:30:16.711128733Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
g2024-11-06T15:30:16.711397921Z AttributeError: module 'discord' has no attribute 'ApplicationContext'
from this code:
@bot.event
async def on_command_error(ctx: discord.ApplicationContext, error: discord.DiscordException):
await ctx.reply(str(error), ephemeral=True)
and this error its only showing on my platform where i want put bot on 24/7
on my computer console its working idk whats wrong tbh
nvm Fixed.
@lilac anchor
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
๐ discord.ApplicationContext