small changes for !joinme
typo, constant and comment changes
This commit is contained in:
parent
0679bfbfb6
commit
c4f7d1c24e
|
@ -354,8 +354,8 @@ func move(user *gumble.User, channel string) {
|
|||
}
|
||||
}
|
||||
|
||||
// move performance !joinme functionality. Found the channel and move the bot. The bot don't move
|
||||
// if it already play music to people
|
||||
// joinMe performs !joinme functionality. Finds the channel and moves the bot.
|
||||
// The bot does not move if it is already playing audio to others.
|
||||
func joinMe(user *gumble.User) {
|
||||
if dj.audioStream.IsPlaying() && len(dj.client.Self.Channel.Users) > 1 {
|
||||
user.Send(PEOPLE_ARE_LISTENING_TO_ME)
|
||||
|
|
|
@ -106,7 +106,7 @@ HelpAlias = "help"
|
|||
# DEFAULT VALUE: "volume"
|
||||
VolumeAlias = "volume"
|
||||
|
||||
Alias used for join a user
|
||||
Alias used for joinme
|
||||
# DEFAULT VALUE : "joinme"
|
||||
JoinMeAlias = "joinme"
|
||||
|
||||
|
@ -214,8 +214,8 @@ AdminVolume = false
|
|||
AdminMove = true
|
||||
|
||||
# Make joinme a admin command?
|
||||
# DEFUALT VALUE: true
|
||||
AdminJoinMe = false
|
||||
# DEFAULT VALUE: true
|
||||
AdminJoinMe = true
|
||||
|
||||
# Make reload an admin command?
|
||||
# DEFAULT VALUE: true
|
||||
|
|
|
@ -98,8 +98,8 @@ const SHUFFLE_ACTIVATED_ERROR_MESSAGE = "Automatic shuffle is already activated.
|
|||
// Message shown to user when they attempt to disable automatic shuffle while it's already deactivated
|
||||
const SHUFFLE_DEACTIVATED_ERROR_MESSAGE = "Automatic shuffle is already deactivated."
|
||||
|
||||
// Message show to user when they attempt to move it and it is already playing music to people
|
||||
const PEOPLE_ARE_LISTENING_TO_ME = "I'm already busy."
|
||||
// Message shown to user when they attempt to move the bot and it is already playing audio to others.
|
||||
const PEOPLE_ARE_LISTENING_TO_ME = "Users in another channel are listening to me."
|
||||
|
||||
// Message shown to channel when a song is added to the queue by a user.
|
||||
const SONG_ADDED_HTML = `
|
||||
|
@ -154,7 +154,7 @@ const HELP_HTML = `<br/>
|
|||
<p><b>!shuffleon</b> - An admin command that enables auto shuffling.</p>
|
||||
<p><b>!shuffleoff</b> - An admin command that disables auto shuffling.</p>
|
||||
<p><b>!move </b>- Moves MumbleDJ into channel if it exists.</p>
|
||||
<p><b>!joinme </b>- Move into your channel (MP)</p>
|
||||
<p><b>!joinme </b>- Moves MumbleDJ into your current channel if not playing audio to someone else.</p>
|
||||
<p><b>!reload</b> - Reloads mumbledj.gcfg configuration settings.</p>
|
||||
<p><b>!setcomment</b> - Sets the comment for the bot.</p>
|
||||
<p><b>!numcached</b></p> - Outputs the number of songs cached on disk.</p>
|
||||
|
|
Reference in a new issue