isNullOrBot

fun User?.isNullOrBot(): Boolean

Check whether the given user is null or a bot.

Receiver

Nullable User to check.

Return

true if the user is null or a bot, false otherwise.