From e69a690b7e335cea752c26d73bf36b0207e25bd2 Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Mon, 15 Dec 2014 16:42:13 -0800 Subject: [PATCH] Add more message strings --- strings.go | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/strings.go b/strings.go index 4379c1e..a5d84e4 100644 --- a/strings.go +++ b/strings.go @@ -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. Skipping song! ` - +// Message shown to users when they ask for the current volume (volume command without argument) +const CUR_VOLUME_HTML = ` + The current volume is %g. +`