Skip to content

LinkSlayer64/Gravebot

 
 

Repository files navigation

Gravebot

Build Status Build Status Coverage Status Translations

About

A fantastic, helpful, and fun Discord chat bot! Gravebot comes with a bunch of cool and powerful commands for both Discord and games!

Russian version/Pусская версия.

How to use

Invitation

The easiest way to set this bot up on your server is to invite it to your Discord server, It is currently hosted 24/7 and will always get the newest features first.

Join Gravebot's Lair and either PM Gravebot an invitation link or write in the general chat !join invite-link-here (e.g. https://discord.gg/0iXEgtjdHgkpdsVr or 0iXEgtjdHgkpdsVr). You can also give the bot a first try in that server as well.

If you have any questions, feedback or want to request features, you may also do that by leaving a message in the Gravebot's Lair, private messaging Gravestorm, as well as opening an issue on Github.

For self hosting, click here.

Commands

Help:

  • !help fun - List of fun commands
  • !help useful - List of useful commands
  • !help info - List of information commands
  • !help games - List of game commands
  • !help other - List of other commands
  • !memelist - List of meme names for the !meme command
  • !aide - Liste des commandes en Francais

Fun:

  • !8ball question - Answers the question
  • !cat bomb count - Returns a random cat picture
  • !chat text - Chats with you
  • !coin - Flips a coin
  • !comics - Get a random comic from a bunch of different artists
  • !decide something or something... - Decides between given words
  • !drama number - Responds with a drama image, if no number is written, a random one
  • !emoji number - Responds with an emoji copypasta, if no number is written, a random one
  • !meme meme name "top text" "bottom text" - Creates a meme with the given meme name and text
  • !pug bomb count - Bombs chat with adorable pugs
  • !quote number - Responds with a quote, if no number is written, a random one
  • !roll times sides - Rolls the dice a number of times with a number of sides
  • !snoopify sentence - Snoopifies tha sentence
  • !yoda sentence - Yodaify a sentence

Useful:

  • !gif gif tags - Gets a gif from Giphy or Popkey matching the given tags (Use !giphy or !popkey to search the specific sites)
  • !join invitation link - Joins the server the bot is invited to
  • !urban search terms - Returns the summary of the first matching search result from Urban Dictionary
  • !wiki search terms - Returns the summary of the first matching search result from Wikipedia
  • !youtube video tags - Gets a video from Youtube matching the given tags
  • !wolfram query - Query Wolfram Alpha for almost anything
  • !videocall Optional @username - Start a one click video call or screenshare directly on Appear.in. Mention users to make it private.

Information:

  • !avatar @username - Responds with the avatar of the user, if no user is written, the avatar of the sender
  • !serverinfo - Gives information about the server
  • !serverlist - Lists all the servers the bot is connected to
  • !servers - Lists how many servers, channels and users the bot is connected to
  • !uptime - Shows how long the bot has been online
  • !userinfo @username - Gives information about the user, if no user is written, yourself
  • !version - Get information on the latest version of Gravebot

Games:

Dota2

  • !dota2 - Help
  • !dota2 best position - Get the top 10 Heroes for a specific position
  • !dota2 build hero-name - Get the most popular build for a Hero
  • !dota2 counters hero-name - Get the top 10 counters for a Hero
  • !dota2 impact - Get the top 10 Heroes with the biggest impact
  • !dota2 items hero-name - Get the top 10 most used items for a Hero

League of Legends

  • !lol - Help
  • !lol bans - Get the top 10 most common bans
  • !lol best position - Get the top 10 best champs for a position
  • !lol counters champ-name position - Get the top 10 counters for a Champion and Position
  • !lol items champ-name position - Get the highest win item sets for a Champion and Position
  • !lol match region summoner-name - Get rank, champ, winrate, and games for all players in a current match.
  • !lol skills champ-name position - Get the highest win skills for a Champion and Position
  • !lol status - Get the LoL Game and Client server status for all regions

Other:

  • !ayylmao
  • !chillenmyb
  • !endall
  • !feelsgoodman
  • !jpeg
  • !kappa
  • !kappaHD
  • !skeltal
  • !starwars4
  • !starwars5

## Local Configuration

Rename config.js.example to config.js and fill in the required information. Note only variables with the *Required* comment are needed, everything else is optional.

Windows:

Warning: Windows may have issues, even if all steps are done, sadly, we are not able to find the right dependencies for it (mostly regarding League of Legends and Wolfram commands), if you are familiar with coding, you can try messing around, either finding the right dependecies, or disabling the commands. If you are not familiar with coding, I would advise you to try out Linux, just install it alongside Windows and give it like 20GB of space, it will be plenty, and you will have a good experience. Feel free to ask for help regarding installation in Gravebot's Lair, just keep this in mind.

  • Install node.js v4.0 or higher
  • Install python v2.7.3 (32 bit, 64 bit)
  • Install Microsoft Visual Studio C++ Express
  • Install node-gyp (open the command prompt and write npm install -g node-gyp)
  • Install redis
  • Install libxml2 and add it to your PATH (note that this may not work and some extra tinkering may be needed, if you find a better way of installing it, please share it)
  • If you are unable to install it, you may remove the wolfram-alpha dependency from package.json, and remove wolfram.js in the lib folder. That is the only command that uses libxml2.
  • Run npm-install.bat to install the Node dependencies
  • Run launch.bat to start the bot

Linux:

  • Install node.js v4.0 or higher
  • Install gcc and libxml2 (open the terminal and write sudo apt-get install build-essential libxml2-dev libicu52 libjpeg8 libfontconfig1 libwebp5 libssl1.0.0)
  • Install node-gyp (open the terminal and write sudo npm install -g node-gyp)
  • Install redis
  • cd to the root directory and run npm install
  • Run npm start

Deployment

Heroku

Gravebot comes setup and ready for Heroku.

  1. Setup your configuration in Heroku's environment variables.
  2. Activate multi buildpack. heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
  3. Push the source code.

Docker

Master branch is built and pushed to our Docker image. You can pull the latest from here.

Updating

Updating Gravebot is like any other NodeJS app. Just run git pull && npm install.


Feature Requests

Have a feature in mind? We'd love to hear about it. Feel free to open an issue and let us know.

Contribute

Want to contribute to Gravebot? That's great! Be sure to check out the CONTRIBUTE.md doc for more information on how.

Contributors

About

A bot for the Discord chat program

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.7%
  • CSS 3.0%
  • HTML 1.2%
  • Other 0.1%