UNPKG

eris-msgs-backup

Version:

Forward your server messages to another server, with webhooks!

28 lines (20 loc) 560 B
# Eris Messages Backup [![NPM version](https://img.shields.io/npm/v/eris-msgs-backup.svg?style=flat-square)](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(); ```