getBotOrNull

尝试获取 Bot.

UserCommandSender 时返回 UserCommandSender.bot, 否则返回 null

契约

本函数定义契约,