try fixing missing knowledge

This commit is contained in:
Seraphim Strub 2023-01-28 17:04:31 +01:00
parent fc2a748cd4
commit 5983b00e6e

View file

@ -131,7 +131,7 @@ func joinListener(event *events.GuildMemberJoin) {
}
func leaveListener(event *events.GuildMemberLeave) {
user := event.Member.User
user := event.User
if event.GuildID.String() != registerGuildID.String() {
event.Client().Logger().Error("leave from an other guild")