discord music bot
Go to file
Ramdip Gill c5c49dadf3 Merge branch 'no-issue-message-fs-refactor' into 'develop'
Implement message module as message.py instead of directory

See merge request ekzyis/musicube!16
2021-10-27 15:36:47 +00:00
.vscode Add debug configuration 2021-09-25 20:30:44 +02:00
src Merge branch 'no-issue-message-fs-refactor' into 'develop' 2021-10-27 15:36:47 +00:00
test Fix copy-paste variable name 2021-10-02 02:10:41 +02:00
.dockerignore Create Dockerfile 2021-09-25 22:11:37 +02:00
.env.template Set default prefix 2021-10-27 17:30:48 +02:00
.gitignore Add Makefile 2021-09-25 22:46:45 +02:00
.gitlab-ci.yml Add deploy job and deploy script 2021-09-26 01:10:52 +02:00
.pylintrc Fix pylint issues 2021-09-24 22:02:13 +02:00
Dockerfile Don't handle YOUTUBE_COOKIES different in Dockerfile 2021-09-25 22:48:16 +02:00
Makefile Add deploy job and deploy script 2021-09-26 01:10:52 +02:00
README.md Add deploy job and deploy script 2021-09-26 01:10:52 +02:00
deploy.sh Add deploy job and deploy script 2021-09-26 01:10:52 +02:00
pyproject.toml Copy code from basic_voice example as skeleton 2021-09-24 20:58:42 +02:00
requirements.txt Add pytest-asyncio to requirements 2021-10-27 15:47:25 +02:00

README.md

musicube

Development

Requirements:

$ python --version
3.9.7

Configure virtual environment:

$ python -m venv venv
$ source venv/bin/activate

Install requirements:

$ pip install -r requirements.txt

Configure ENV:

$ cp .env.template .env
# Write BOT_TOKEN into .env

Run bot:

$ python src/bot.py

Deployment

Requirements:

$ docker --version
Docker version 20.10.8, build 3967b7d28e
$ make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Build image:

$ make build

Run image:

$ docker run --rm --detach --name musicube musicube:latest