Decorator that passes an argument? #2634
Closed
probablyjassin
started this conversation in
General
Replies: 1 comment
-
Well, all function arguments are interpreted as command options - as such, what you're attempting isn't supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a decorator that passes a variable down to the slash command it's being used on.
but when i use it and add the variable like this:
pycord thinks it's a variable for user input on the slash command and also gives me this error:
Beta Was this translation helpful? Give feedback.
All reactions