Skip to content

Add another user to CommandHandler.filters in runtime #2326

Answered by Bibo-Joshi
ekiauhce asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Filters.user has add/remove_user methods which can be used to (dis)allow users at runtime. You may also be interested in the Roles setup over at ptbcontrib, which gives a full blown role based access management.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ekiauhce
Comment options

Answer selected by ekiauhce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants