-
Notifications
You must be signed in to change notification settings - Fork 1
Usage: Cogs: Audio
First of all, I would like to thanks someone for the BombSquad game's audio remixes used in the BombSquad bot, he has this YouTube channel. One day while searching through the videos on YouTube I found that channel's post and those are very interesting, I found more than two audio remixes too and thought to include it to my bot, so selected two at a random and included that in BombSquad bot, only two remixes included and not all because I want you to go to the channel for finding the other post there if you like the two included ones.
The audio cog in the BombSquad Bot is used for the voice system in discord, ie. joining, playing and leaving in the voice channels in discord servers. To play the BombSquad game's remixes and audios included in the BombSquad bot you need to make the bot join and then use the play command.
Following are the commands present in the audio cog with their functions and arguments:
| S. No. | Command signature | Usage | Arguments | Result |
|---|---|---|---|---|
| 1 | bs!join [channel] |
To make the bot join a voice channel | 1. The discord server's voice channel [optional] | Bot joins the channel given in command if any else the command users voice channel |
| 2 | bs!play |
To play some BombSquad audio | Sub-Commands | Nothing, requires sub-command to work |
| 2.1 | bs!play remix <number> |
To make the bot play a remix | 1. The number of the remix (either 1 or 2) | Play either of the two remixes based on index |
| 2.2 | bs!play sound <search> |
To make the bot play a BombSquad game's in-built sound | 1. A string to search in the names of the audio files | Play the the first sound file that matches the search terms, returns a message if none found |
| 3 | bs!pause |
To pause the current playing audio | None | If playing pauses, else return |
| 4 | bs!stop |
To stop the current playing audio | None | If playing stops the audio, else return |
| 5 | bs!disconnect |
To make the bot leave the voice channel | None | If in a voice channel then leaves, else return |