Git Product home page Git Product logo

whyareallyourusernamesunavailable / cyberquincy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hemisemidemipresent/cyberquincy

0.0 0.0 0.0 18.8 MB

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.

Home Page: https://cq.netlify.com

License: GNU Affero General Public License v3.0

JavaScript 100.00%

cyberquincy's Introduction

Cyber Quincy

CodeFactor PRs stars forks

Cyber Quincy

art by u/Projekt_Knyte

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 q!help

Basic local test guide

note: all credentials will be in ./1/config.json, fill in the json accordingly.

  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. Optional:

  4. to run type node server

npm dependencies

  • discord.js what makes this bot work
  • node-fetch for accessing popology source
  • pluralize used in parser
  • lex used in q!calc
  • filepath used in alias reopsitory
  • express used to receive pings to keep app awake
  • google-spreadsheet to get information from BTD6 Index and Misc Challenges
  • lodash.clonedeep,lodash.isequal: for q!2tc and q!balance, respectively
  • statcord used for bot statistics
  • atob, zlib used for fetching some data from NK
  • axios: used for requests
  • request: also used for requests
  • node-dgdata custom library for using NK API disguised as a dgdata fetcher
  • discord.js-minesweeper: used for minesweeper
  • imgur: used for q!imgur
  • hastebin-gen: for very specific debugging

Optional

  • bufferutil for a much faster WebSocket connection
  • utf-8-validate in combination with bufferutil for much faster WebSocket processing

Contributing Guidelines

  • try to use camelCase
  • dont use var to define variables. JS is weird enough
  • try not to do too much at once (for pull requests)
  • util functions/classes/modules should go to ./helpers (maybe except if they are specific to only one command)
  • how the bot generally works

cyberquincy's People

Contributors

hemisemidemipresent avatar rmlgaming avatar viphire avatar dependabot[bot] avatar epicalex4444 avatar

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.