Another great video. Just wanted to point out that you can get your channel ID by right-clicking on the channel and choosing "Copy ID" at the bottom. (Developer Mode must be enabled in advanced settings afaik.)
When I decorate the command function with `bot.tree.command` it says that no command is found, but when I decorate with `bot.command` it provides a context object instead of an interaction object. what's the proper way to do this?
just curious, I've seen you do it in multiple other videos, but you are adding an attribute to the class when you specify `feedback_modal.user`, but shouldn't that take place in the `__init__()`? Or is it still safe to do so as you are?
when i run the code i got this error: Traceback (most recent call last): File "c:\Users\gogol\Desktop\bot.py", line 10, in class FeedbackModal(discord.ui.Modal, title="Ta des suggestions ?"): File "c:\Users\gogol\Desktop\bot.py", line 11, in FeedbackModal fb_title = discord.ui.TextInput(style=discord.TextStyle.short,label="Titre",required=False,placeholder="Donne moi un titre wesh") AttributeError: module 'discord.ui' has no attribute 'TextInput' anyone can help me please ?
omg thank you so much for this! i have been trying to find a tutorial for these for… way too long, and you randomly popped up on my home page
Another great video. Just wanted to point out that you can get your channel ID by right-clicking on the channel and choosing "Copy ID" at the bottom. (Developer Mode must be enabled in advanced settings afaik.)
Thank you for sharing
When I decorate the command function with `bot.tree.command` it says that no command is found, but when I decorate with `bot.command` it provides a context object instead of an interaction object. what's the proper way to do this?
just curious, I've seen you do it in multiple other videos, but you are adding an attribute to the class when you specify `feedback_modal.user`, but shouldn't that take place in the `__init__()`? Or is it still safe to do so as you are?
is it possible to add drop down in the menu ?
Hey, how do I make that debug command?
when I run the code, I keep getting this error:
AttributeError: type object 'TextInput' has no attribute 'short'
I followed your tutorial exactly D:
it's textstyle
@@Verfi sorry I figured it out ages ago, thanks tho
when i run the code i got this error:
Traceback (most recent call last):
File "c:\Users\gogol\Desktop\bot.py", line 10, in
class FeedbackModal(discord.ui.Modal, title="Ta des suggestions ?"):
File "c:\Users\gogol\Desktop\bot.py", line 11, in FeedbackModal
fb_title = discord.ui.TextInput(style=discord.TextStyle.short,label="Titre",required=False,placeholder="Donne moi un titre wesh")
AttributeError: module 'discord.ui' has no attribute 'TextInput'
anyone can help me please ?