HermesBot
A library for creating a bot for Hermes Messenger. Based on Slimbot, a Telegram bot library.
Creating a bot
Go to https://hermesmessenger.duckdns.org/createBot and create a bot on that page.
Save the token it gives you, since that token is what lets your bot communicate with our API.
Installing the library
This library is published as an NPM module, so you can just install it that way.
npm i hermesbot
Example code
const HermesBot = ;const BOT_TOKEN = "YourBotToken" // Replace 'YourBotToken' with the token you got in Step 1. const bot = BOT_TOKEN; bot; botstart; // Start the bot
Now go ahead and type Hi bot
into Hermes. It should reply to you saying Hi and your username.