Add more message strings

This commit is contained in:
Matthieu Grieger 2014-12-15 16:42:13 -08:00
parent 6924df7f13
commit e69a690b7e

View file

@ -10,6 +10,9 @@ package main
// Message shown to users when they do not have permission to execute a command.
const NO_PERMISSION_MSG = "You do not have permission to execute that command."
// Message shown to users when they try to execute a command that doesn't exist.
const COMMAND_DOESNT_EXIST_MSG = "The command you entered does not exist."
// Message shown to users when they try to move the bot to a non-existant channel.
const CHANNEL_DOES_NOT_EXIST_MSG = "The channel you specified does not exist."
@ -24,10 +27,13 @@ const NO_MUSIC_PLAYING_MSG = "There is no music playing at the moment."
const NO_ARGUMENT_MSG = "The command you issued requires an argument and you did not provide one."
// Message shown to users when they try to change the volume to a value outside the volume range.
const NOT_IN_VOLUME_RANGE_MSG = "Out of range. The volume must be between %f and %f."
const NOT_IN_VOLUME_RANGE_MSG = "Out of range. The volume must be between %g and %g."
// Message shown to users when they successfully change the volume.
const VOLUME_SUCCESS_MSG = "You have successfully changed the volume to the following: %f."
const VOLUME_SUCCESS_MSG = "You have successfully changed the volume to the following: %g."
// Message shown to user when a successful configuration reload finishes.
const CONFIG_RELOAD_SUCCESS_MSG = "The configuration has been successfully reloaded."
// Message shown to a channel when a new song starts playing.
const NOW_PLAYING_HTML = `
@ -54,4 +60,7 @@ const SONG_SKIPPED_HTML = `
The number of votes required for a skip has been met. <b>Skipping song!</b>
`
// Message shown to users when they ask for the current volume (volume command without argument)
const CUR_VOLUME_HTML = `
The current volume is <b>%g</b>.
`