Slight tweaks and fixes to help command
This commit is contained in:
parent
ca71c9cfea
commit
6a172fc81b
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue