qaisjp/go-discord-irc

IRC socket stay connected after the discord user go offline

tchattons opened this issue · 2 comments

Hello, IRC sockets stay connected after the discord user go offline

log:

DEBU[0017] PRESENCE offline id=6254184040182xxxxx
INFO[0017] ignoring a HandleUser err="Username or Discriminator is empty" user.Discriminator= user.ID=6254184040182xxxxx user.Username=

how to fix it please

Thank you in advance

answered staff us in discord

answer from discord:

It should disconnect after 24 hours
There's a cool down

var cooldownDuration = time.Hour * 24