Since we can't split the permission to pin messages from the ability to delete messages, these two message context commands will allow Lt. Commanders (and above?) to do so via Aggy instead.
Also implemented a new role_check util for @commands.check() so that we can limit command access specifically by roles. You can specify allowed_roles in the command config within configuration.json to limit the command to the roles you specify by plain text name. This uses a new counter-part to generate_local_channel_list(): generate_local_role_map().
Since we can't split the permission to pin messages from the ability to delete messages, these two message context commands will allow Lt. Commanders (and above?) to do so via Aggy instead.
Also implemented a new
role_check
util for@commands.check()
so that we can limit command access specifically by roles. You can specifyallowed_roles
in the command config within configuration.json to limit the command to the roles you specify by plain text name. This uses a new counter-part togenerate_local_channel_list()
:generate_local_role_map()
.