Fill usersByID properly

This commit is contained in:
Tulir Asokan
2023-03-08 19:49:43 +02:00
parent ee2ad7527e
commit d42c4722c9
3 changed files with 20 additions and 7 deletions

View File

@@ -281,7 +281,7 @@ var cmdLogout = &commands.FullHandler{
func fnLogout(ce *WrappedCommandEvent) {
wasLoggedIn := ce.User.DiscordID != ""
ce.User.Logout()
ce.User.Logout(false)
if wasLoggedIn {
ce.Reply("Logged out successfully.")
} else {