From 6a172fc81b5f6d42bd6b19d38ecb17d860f1addb Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Sat, 10 Jan 2015 16:16:05 -0800 Subject: [PATCH] Slight tweaks and fixes to help command --- README.md | 2 +- commands.go | 4 ++-- strings.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ef4eceb..1d23774 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ An admin command that forces a song skip. An admin command that forces a playlist skip. ####`!help` -Displays a this list of commands for you in Mumble chat. +Displays this list of commands in Mumble chat. ####`!volume ?` Either outputs the current volume or changes the current volume. If `desired_volume` is not provided, the current volume will be displayed in chat. Otherwise, the volume for the bot will be changed to `desired_volume` if it is within the allowed volume range. diff --git a/commands.go b/commands.go index c0219b3..676bad2 100644 --- a/commands.go +++ b/commands.go @@ -239,9 +239,9 @@ func skip(user *gumble.User, username string, admin, playlistSkip bool) { } } -//Preforms help functionality. Displays a list of valid commands. +// Performs help functionality. Displays a list of valid commands. func help(user *gumble.User) { - user.Send(HELP_MSG) + user.Send(HELP_HTML) } // Performs volume functionality. Checks input value against LowestVolume and HighestVolume from diff --git a/strings.go b/strings.go index 735d070..c80c5f8 100644 --- a/strings.go +++ b/strings.go @@ -82,8 +82,8 @@ const PLAYLIST_SKIPPED_HTML = ` The number of votes required for a skip has been met. Skipping playlist! ` -// Message shown to display bot help commands. -const HELP_MSG = ` +// Message shown to display bot commands. +const HELP_HTML = `
User Commands:

!help - Displays this help.

!add - Adds songs to queue.