An API wrapper for Eludris written in TypeScript (works with JavaScript as well).
npm install evangeline
or
yarn add evangeline
import { Bot } from 'evangeline'; // ES modules
// const { Bot } = require('evangeline'); // CommonJS modules
const bot = new Bot('new bot name');
bot.on("messageCreate", async (msg) => {
switch(msg.content) {
case "!ping":
await bot.send("pong!");
case "!speed":
await bot.send("Am I fast?");
}
});
bot.connect();
It is worth noting that Evangeline is currently in development, and likely does not work properly as of yet. If you would like to contribute, please feel free to do so, by making a Pull Request, or giving me some tips in the Eludris guild 💜.
MIT License
Copyright (c) 2022-present Sham
Generated using TypeDoc