Available methods

getMe()

A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.

parameters

this method takes no parameters.

returns

User

usage in yaebal

getMe is directly typed on Api — call it straight off bot.api.

bot.ts
await bot.api.getMe();