diff options
Diffstat (limited to 'events.go')
| -rw-r--r-- | events.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ func genMapKey(guildID string, userID string) string { return fmt.Sprintf("%s:%s", guildID, userID) } -func onConnection(ctx context.Context, dg bot.Session, e *event.VoiceStateUpdate) { +func onConnection(ctx context.Context, _ bot.Session, e *event.VoiceStateUpdate) { bot.Logger(ctx).Debug("user connected", "user", e.Member.DisplayName()) connectedSince[genMapKey(e.GuildID, e.UserID)] = time.Now().Unix() } |
