Adjusted log output of last commit
This commit is contained in:
@@ -283,7 +283,10 @@ func enqueuePlay(user *discordgo.User, guild *discordgo.Guild, coll *SoundCollec
|
|||||||
}
|
}
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"user": user,
|
"user": user,
|
||||||
}).Info(user.Username + "triggered sound playback of " + sound.Name + " in " + coll.Prefix + " for server " + guild.Name + " in channel " + play.ChannelID)
|
"guild": guild,
|
||||||
|
"sound": sound,
|
||||||
|
"coll": coll,
|
||||||
|
}).Info(user.Username + " triggered sound playback of \"!" + coll.Prefix + " " + sound.Name + "\" for server " + guild.Name + " in channel " + play.ChannelID)
|
||||||
|
|
||||||
// Check if we already have a connection to this guild
|
// Check if we already have a connection to this guild
|
||||||
// this should be threadsafe
|
// this should be threadsafe
|
||||||
|
|||||||
Reference in New Issue
Block a user