What is Infraction?

An infraction is a recorded violation of server rules or staff policies. In Swift, infractions help management track disciplinary actions such as warnings, strikes, notices, demotions, and terminations, ensuring a structured and transparent moderation system.

How do I configure the Infraction module?

To set up the Infraction module, first use the /config command to access the configuration panel. From there, you’ll see a “Select Plugin” dropdown menu. Click the menu and choose the Infraction module and click “Enable” button. Once enabled, you will have the option to configure various settings, including the infraction log channel where all infractions will be recorded, as well as a custom embed to personalize the appearance of infraction messages.

You must configure the staff role and management under the guild settings options (ONLY Owners can use this option).

User’s must have the Management Role to execute/manage an Infraction

Commands

Infraction Issue

Records a disciplinary infraction for a specified user, storing details such as the reason, type, and issuing staff member in their moderation history.

Command Parameters

user
user
required

Select the staff member receiving the infraction.

reason
string
required

Provide the reason for issuing the infraction.

type
string
required

Specify the type of infraction (e.g., warning, strike, suspension).

evidence
attachment

Attach any relevant files or media that support the infraction claim. This could include screenshots, logs, videos, or any other materials that provide clear documentation of the incident. Ensure the evidence is directly related to the specific infraction, whether it’s a warning, strike, suspension, or any other form of disciplinary action.

Infraction View

Displays a list of all infraction records associated with a specific user, including details such as reason, type, and issuing staff member.

Command Parameters

user
user
required

Select the staff member whose infraction records you want to view.

Infraction Remove

Removes a specific infraction record linked to a user, allowing staff to correct or revoke previously issued infractions.

Command Parameters

user
user
required

Select the user whose infraction you want to remove.

infractionId
string
required

Provide the ID of the infraction you wish to remove.