Skip to content

eludris-community/evangeline

Repository files navigation

evangeline

An API wrapper for Eludris written in TypeScript (works with JavaScript as well).

Installation

npm install evangeline

or

yarn add evangeline

Basic Usage

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();

Notice

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 💜.

License

MIT License

Copyright (c) 2022-present Sham