Add another user to CommandHandler.filters in runtime #2326
-
I want to achieve behavior like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
Bibo-Joshi
Jan 19, 2021
Replies: 1 comment 1 reply
-
Hey |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ekiauhce
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey
Filters.user
hasadd/remove_user
methods which can be used to (dis)allow users at runtime. You may also be interested in theRoles
setup over at ptbcontrib, which gives a full blown role based access management.