Skip to content
Official Discord moderation bot for the /r/anime Discord and others
Branch: master
Clone or download
Latest commit cf5c54c Sep 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci okay if this one doesn't work then we're fucked Nov 1, 2018
commands joke command now dm-able Sep 22, 2019
config PlayingMsg is now rotatable and other tweaks Sep 21, 2019
misc Changed green embed color to pink Sep 22, 2019
web Fixed many db init deadlocks and removed test bot token Sep 10, 2019
.gitignore Added possible test values for broken stats command Aug 14, 2019
LICENSE initial Jul 18, 2018 bugfix Aug 23, 2019
config.json fixed config file playingmsg Sep 21, 2019
main.go Disabled auto-spambot ban for non-r/anime servers Sep 15, 2019
main_test.go GoFmt all go files Aug 1, 2019

ZeroTsu is a Discord all-purpose BOT with a focus on Moderation

zero two

  • Channel lock via dynamic permission change that remembers older permissions

  • Anime Schedule that prints what anime are airing when SUBBED

  • Extensive member system that tracks past member usernames, nicknames, mod-issued warnings, kicks, bans, whether in the server, timestamps for punishments, server join date and account creation date

  • Punishment system where you can issue warnings, kick or ban people for a set period of time with the bot and log that using the member system, or remove those punishments and unban. Also shows timestamps for all of those. Automatically unbans for temp bans.

  • Website verification system for reddit account linking and confirmation before being able to use the server [r/anime only]

  • Automated channel creation with various parameters you can give it to make them hidden (opt-in), temporary (auto deletes after a set period of time) and other

  • Optional automated channel creation via non-mod started vote for a temp (auto deleted) channel with a minimum requirement of votes and hard cap of 3 at a time

  • Tracks server emoji and message stats for normal and opt-in channels. User gain/loss per day

  • Regex-facilitated filter for phrases.

  • Give roles using reactions or just join/leave commands. Tracks opt-in roles between two dummy roles.

  • Sort all BOT created opt-in roles between the two dummy roles alphabetically

  • Sort a category's channels alphabetically

  • Customizable Reddit RSS system that will post a reddit thread based on its settings. Can set for a specific author, sub, post type (rising, hot, new) and title. Can also auto pin/unpin that message in a channel

  • BOT say/edit commands that any mod can use to send or edit important messages with the BOT, or pretend they're a ROBOT

  • Automatically give roles to a user when they join a voice channel, and remove them when they leave it. Fully customizable with multiple roles per voice channel and vice versa.

  • RemindMe feature where it either messages you or pings you with a message you've set after a period of time you've set

  • Optional Waifu system where you can add names to a list, and each user can roll for a name only once. Users can trade them.

How to install:

  1. Download in a folder.

  2. Edit config.json with your own values. This is mostly if you're using the Website Verification which requires more setup

    BotID is the ID of the BOT you are using the website. Needed if using Website, otherwise Optional
    ServerID is the ID of the server the BOT is going to using the website on. Needed if using Website, otherwise Optional
    BotLogID is the ID of the server on which you're using website's bot log channel. Needed if using Website, otherwise Optional
    Website is the address/ip+:port of the website. Optional
    PlayingMsg is whatever "Playing" message you want the BOT to display. Owner can change it with the playingmsg command. Optional
    OwnerID is the user ID of the person with Owner level BOT permissions. Optional
  3. Make a file called configsecrets.json in the folder config.json is in and set this up the following way. It's for Website/Verification. Skip it if not using that, or use it if you receive an error about it missing

  "RedditName": "redditAppName",
  "RedditSecret": "RedditAppSecret",
  "DiscordSecret": "DiscordBOTSecret"
  1. Set your "ZeroTsuToken" environment variable to the BOT token (either hidden on the system env or in config.go ReadConfig func with os.Setenv("ZeroTsuToken", "TOKEN"))
  2. Compile in your favorite IDE or compiler with "go build" (or type "set GOOS=[Preferred OS]" to change OS first (like linux) and then "go build".)
  3. Invite BOT to server and give it an admin role or equivalent
  4. Start the BOT as admin and use
  5. Use the .hset command to set up the bot for your server

If you have discovered any bugs or have questions, please message Apiks or raise an issue.

If you use the BOT successfuly, please also let Apiks know

You can’t perform that action at this time.