You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using slash command options, if the slash command is asking for a channel type, make sure that the types show up as both ints and names, so that you don't have to go into documentation while trying to do a slash command. (if this behavior still exists)
Looking into it, when using the channel type as an option, first Option recognizes that the option of class Enum, then overrides the description with the inspect.getdoc() of the enum.
Because there was no docstring for the enum classes, you would get "No description provided" even when you gave the Option a description string.
Summary
Document discord.channelType. Also make it so the argument accepts the actually channel type or string and not and int for the ID of the channel type
What is the feature request for?
The documentation
The Problem
So people stop asking is its possible and so it is more clear.
The Ideal Solution
Document it.
The Current Solution
No response
Additional Context
I would do this but I have no idea how the documentation files work
The text was updated successfully, but these errors were encountered: