Coder Social home page Coder Social logo

gravebot's Introduction

Gravebot

Build Status Build Status Coverage Status

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 - 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
  • !pugbomb 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 matching the given tags
  • !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:

  • 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 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)
  • cd to the root directory and run npm install
  • Run npm start

Deployment

Heroku

Gravebot comes setup and ready for Heroku. Setup your configuration in Heroku's environment variables and then push the source code.

Docker

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


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

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.