Git Product home page Git Product logo

meanbot's Introduction

MEANBOT

A Discord Bot for Servers filled with Programming Enthusiasts and Nerds with a little twist for anime lovers and the contemporary teens who can't live without their memes.

Dependencies

The following packages are required for smooth function of the bot:

  • Discord.js - Discord Library for JavaScript
  • random-puppy - Library to fetch random URl of images from Reddit
  • ms - Library to mange time for temporary muting
  • ytdl-core - Library to load YT music in audio channel
  • opusscript - Library to load YT music in audio channel
  • node-ytsr - Library to search for video URL based on the name
  • xkcd - Library to get you your addictive xkcd comics right into the server

Commands

!say <message>              //Replies back with the message
!botinfo                    //Returns Information about the bot
!serverinfo                 //Returns information about the server
!headpat                    //Returns URL of a random image from /r/headpats
!memes                      //Returns URL of random meme from /r/dankmemes
!yt play <YT URL>           //Plays the audio from the mentioned Youtube URL
!yt skip                    //Skips the current playing track
!yt stop                    //Stops the song
!yt search <name>           //Gives back an I'm feeling lucky URL for video best linked with the given search query
!yt splay <name>            //Gives the most relevant video linked to search query <name> from YT
!tempmute @memeber <time>   //Mute a player for a given period of time
!warn @member <reason>      //Warn a user for a particular action on the server
!kick @member               //kick a member from the server
!ban @member                //ban a member from the server
!xkcd                       //Lets you read the latest XKCD comic strip
!xkcd <num>                 //Brings you the specific XKCD comic

Running The Bot

$ npm update
$ node index.js

In order to run the bot add your Personalized Bot Token to botconfig.json

Contribution

All contributions are welcome as long as you love tabs over spaces. Use the template.js present in HotBot/commands/ as the strating point for adding new commands. Any new commands must be comitted to HotBot/commands/ and follow the instructions commented in template.js

Inspiration

Loosely based on Hotbot made by Fox for The Programmers Hangout Discord server

Shout Out to Raylu for coming up with the idea for !headpat feature,an eyecandy for all anime lovers. message.channel.send("You must be in a voice channel (^_^)"); Check out the Python Bot by Raylu, the repository where idea of !headpat was born.

Deployment

We finally settled for glitch.com for hosting our bot. Everything works including the !yt command which was previously giving us trouble on Heroku. For more information, head over to glitch brach to know about deployment Also be sure to read this useful article on Glitch hosting before jumping in (^_^)

Cheers

meanbot's People

Watchers

 avatar

Forkers

whispangaming

meanbot's Issues

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.