eris-msgs-backup
Version:
Forward your server messages to another server, with webhooks!
28 lines (20 loc) • 560 B
Markdown
# Eris Messages Backup [](https://npmjs.com/package/eris-msgs-backup)
Forward your server messages to another server, with webhooks!
## Installing
```
npm install eris-msgs-backup
```
## Example
```js
const Eris = require("eris");
const bot = new Eris("BOT_TOKEN");
const Backup = require("eris-msgs-backup");
bot.on("ready", () => {
Backup(bot, "myServerID", "backupServerID", {
embeds: true,
files: true,
deleteWebhook: true
});
});
bot.connect();
```