mirror of https://github.com/hak5/scuzzy.git
author
parent
9a5eee684e
commit
44399c9f4e
|
@ -33,7 +33,7 @@ func (o *Overwatch) ProcessMessage(s *discordgo.Session, m interface{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o *Overwatch) handleUserStat(s *discordgo.Session, m *discordgo.MessageCreate) error {
|
func (o *Overwatch) handleUserStat(s *discordgo.Session, m *discordgo.MessageCreate) error {
|
||||||
userID := m.Member.User.ID
|
userID := m.Author.ID
|
||||||
user, ok := o.UserMessages[userID]
|
user, ok := o.UserMessages[userID]
|
||||||
if !ok {
|
if !ok {
|
||||||
o.UserMessages[userID] = UserMessageStat{
|
o.UserMessages[userID] = UserMessageStat{
|
||||||
|
|
Loading…
Reference in New Issue