diff --git a/package.json b/package.json index c2a1b87..88044d3 100644 --- a/package.json +++ b/package.json @@ -27,13 +27,14 @@ }, "dependencies": { "axios": "^0.19.2", - "eris": "bsian03/eris#bsian", + "eris": "^0.13.3", "eris-pagination": "bsian03/eris-pagination", "express": "^4.17.1", "helmet": "^3.22.0", "moment": "^2.25.3", "mongoose": "^5.9.13", "nodemailer": "^6.4.8", + "pluris": "^0.2.5", "signale": "^1.4.0", "uuid": "^8.0.0", "yaml": "^1.9.2" diff --git a/src/class/Client.ts b/src/class/Client.ts index f6bafa9..417b747 100644 --- a/src/class/Client.ts +++ b/src/class/Client.ts @@ -1,10 +1,13 @@ import eris from 'eris'; +import pluris from 'pluris'; import mongoose from 'mongoose'; import { promises as fs } from 'fs'; import { Collection, Command, LocalStorage, Util, ServerManagement, Event } from '.'; import { File, FileInterface, Member, MemberInterface, Moderation, ModerationInterface, Note, NoteInterface, PagerNumber, PagerNumberInterface, Rank, RankInterface, Redirect, RedirectInterface, Stat, StatInterface } from '../models'; import { Config } from '../../types'; // eslint-disable-line +pluris(eris); + export default class Client extends eris.Client { public config: Config; diff --git a/yarn.lock b/yarn.lock index a86aef4..24ddf67 100644 --- a/yarn.lock +++ b/yarn.lock @@ -603,9 +603,10 @@ eris-reactions@^0.1.2: resolved "https://registry.yarnpkg.com/eris-reactions/-/eris-reactions-0.1.2.tgz#2d4edbf5f80dc964f0bb42fd301d3d8a141a5aa1" integrity sha512-p497xAdNsw3RRfAoklYemWRk1HT22rBmRaiemG6TVZ1yPTuQf41r4GteyKOJZ3hkphD3Rte7/1GiZwPzUNOHcw== -eris@bsian03/eris#bsian: - version "0.13.1" - resolved "https://codeload.github.com/bsian03/eris/tar.gz/b363a59225db374eca1547adba201310cb3489f4" +eris@^0.13.3: + version "0.13.3" + resolved "https://registry.yarnpkg.com/eris/-/eris-0.13.3.tgz#22abb71f9ce0d453200b537cad457dc39c7b302b" + integrity sha512-WBtLyknOWZpYZL9yPhez0oKUWvYpunSg43hGxawwjwSf3gFXmbEPYrT8KlmZXtpJnX16eQ7mzIq+MgSh3LarEg== dependencies: ws "^7.2.1" optionalDependencies: @@ -1668,6 +1669,15 @@ pkg-dir@^2.0.0: dependencies: find-up "^2.1.0" +pluris@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/pluris/-/pluris-0.2.5.tgz#e98d8e0e7a49432b8bfe168b46e919e55405259e" + integrity sha512-K7UsbUn7uKflcnLRwN9g4sSlFsGYtM+sYhrO+nFrNTay/Gn6wTnhZlMbiIg1dXIy6+gnpVQZqVGghmBJb9t1Pg== + dependencies: + eris "^0.13.3" + optionalDependencies: + eris-reactions "^0.1.2" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"