permissions module¶
Note
This module is imports as from .. import *
. This means that there
is no need to import it separately or use ezbotf.permissions.Permissions
.
You can simply use ezbotf.Permissions
as example.
Permissions¶
- class ezbotf.Permissions¶
Permission levels for the users & commands
- Variables:
Any – Permissions for any user (including users, that doesn’t have no one permission)
User – Permission for User level
AdvUser – Permission for Advanced User level
Trusted – Permission for trusted users. It recommended to use, if command may be used as spam or DoS
Admin – Permission for Admin level. It recommended to use, when command doing administrative actions
Danger – Permission for Danger level. It recommended to use, when command may harm to framework, system or use danger functions, commands, etc. as example -
eval()
,exec()
Owner – Permission for Owner level. It recommended to use, if command is changing some framework options