This will solve the problem of the bot being added to a private channel for a user who doesn't have a wikimedia/miraheze cloak. Currently the only way to modify permissions for a channel is to join said channel and run @trustadd or @trustdel. This would allow modification from other channels such as #wm-bot, while still working as normal when no channel is provided in the commands.
@trusted
@trusted (channel) will return the trustlist for (channel)
@trusted still returns the trustlist for the current channel
@trustadd
@trustadd (regex/username) (role) will still grant (role) to (regex/username)
@trustadd (regex/username) (role) (channel) will grant (role) to (regex/username) in (channel) - This can only be done by root users, and the bot will say in (channel) that the trustlist was modified
trustdel
@trustdel (regex/username) still deletes (regex/username) from the trustlist in the current channel
@ trustdel (regex/username) (channel) deletes (regex/username) from the trustlist in (channel) - this can only be done by root users
This will solve the problem of the bot being added to a private channel for a user who doesn't have a wikimedia/miraheze cloak. Currently the only way to modify permissions for a channel is to join said channel and run @trustadd or @trustdel. This would allow modification from other channels such as #wm-bot, while still working as normal when no channel is provided in the commands.
@trusted @trusted (channel) will return the trustlist for (channel) @trusted still returns the trustlist for the current channel
@trustadd @trustadd (regex/username) (role) will still grant (role) to (regex/username) @trustadd (regex/username) (role) (channel) will grant (role) to (regex/username) in (channel) - This can only be done by root users, and the bot will say in (channel) that the trustlist was modified
trustdel @trustdel (regex/username) still deletes (regex/username) from the trustlist in the current channel @ trustdel (regex/username) (channel) deletes (regex/username) from the trustlist in (channel) - this can only be done by root users