Vortex icon indicating copy to clipboard operation
Vortex copied to clipboard

Strikes don't automatically timeout members

Open Frostbyte0x70 opened this issue 1 year ago • 3 comments

When Vortex is configured to use timeouts instead of a muted role, triggering an automated mute punishment by giving a strike to a user does not apply any punishment, just logs the strike.

Seems like the part of the code responsible for this wasn't updated to support timeouts: https://github.com/jagrosh/Vortex/blob/e64f73b166cdb17da73c887bd1d70360207c7923/src/main/java/com/jagrosh/vortex/automod/StrikeHandler.java#L148

This section should be changed to timeout the user if no muted role is set, as well as checking for the MODERATE_MEMBERS permission instead of MANAGE_ROLES when that's the case.

Frostbyte0x70 avatar Jun 17 '23 22:06 Frostbyte0x70

Vortex hasn't been made to timeout users yet, it only recognizes if a user got timed out and logs it as a tempmute. You still have to use the Muted role until then.

ALocked1 avatar Jun 18 '23 01:06 ALocked1

It doesn't? The >>muterole command says it does use timeouts when no role is set: https://github.com/jagrosh/Vortex/blob/e64f73b166cdb17da73c887bd1d70360207c7923/src/main/java/com/jagrosh/vortex/commands/settings/MuteroleCmd.java#L52

Frostbyte0x70 avatar Jun 18 '23 09:06 Frostbyte0x70

I think jag added the text in advanced but to my knowledge Vortex is incapable of using timeouts until JDA Utils is updated

ALocked1 avatar Jun 18 '23 14:06 ALocked1