Git Product home page Git Product logo

hemisemidemipresent / cyberquincy Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 23.0 19.38 MB

Cyber Quincy is the most popular btd6 discord bot. From providing infor on towers, heroes, rounds, maps, and calculating cash from rounds, and hero levelling. It also includes info for BTD6 Index

License: GNU Affero General Public License v3.0

JavaScript 100.00%
discord-bot cyber-quincy discord-server btd6 btd discord

cyberquincy's Introduction

Cyber Quincy

CodeFactor PRs stars forks

art by u/Projekt_Knyte

Please give the repository a ⭐️!

Cyber Quincy is the most polished BTD6 discord bot from providing information on towers, hero, rounds, maps, as well as calculating cash from rounds and hero levelling. (and more)

Links

For help, simply use /help

Basic local test guide

note: all credentials will be in ./1/config.json (you need to create this file yourself), fill in the json accordingly (as per ./1/template.json).

  1. make a new discord bot in discord dev page, and copy the token into ./1/config.json as token.

  2. you need credentials for google-spreadsheet (I recommend this video to set up credentials and paste the credentials in ./1/config.json). (Not strictly necessary, but many commands require it.)

  3. to register slash commands type node register

  4. to run type node server, or to run with sharding run node index

Project Info

  • this project uses CommonJS modules (no import or export, just require and module.exports)
  • there is now ESLint for this project - there is an .eslintrc.json linter file now which should hopefully enforce a somewhat consistent code standard
  • to use eslint to check for errors run npx eslint <file or directory>. Many text editors also have integration with eslint as well.

Project Information (Where do the numbers and stats come from)

  • Much of the data the bot uses is within the ./jsons folder
  • Tower Information are from Extreme Bloonology and their pastebins (Heroes and Towers)
  • This bot also uses the Official Ninja Kiwi API

Contributing Guidelines

  • try to use camelCase
  • don't use var to define variables. JS is weird enough
  • try not to do too much at once (for pull requests, split it into multiple PRs)
  • util functions/classes/modules should go to ./helpers (unless they are specific to only one command)
  • new data should go into ./jsons if to be stored locally. Small nuggets of information are usually displayed via the /tag command

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.