Replies: 1 comment 1 reply
-
For your question itself, you cannot use it outside of a command as it is a special argument which you must put in the command method. If you wish to pass it into another method and call that method inside of the command and use it that way, that would still work however not in events. If you wanted to use it in an event: each event has its own parameters where data about the events go, if you look at those in the documentation (find the event reference here) you will probably find what you want if need it for events |
Beta Was this translation helpful? Give feedback.
-
How do i use ctx out side a command, i want to use ctx.author.id in my self reaction role command
Beta Was this translation helpful? Give feedback.
All reactions