Add auth check support to bot.expose