Open Inheritanc-e opened 3 years ago
We should use a decorator instead of inwhitelistcheckfailure as it's not callable. This is an example of how it would be used
inwhitelistcheckfailure
@channel_check(Channels.bot_commands) @commands.command(name='something') async def some_command(ctx): ...
If the bypass_role is not given then bypass_role will be equal to a tuple containing the ids of Supreme Cucumber, Council, and lords.
bypass_role
We should use a decorator instead of
inwhitelistcheckfailure
as it's not callable. This is an example of how it would be usedIf the
bypass_role
is not given thenbypass_role
will be equal to a tuple containing the ids of Supreme Cucumber, Council, and lords.