try fixing missing knowledge
This commit is contained in:
parent
fc2a748cd4
commit
5983b00e6e
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ func joinListener(event *events.GuildMemberJoin) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func leaveListener(event *events.GuildMemberLeave) {
|
func leaveListener(event *events.GuildMemberLeave) {
|
||||||
user := event.Member.User
|
user := event.User
|
||||||
|
|
||||||
if event.GuildID.String() != registerGuildID.String() {
|
if event.GuildID.String() != registerGuildID.String() {
|
||||||
event.Client().Logger().Error("leave from an other guild")
|
event.Client().Logger().Error("leave from an other guild")
|
||||||
|
|
Loading…
Reference in a new issue