serenity
HomeCommandsStatusEmbed BuilderFAQ
  • Introduction
  • Get started
    • Welcome & Leave
      • Setting up Welcome
      • Setting up Leave
      • Setting up JoinDM
    • Moderation Setup
    • Lastfm
  • Security Setup
    • Antinuke
      • antinuke rolecreate
      • antinuke roledelete
      • antinuke editrole
      • antinuke giverole
      • antinuke channelcreate
      • antinuke channeldelete
      • antinuke kick
      • antinuke ban
      • antinuke massmention
      • antinuke newaccounts
      • antinuke spammer
      • antinuke botadd
    • Automod
      • Filter Invites
      • Filter Words
      • Filter Joins
    • Fake Permissions
  • Server Setup
    • Roles
      • Reaction Roles
      • Booster Roles
      • Button Roles
    • VoiceMaster
    • Counters
    • Tickets
    • Starboard
  • Embeds
    • Content in Embeds
      • Parameters
      • Variables
    • Writing Embed Code
    • Using Webhooks
    • Pagination
  • Miscellaneous
    • Antinuke Punishments
    • Fake Permissions
    • Donator Perks
    • Website
    • Support Server
Powered by GitBook
On this page
  • Filter Invites Enable
  • Whitelist & Unwhitelist
  • Whitelist Channels
  • Unwhitelist Channels
  • Whitelisted Channels
  • Disable the Invites Filter
  1. Security Setup
  2. Automod

Filter Invites

Block invites from being sent.

PreviousAutomodNextFilter Words

Last updated 9 months ago

Replace [prefix] with your server's prefix.

Filter Invites Enable

Enabling the invite filter will delete messages that contain Discord server invites. To enable the filter, run the following command:

[prefix]filter invites enable

Once you run that command, serenity will prompt you with an embed confirming it enabled the invite filter. Invites can no longer be sent.

People with the Manage Server permission can bypass this filter.

Already Enabled

If you get a message saying "The filter for Discord invites is already enabled", it means what it says. The filter for Discord invites is already enabled in your server.

Whitelist & Unwhitelist

Whitelist Channels

You can allow invites to be sent in certain channels. To do this, run the following command:

[prefix]filter invites whitelist [channel]

Once you run that command, users will be able to send invites in the channel specified. serenity will send a confirmation message telling you that it has whitelisted that channel.

Already Whitelisted

Unwhitelist Channels

You can unwhitelist a whitelisted channel to disallow members from sending invites in that channel. To do this, run the following command:

[prefix]filter invites unwhitelist [channel]

Once you run that command, users will no longer able to send invites in the channel specified. serenity will send a confirmation message telling you that it has unwhitelisted that channel.

Not Whitelisted

Whitelisted Channels

You can get a list of all whitelisted channels by using the following command:

[prefix]filter invites whitelisted

No exempted channels

Disable the Invites Filter

You can disable the invite filter by using the following command:

[prefix]filter invites disable

Running this command will remove the invite filter from every channel.

All members will be able to send invites in your server.

Once you have ran this command, serenity will send an embed confirming that the invite filter has been disabled.

If you get a message saying "This channel is already exempt", it means what it says. The filter for Discord invites does not apply for that channel. Read to learn how to disable this.

If you get a message saying "This channel is not whitelisted", it means what it says. The filter for Discord invites is already enabled in that channel. Read to learn how to enable this.

If you get a message saying "No exempted channels for invites filter", it means what it says. The filter for Discord invites applies for all channels. Read to learn how to whitelist channels from the filter.

Unwhitelist Channels
Whitelist Channels
Whitelist Channels