> For the complete documentation index, see [llms.txt](https://classic.invitelogger.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://classic.invitelogger.me/japanese/modules/moderation-1/strikes.md).

# Strikes

## What are strikes?

Strikes are points that users get for violating server rules. Every time the user receives a strike, he gets a personal message telling him how many strikes he has and why he got them. When a user reaches a certain amount of strikes, he will receive a **punishment**.

## What are violations?

Violations are auto-moderation rules that you can enable or disable on your server. Currently, the following violations exist:

* [invites](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#invites)
* [links](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#links)
* [words](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#words)
* [allCaps](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#allcaps)
* [duplicateText](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#duplicatetext)
* [quickMessages](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#quickmessages)
* [mentionUsers](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#mentionusers)
* [mentionRoles](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#mentionroles)
* [emojis](https://app.gitbook.com/s/-MMyu2t4hjYUBcueMz9h-2459025041/modules/moderation-1/strikes.md#emojis)

For each of those violations, you have to define how many strikes will be given if someone violates it. You can do that by using the `strikeconfig` command:

```
!strikeconfig <violationType> <numberOfStrikes>
```

For example, if you want users to get `2` strikes for violating the `invites` rule, then you would use the following command:

```
!strikeconfig invites 2
```

You can check the current config by doing:

```
!strikeconfig
```

## Detailed list of violations

### invites

This violation is triggered whenever the user posts an invite link to another discord server.

Example:

`!strikeconfig invites 1`

To delete the strike config:

`!strikeconfig invites 0`

**Config options:**

* [autoModInvitesEnabled](https://docs.invitemanager.co/bot/other/configs#automodinvitesenabled)

### links

This violation is triggered whenever the user posts a link.

Example:

`!strikeconfig links 1`

To delete the strike config:

`!strikeconfig links 0`

**Config options:**

* [autoModLinksEnabled](https://docs.invitemanager.co/bot/other/configs#automodlinksenabled)
* [autoModLinksWhitelist](https://docs.invitemanager.co/bot/other/configs#automodlinkswhitelist)
* [autoModLinksBlacklist](https://docs.invitemanager.co/bot/other/configs#automodlinksblacklist)
* [autoModLinksFollowRedirects](https://docs.invitemanager.co/bot/other/configs#automodlinksfollowredirects)

### words

This violation is triggered whenever the user posts blacklisted words.

Example:

`!strikeconfig words 1`

To delete the strike config:

`!strikeconfig words 0`

**Config options:**

* [autoModWordsEnabled](https://docs.invitemanager.co/bot/other/configs#automodwordsenabled)
* [autoModWordsBlacklist](https://docs.invitemanager.co/bot/other/configs#automodwordsblacklist)

### allCaps

This violation is triggered whenever the user posts a message that is mostly in CAPS.

Example:

`!strikeconfig allCaps 1`

To delete the strike config:

`!strikeconfig allCaps 0`

**Config options:**

* [autoModAllCapsEnabled](https://docs.invitemanager.co/bot/other/configs#automodallcapsenabled)
* [autoModAllCapsMinCharacters](https://docs.invitemanager.co/bot/other/configs#automodallcapsmincharacters)
* [autoModAllCapsPercentageCaps](https://docs.invitemanager.co/bot/other/configs#automodallcapspercentagecaps)

### duplicateText

This violation is triggered whenever the user posts the same text multiple times.

Example:

`!strikeconfig duplicateText 1`

To delete the strike config:

`!strikeconfig duplicateText 0`

**Config options:**

* [autoModDuplicateTextEnabled](https://docs.invitemanager.co/bot/other/configs#automodduplicatetextenabled)
* [autoModDuplicateTextTimeframeInSeconds](https://docs.invitemanager.co/bot/other/configs#automodduplicatetexttimeframeinseconds)

### quickMessages

This violation is triggered whenever the user quickly posts messages.

Example:

`!strikeconfig quickMessages 1`

To delete the strike config:

`!strikeconfig quickMessages 0`

**Config options:**

* [autoModQuickMessagesEnabled](https://docs.invitemanager.co/bot/other/configs#automodquickmessagesenabled)
* [autoModQuickMessagesNumberOfMessages](https://docs.invitemanager.co/bot/other/configs#automodquickmessagesnumberofmessages)
* [autoModQuickMessagesTimeframeInSeconds](https://docs.invitemanager.co/bot/other/configs#automodquickmessagestimeframeinseconds)

### mentionUsers

This violation is triggered whenever the user mentions mutliple users.

Example:

`!strikeconfig mentionUsers 1`

To delete the strike config:

`!strikeconfig mentionUsers 0`

**Config options:**

* [autoModMentionUsersEnabled](https://docs.invitemanager.co/bot/other/configs#automodmentionusersenabled)
* [autoModMentionUsersMaxNumberOfMentions](https://docs.invitemanager.co/bot/other/configs#automodmentionusersmaxnumberofmentions)

### mentionRoles

This violation is triggered whenever the user mentions mutliple roles.

Example:

`!strikeconfig mentionRoles 1`

To delete the strike config:

`!strikeconfig mentionRoles 0`

**Config options:**

* [autoModMentionRolesEnabled](https://docs.invitemanager.co/bot/other/configs#automodmentionrolesenabled)
* [autoModMentionRolesMaxNumberOfMentions](https://docs.invitemanager.co/bot/other/configs#automodmentionrolesmaxnumberofmentions)

### emojis

This violation is triggered whenever the user posts multiple emojis.

Example:

`!strikeconfig emojis 1`

To delete the strike config:

`!strikeconfig emojis 0`

**Config options:**

* [autoModEmojisEnabled](https://docs.invitemanager.co/bot/other/configs#automodemojisenabled)
* [autoModEmojisMaxNumberOfEmojis](https://docs.invitemanager.co/bot/other/configs#automodemojismaxnumberofemojis)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://classic.invitelogger.me/japanese/modules/moderation-1/strikes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
