-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
Bot supports slash and text command systems.
Nothing special, start writing / and select command from the list
Note
Recommend using slash commands because most of these commands have an "invisible/ephemeral" messages, so no one can see except you the output of command
If a bot owner does not change the default prefix in .env.production file, the prefix is //
Note
If bot prefix conflicting with another bot on server, administrator can set the second text prefix for server using /setPrefix command
It Can be used only by server administrators (people who have a role with "Administrator" permission)
Changes bot prefix for the server
Example: /newPrefix $$
Prefix symbols cannot be symbols: / @ #, because these symbols reserved for Discord purpose. Prefix length cannot be longer than two symbols.
The bot philosophy built around audioplayer to reduce commands using.
Use /play or /playfile to spawn audioplayer
Most of the time of using bot, you need only add songs by /play or /playfile
When any message created in chat where audioplayer is spawned, bot will recreate the player so that the player is always at the bottom of the chat room.
Note
Highly recommended to create a text channel for the bot
Warning
Audio commands which change audioplayer state require audioplayer and be with bot in the same voice channel to exist. Also this kind of commands needs to be written in the same channel where audioplayer was spawned.
Example: /play https://open.spotify.com/track/46gSk82duJtX3TTA182ruG?si=c668ab77755f4d88
Spawn audioplayer in a text channel if not exists.
Accept songs/playlist from links.
Support searching on YouTube
when you write something like this
Do the same things as play command, but accept MP3/WAV/OGG files instead of text/links
Return the current playback time of the song
Accept links you songs and return mp3 file in a text channel where the command is called.
Example: /download https://www.youtube.com/watch?v=60ItHLz5WEA
If your queue has a large count of songs, you can jump to the desired song. To get the number of songs you want, press the button in audioplayer to get a queue songs list.
Example: /jump 4
Returns to previous played/skipped song in queue
Allow you to change the current playback time. Accept time in HH:MM:SS or MM:SS or SS format.
Example: 1:02:32
Shuffle the next songs in the queue
Skip current playing song
Kill the audioplayer
Example: /lyrics faded alan walker
Searching a provided query for song lyrics and return text
Toggle 24/7 mode. If enabled, bot will stay in a channel when no remain songs to play. And when all users leave a voice channel with bot
Return song history of the current server where the command is executed.
Example: /pl-create Funny Music
Create a playlist linked to user with given name
Example: /pl-play Funny Music
Do the same things as a /play command, but add songs from playlist
Example: /pl-add Funny Music https://www.youtube.com/watch?v=dQw4w9WgXcQ
Add a song to playlist
Example: /pl-display Funny Music
Display the list of songs of given playlist
Example: /pl-remove Funny Music 1
Remove the song from playlist by ID, to get song ID in playlist, use the /pl-display
Display the list of playlists
Example: /pl-delete Funny Music
Delete the playlist
Give the current count of spawned audioplayers
Note
This command supported only by text command system. Also you must be overpowered user.
Generate random number for 0 to 100
Return the command list or certain command description
Command list example: /help Certain command example: /help play
Return the link for inviting the bot. Give the link to the administrator on another server.
Return bot status data, about: OS, Ram Usage, Cpu Model, Cpu Usage, AICoTest Version, Servers Count.
Return links to GitHub Issues or GitHub Discussions.