Giter Site home page Giter Site logo

pinnouse / zerotwobot Goto Github PK

View Code? Open in Web Editor NEW
17.0 6.0 8.0 2.14 MB

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

Home Page: https://z2b.xyz

License: GNU General Public License v3.0

JavaScript 97.02% Python 2.98%
discord discord-bot darling anime youtube osu chatbot nodejs discord-js bot

zerotwobot's Introduction

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

zerotwobot's People

Contributors

dependabot[bot] avatar pinnouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zerotwobot's Issues

Modular Refactor

Your events and functions could be spread across multiple files instead of all scrunched into one big bot.js file.

e.g. ready.js message.js could be in a folder called Events
e.g. All your functions in bot.js and possibly other files could be in a file called functions.js under a folder called Modules

Let me know if you want this and I'll get started on it when I have time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.