Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eludris-community/evangeline

An API wrapper for Eludris.
https://github.com/eludris-community/evangeline

eludris eludris-api eludris-wrapper typescript

Last synced: 7 days ago
JSON representation

An API wrapper for Eludris.

Awesome Lists containing this project

README

        

# evangeline

An API wrapper for [Eludris](https://elusite.pages.dev) written in TypeScript
(works with JavaScript as well).

## Installation

```
npm install evangeline
```

or

```
yarn add evangeline
```

## Basic Usage

```ts
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