rickytrevor / otium

this is a music bot for discord written in python, it is designed for educational use ONLY, I do not take any responsibility for uses outside of educational use

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Otium

License

this software is released under the gnu gplv3 license and it's ment only for educational use, i won't provide any free hosting, if you have any suggestions/fixes or simply you find some optimizations to my code feel free to start a pull request

Howto: deploy it

there are two ways to deploy this bot, via docker or via the bot.py file

Docker

To deploy the bot with docker you have to first build the docker image with

docker

docker run -t -d -e token=your_token -v /your/songs/cache/directory:/songs rickytrevor/otium

non-docker method

To deploy it without docker you first need to install all the dependencies with pip install -U discord.py pynacl python-dotenv youtube-dl youtube-search-python && sudo apt install ffmpeg youtube-dl and then to actually run the program just run python3 bot.py yourtokengoeshere

credits

Library: https://github.com/Rapptz/discord.py early contributors: https://github.com/ThatsMassy

What is the bot capable of doing?

this example is capable of: playing songs (also it should be able to play in more than one server at once), pausing, resuming and skipping

Commands

.play song

.stop

.resume

.skip

Howto: Contribute

The source code is ment to be edited in a docker container using visual studio code with the remote-containers plugin, with that you can just open the project, tap "open in container" and vscode should install everything that it's needed to test and debug the bot

About

this is a music bot for discord written in python, it is designed for educational use ONLY, I do not take any responsibility for uses outside of educational use

License:GNU Affero General Public License v3.0


Languages

Language:Python 72.6%Language:Dockerfile 27.4%