master
Marc 2021-05-28 23:02:41 +01:00
parent 9a5eee684e
commit 44399c9f4e
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
1 changed files with 1 additions and 1 deletions

View File

@ -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{