Filter Invites
Block invites from being sent.
Last updated
Block invites from being sent.
Last updated
Replace [prefix] with your server's prefix.
Enabling the invite filter will delete messages that contain Discord server invites. To enable the filter, run the following command:
Once you run that command, pretend 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.
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.
You can allow invites to be sent in certain channels. To do this, run the following command:
Once you run that command, users will be able to send invites in the channel specified. pretend will send a confirmation message telling you that it has whitelisted that channel.
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 Unwhitelist Channels to learn how to disable this.
You can unwhitelist a whitelisted channel to disallow members from sending invites in that channel. To do this, run the following command:
Once you run that command, users will no longer able to send invites in the channel specified. pretend will send a confirmation message telling you that it has unwhitelisted that channel.
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 Whitelist Channels to learn how to enable this.
You can get a list of all whitelisted channels by using the following command:
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 Whitelist Channels to learn how to whitelist channels from the filter.
You can disable the invite filter by using the following command:
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, pretend will send an embed confirming that the invite filter has been disabled.