Skip to content

Strikes don't automatically timeout members #154

Open
@Frostbyte0x70

Description

@Frostbyte0x70

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:

if(muted==null || mem==null || !moderator.getGuild().getSelfMember().canInteract(muted))

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions