Skip to content

A discord bot that provides the ability to play dota hero response clips, do tts, and a variety of other utilities

License

Notifications You must be signed in to change notification settings

Yasuslik/MangoByte

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangoByte

Help Server Servers Registered Users

A discord bot that provides the ability to play audio clips, play dota responses, answer questions, randomly react to messages, and a large number of other actions. I'm using the discord.py python wrapper for the Discord API. I'm also making use of dotabase, which is an open source repository (created by yours truly) containing data about the game Dota 2.

Examples

Example of a gif you can create with ?laning or ?dotagif:

DotaGif Command

Example of ?lastgame command:

Lastgame Command

This is the long list of all of the commands. You can get this from ?help all

Commands List

Installation

I would recommend simply inviting mangobyte to your server via the Invite Link, but if you want to contribute to mangobyte or just like running things, the following is how you can install and run your own instance of mangobyte.

Before installing and running your own instance of mangobyte, you will first need to install the following:

  • Python 3.6
  • Pip
  • The rewrite version of discord.py: python3.6 -m pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]

Now make sure to run python3.6 -m pip install -r requirements.txt to install the rest of the needed packages.

If you run python3.6 mangobyte.py, you will probably get an error message because the bot token isn't set. You'll have to create a bot account through discord in order to get one of these tokens. Note that the above link is for a different discord bot, and so the "Logging in with a token" section does not apply here. Now that you have a bot account, set the token field in the settings.json file to your new bot's token. After you have done this, and have invited your bot to your server, don't forget to add the ID of the voice channel you want to connect it to in the defaultvoice field in the settings.json file.

You should now be done! You can run mangobyte by calling python3.6 mangobyte.py, and you should probably set up a virtual environment so that nothing bad has a chance of happening.

Example settings.json file

{
	"token": "<token here>",
	"error_logging": false,
	"debug": false
}

About

A discord bot that provides the ability to play dota hero response clips, do tts, and a variety of other utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%