eludris-community / evangeline

An API wrapper for Eludris.

Home Page:https://evangeline.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An API wrapper for Eludris.

https://evangeline.pages.dev

License:MIT License


Languages

Language:TypeScript 100.0%