Skip to content

A simple discord bot designed to keep track of however long a server can go without referencing a banned word.

License

Notifications You must be signed in to change notification settings

matthew-robertson/banned-word-tracker

Repository files navigation

Discord Bots Build Status become a patron

banned-word-tracker

A simple discord bot designed to keep track of however long a server can go without referencing a banned word.

The bot can be added to your server here.

I have a support discord set up here.

The bot monitors all messages for a message like the word the server has banned (specifically, case-insensitive, accent-insensitive, ensuring there are word-breaks on either side of the phrase). The bot will reset the server's timer if it finds a message containing a match, and call the user out publically. After calling out one user, the bot will silently reset the counter until a customizable amount of time has passed.

The default banned word is "defaultbannedword", and the default timeout is half an hour. The bot provides a few commands which are available to all users:

  • "!vthelp" - List all available commands.
  • "!vt" - Will list how long the server has gone without saying each currently banned word.
  • "!vtct" - Will list how long the timeout is set for, and when/if another issue can be issued for each banned word.

The bot also provides a few commands available only to server admins:

  • "!vtsilence" - Prevent the bot from sending messages calling out users.
  • "!vtalert" - Allow the bot to send messages to call out users.
  • "!vtban [word_to_ban]" - Change the currently banned word. For example, "!vtban bepis" will ban the word "bepis". If multiple words are mentioned, only the first one will be banned.
  • "!vtdelay hh:mm:ss" - Change the bot's timeout for the server to the specified amount. For example, "!vtdelay 23:59:59" will set the minimum time between callouts to just under a full day.

About

A simple discord bot designed to keep track of however long a server can go without referencing a banned word.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages