Yes, another Discord music bot! But this one is supposed to be simple and to allow you to play music and text using text to speech. It also does have some extra functionality like reading Wikipedia articles.
This is the old version of the bot. Check Simple Sound Bot 2 for a updated version.
- Simple YouTube-Audio player with queue and repeat
- Text To Speech functionality using AWS Polly
- Wikipedia integration, responds in text and using TTS.
- Greet people when they join the bots channel.
- More to come!
Below you can find a description of all commands of the Bot.
Summons the Bot into your current voice channel.
Makes the Bot leave it's current voice channel.
Respond with a Wikipedia article embed.
Reads the following text out loud in the currently connected voice channel.
Reads the introduction of a Wikipedia article, good to force people to hear to useless information.
Plays the provided YouTube-URL. If no URL is provided it will try to resume the current playback.
Enables the repeat mode that does repeat the current playback until being disabled again. To disable repeat just use the command again.
Adds the provided YouTube-URL to the playback queue.
Skips the current playback, will play the next track in the queue (if there is one).
Sets the volume, use values like "0.5", "1", "50" or "100".
Simple-Spound-Bot provides an automatically generated docker image that you can easily use.
To use it with plain docker
commands, simply install Docker for your operating system of choice and run the following command. Make sure to pass your environmenr variables!
docker run -v ~/.aws:/root/.aws -v ./cache:/root/simple-sound-bot/cache -e CMD_ARGUMENTS=-vvvv skyraptor/simple-sound-bot:latest
You can also use the provided compose file by using this command. This will automatically load the .env into the containers Environment.
export CMD_ARGUMENTS=-vvvv && docker-compose up
Simply clone the repository locally. Next, copy the .env.example
to .env
and adjust the configuration to your needs. Alternatively you can also empty this file and pass those values to nodes environment directly.
Next simply run:
npm run start
If you want to pass arguments to the software, simply do like this:
npm run start -- --help
The software will by default hide unecessary log outputs. To control the verbosity of the software, simply append the ´v´ argument. The amount of v
's controls the verbosity. For example, in order to set the verbosity to 4 the following command would have to be used:
npm run start -- -vvvv
- Discord Akairo - For the wonderful bot wrapper around discord.js.
- SquadJS - For the inspiration and basis for the Logger class.
- Gabriel Tanner - For his great guide on creating discord music bots.
Patrick |
Patrick |
If you like this project and you want to support me, you can do so below: