Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 997 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 997 Bytes

OSAC Music Bot For Discord

This is a music bot that play youtube songs and more (with url) on discord. Primarily made for running in OSAC server.

This project is made with python and its discord.py library.

To learn how to make a discord bot in python, follow this great tutorial, link here

Installation instruction

Install python and poetry

Clone this repository and cd into it

Then do,

poetry install
poetry run python main.py

Or if you want to install with Pip (without poetry)

python -m pip install -r requirements.txt
python main.py

You will need to setup discord bot on developers portal of discord then export OWNER_ID and DISCORD_TOKEN environment variable to your discord id and bot's token respectively. Use this tutorial to learn more about it

https://realpython.com/how-to-make-a-discord-bot-python/