Skip to content

Censorship

ryan edited this page Jun 24, 2017 · 10 revisions

Censorship is a feature of Dogbot that allows you to make Dogbot automatically delete messages containing things you don't want, like Discord invites and Twitch.tv links.

Censorship is managed with d?censorship (also d?cs), and requires Manage Server in order to use.

Censorship types

You may also view the full list of censorship types with the d?cs list command.

  • invites - Censors discord.gg/discordapp.com/invite invites.
    • Use case: Users might advertise their own servers.
  • videosites - Censors twitch.tv/youtube.com links.
    • IMPORTANT NOTE: This censors ALL YouTube links, including videos. Use this sparely as users may want to share YouTube videos in your server.
    • Use case: Users may advertise their Twitch stream, or YouTube channel.

Using censorship

By default, nothing is censored. In order to censor something, you must run d?cs censor <TYPE>. For example, d?cs censor invites. When Dogbot comes across a message that should be censored, it is automatically deleted, and sent to the modlog, if properly set up. To reverse censorship, just do d?cs uncensor <TYPE>.

To view which types of messages are censored, just run d?cs censoring. Alternatively, you can do d?cs censoring <TYPE> to see if a certain type of message is being censored.

Excepting roles from being censored

You may accept roles from being censored. Run d?cs except <ROLE_ID>. Important: You have to use a role ID. You can see the list of roles in your server with d?roles. View exceptions with d?cs exceptions and unexcept roles with d?cs unexcept <ROLE_ID>.

Punishments

You can configure Dogbot to automatically punish those who violate a censorship filter.

Each censorship type can be assigned a punishment. Available punishments:

  • ban - Bans the user.
  • kick - Kicks the user.

To view commands that manage punishments, run d?help censorship punish (or d?help cs p for short). Each censorship type can have a punishment attached to it. When someone violates a censorship filter, the bot will fetch which punishment is assigned to that certain filter, and carry out the punishment. If a censorship type has no punishment attached to it, no action is taken other than the message getting deleted. A censorship type can only have one punishment attached to it at a time.

Clone this wiki locally