cordlr-plugin
Version:
Cordlr plugin core to extend new plugins from.
25 lines (17 loc) • 556 B
Markdown
# Bot Functions
## botChangeUsername(username)
Changes the bots username
**Parameters**
* `username` (string) - String for the new username
## botChangeGame(game)
Changes the bots game
**Parameters**
* `game` (string) - String for the new game
## botSetAfk(isAfk)
Changes the bot to be AFK
**Parameters**
* `isAfk` (boolean) - Turns the bots AFK status true or false
## botSetAvatar(avatar)
Changes the bots avatar via base64 image or image buffer resolvable
**Parameters**
* `avatar` (object) - Resolveable base64 or buffer