Red-DiscordBot icon indicating copy to clipboard operation
Red-DiscordBot copied to clipboard

Mutes add timeouts

Open TrustyJAID opened this issue 3 years ago • 3 comments

Description of the changes

Add timeouts support to the Mutes cog. This changes the default server mute behavior to utilize timeouts while maintaining role mutes if they have been previously setup. This adds a new [p]timeout command that exclusively uses discords built in timeout feature. This also allows the [p]activemutes command to list the currently muted and timed out users in the server. This also adds some models that make it easier for managing typed responses for internal muting methods.

Have the changes in this PR been tested?

Yes

TrustyJAID avatar Mar 07 '22 15:03 TrustyJAID

Could we make it so that you can choose wether to use timeouts or mutes by using like [p]muteset usetimeouts, and having the command stay [p]mute, instead of having it be [p]timeout?

BlizzardTheWolf avatar Nov 19 '23 14:11 BlizzardTheWolf

Could we make it so that you can choose wether to use timeouts or mutes by using like [p]muteset usetimeouts, and having the command stay [p]mute, instead of having it be [p]timeout?

I think we should have a [p]timeout command, but a setting could redirect [p]mute to [p]timeout if server's admins prefer this option to a real role.

AAA3A-AAA3A avatar Nov 19 '23 14:11 AAA3A-AAA3A

Yeah that's a good idea!

Could we make it so that you can choose wether to use timeouts or mutes by using like [p]muteset usetimeouts, and having the command stay [p]mute, instead of having it be [p]timeout?

I think we should have a [p]timeout command, but a setting could redirect [p]mute to [p]timeout if server's admins prefer this option to a real role.

BlizzardTheWolf avatar Nov 19 '23 15:11 BlizzardTheWolf

@BlizzardTheWolf @AAA3A-AAA3A, the PR currently replaces the backup behavior for [p]mute when a mute role is not configured to use timeouts, rather than channel overrides. The [p]timeout command also exists for explicitly timing out a user, regardless of whether or not [p]mute is configured to use a role.

Flame442 avatar Mar 26 '24 23:03 Flame442