Skip to content

A Discord Bot for servers filled with Programmers, Anime Lovers and the Knights who travel far and wide searching for Dank Memes!

Notifications You must be signed in to change notification settings

Kriyszig/MeanBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Discord Bot for servers filled with Programmers, Anime Lovers and the Knights who travel far and wide searching for Dank Memes!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published