Commands - 0xB4DC0FF33/NaBot GitHub Wiki

Commands

Generic help

All the commands are made of three "subparts" the prefix, the command and the arguments, in a setup like this :

           [prefix][Command] [argument1] [argument2] ... [argumentX]
  • prefix => It's a constant part, it's doesn't change from a command to another (default : '$')
  • command => It's the core part, that specifies wich "action" you wants the bot to perform
  • arguments => That's the "options" of each commands, you can put any number of argument but not all the commands will take care of these

Commands list

command description Arguments
help Displays a help message
test Simple test command to check the connectivity of the bot
ping Prints the bot's latency
invite Generate an invite link to add NaBot to other servers
avatar Displays the profile picture of anyone mentioned in arguments any number of mentions
fortune Prints a random fortune
xkcd Displays a random XKCD (unless "last" mentioned in arguments) nothing / "last"
commitstrip Displays a random commitstrip (only french for the moment)
pony Displays a random pony (you can set a tag in argument. ex: happy) any tag (happy, sad, clouds etc...)

Music

First, you need to add the music with : add [music title] The bot will search the web for your music then add it to the queue automatically. Then if you want to play the music, just type the command : play The bot will automatically join your voice channel and start playing the music.

Here are the music related commands :

command description Arguments
add Add a music to the queue. music title
play Play the queue
queue Displays the current queue

Those commands are available only if the bot is playing music :

command description Arguments
pause Pause the music
resume Resume the music
status Displays the bot's status (volume / time / playing etc..)
volume- Lower the volume
volume+ Turn up the volume
skip Skip the current song