Closed michielbdejong closed 3 years ago
this is occurring because it's trying to call user.bot?
when user
is nil. i'll add a condition to check for this edge case, but otherwise, @JustinBack, how would you like to label nil users?
to be specific, user
is nil when it doesn't exist in the database.
fixed in production
this is occurring because it's trying to call
user.bot?
whenuser
is nil. i'll add a condition to check for this edge case, but otherwise, @JustinBack, how would you like to label nil users?
Then just skip the label for null users, I haven't seen any checks for null users in the other code
Nvm that!
I see now that "someone" is a deleted user, so I have changed the behaviour of the username function. Thanks @madoleary for fixing the bug!
See https://edit.tosdr.org/services/2399