Base Access
Bot.js has a built-in wrapper only for the things that all the supported platforms have in common. This means that some features are not accessible by default.
This is why, Bot.js exposes the base
wrapper, which contains the client
object that is an instance of the platform-specific library.
Discord
For Discord, the client
object is an instance of the Client
class from the discord.js library.
Telegram
For Telegram, the client
object is an instance of the Bot
class from the node-telegram-bot-api library.
Slack
For Slack, the client
object is an instance of the App
class from the @slack/bolt library.
Whatsapp
For Whatsapp, the client
object is an instance of the twilio
class from the twilio library.
Twitch
For Twitch, the client
object is an instance of the Chat
class from the twitch-js library.
Reddit
For Reddit, the client
object is an instance of the Snoowrap
class from the snoowrap library.