Fake Permissions
Give roles powers that only work through khari.
Fake permissions
Fake permissions give a role a permission that only works through khari, never as a real Discord power. A Trial Mod role can get moderate_members to use ,timeout without being able to time people out in Discord itself.
,fakepermissions @role ban_membersgives it, or takes it away if the role already has it. Names match Discord's own, likekick_membersandmanage_messages.- Fake
administratorgrants every fake permission, but never bot settings. ,modlimitsets limits for people using fake permissions, like uses per hour and the longest timeout. Anti-nuke still applies to them.- Fake permissions can't be given to @everyone or integration roles.
Hierarchy
Nobody can moderate someone with an equal or higher role, the server owner, or the bot. Giving a role only needs the role to be below yours. Taking a role away also needs you to outrank the person.
Choosing who uses what
,restrictcommand ban @rolelimitsbanto that role, on top of its usual permission. Run it again to lift it.,disablecommandand,enablecommandturn a command off and on, server-wide or in one channel.,disablemoduleand,enablemoduledo the same for a whole category, like Utilities.,ignoremakes khari ignore commands from a channel or member.
Fake permissions commands
,fakepermissions <role> <permission>Gives a role a bot-only permission, or takes it away if it has it. Never a real Discord power.
,fakeperms, ,fp,fakepermissions add <role> <permission>Gives a role a bot-only permission, like ban_members.
,fakepermissions listShows every role's fake permissions.
,fakepermissions remove <role> <permission>Takes a fake permission away from a role.
,fakepermissions resetClears every fake permission in this server.
,modlimitLimits for people using fake permissions: uses per hour, and the longest timeout or ban.
,modlimit listShows every limit, and the defaults.
,modlimit remove <role> <"warn"|"timeout"|"untimeout"|"kick"|"ban"|"unban"|"mute"|"unmute"|"imagemute"|"unimagemute"|"reactionmute"|"unreactionmute">Removes a role's limit, so the default applies again.
,modlimit set <role> <"warn"|"timeout"|"untimeout"|"kick"|"ban"|"unban"|"mute"|"unmute"|"imagemute"|"unimagemute"|"reactionmute"|"unreactionmute"> <per_hour> [max_duration]Sets a role's limit for one action.
khari