A simple NodeJS Discord bot using the Discord.js API
|
4 tahun lalu | |
---|---|---|
src | 4 tahun lalu | |
.gitignore | 4 tahun lalu | |
Dockerfile | 4 tahun lalu | |
LICENSE | 7 tahun lalu | |
README.md | 4 tahun lalu | |
docker-compose.yaml | 4 tahun lalu |
Viki is a bot focused mainly on music streaming. Specifically, streaming from a beets
music library on the docker host on which the viki
container is run. Yes, this is a very specific, narrow use case.
To get this running on your server, other than the normal creation of a bot user stuff on the discord, side, do the following:
src/config.json
and add:
"token"
, your bot's token"prefix"
, the character that is the prefix for bot commands in your server"whitelist"
, an array of users in the form username#tag
who can run addmusic
for your botdocker-compose.yaml
:
beets
config and media folder(s)Dockerfile
:
uid
and gid
of this user to match the host, if necessarybeets
to be installed is equal or at least compatible with the host'sdocker-compose up --build -d
to run the botaddmusic
. so that's great