Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Commit

Permalink
Slight tweaks and fixes to help command
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugrieger committed Jan 11, 2015
1 parent ca71c9c commit 6a172fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <desired_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.
Expand Down
4 changes: 2 additions & 2 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions strings.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ const PLAYLIST_SKIPPED_HTML = `
The number of votes required for a skip has been met. <b>Skipping playlist!</b>
`

// Message shown to display bot help commands.
const HELP_MSG = `
// Message shown to display bot commands.
const HELP_HTML = `<br/>
<b>User Commands:</b>
<p><b>!help</b> - Displays this help.</p>
<p><b>!add </b>- Adds songs to queue.</p>
Expand Down

0 comments on commit 6a172fc

Please sign in to comment.