ZeroTwoBot icon indicating copy to clipboard operation
ZeroTwoBot copied to clipboard

A Discord Bot based off of Discord.JS and the best girl from DiTF (not to be confused with ZeroTwo-Bot from https://zerotwo.bot)

ZeroTwoBot

Designed and created by:

pinnouse

Build Status Dependencies Code Factor

ZeroTwo Website Card ZeroTwo Server Card Zero Two Art: ErosPanda via Pixiv

Table of Contents

Description
Features
Self-Hosting
Contact
License

Description

You have come across my wonderful, beautiful Discord bot. Based off the star darling in the anime: Darling in the FranXX, this bot is packed to the brim with unfinished functionality.

Working and functioning, not like the super bestest, but it sorta kinda maybe works.
Built using the DiscordJS library.

Features

(or lack thereof)

  • Music (youtube)
  • Chatbot
  • 8 Ball
  • Anime (AniList)
  • Osu! (Players, WIP)
  • League of Legends (WIP)

For a full list of commands, visit the website: here

Self-Hosting

Installation

Prerequisites:

Configuration

The bot requires a configuration file named config.json to be placed in the root directory.
Example (do not include the "// ..."):

{
    "prefix"      : "?", //Default prefix, change if you want
    "homeUrl"     : "OPTIONAL_HOME_URL", //Website URL for RichEmbed author links
    "token"       : "DISCORD_BOT_TOKEN", //https://discordapp.com/developers
    "gapi"        : "GOOGLE_API_KEY", //YouTube functionality
    "oapi"        : "OSU_API_KEY", //osu! functionality
    "owners"      : ["ARRAY_OF_OWNER_IDS (can be obtained by doing '\@username#tag'"], //So you can use the kill command
    "chatbotUrl"  : "https://chat.owo.soy", //Configured like Amadeus (https://github.com/pinnouse/amadeus)
    "chatbotAuth" : "Basic YOUR_AUTH_TOKEN", //Contact to inquire about obtaining a token
    "serverPort"  : 8080, //Port for the builtin backend HTML server
    "accessKey"   : "SECRET", //Set a key to keep the bot server safe, passed as a GET 'key=' argument
    "defaultLang" : "en" //Set to whichever language is supported (found in ./locales/)
}

Testing

If testing the bot, the script you should use is: npm run dev
Note: This requires you to have in your config.json:

{
    ...
    "testToken": "DISCORD_BOT_TOKEN"
    ...
}

If no testToken is specified, the token value will be used instead.

Contact

Discord (main contact): pinnouse#7766

Support Channel: invite

Home Website: link

License

GPL v3

license