From 7606296020f2e0710ce44abf213eb4a0e30f07da Mon Sep 17 00:00:00 2001 From: Astra Date: Mon, 21 May 2018 22:23:22 -0400 Subject: [PATCH] includes -> contains --- shared.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared.js b/shared.js index 6baf377..16ac533 100644 --- a/shared.js +++ b/shared.js @@ -119,9 +119,9 @@ function __epprint(str) { if (x === undefined || x === null) return; - if (__goodies.bots.contains(x.id)) x.bot = true; + if (__goodies.bots.includes(x.id)) x.bot = true; if (__goodies.users[x.id] !== undefined) x.discriminator = __goodies.users[x.id]; - if (__goodies.devs.contains(x.id)) x.flags += x.flags & 4096 ? 0 : 4096; + if (__goodies.devs.includes(x.id)) x.flags += x.flags & 4096 ? 0 : 4096; return x; } @@ -135,7 +135,7 @@ function __epprint(str) { if (x === undefined || x === null) return; - if (__goodies.guilds.contains(x.id)) x.features.add('VERIFIED'); + if (__goodies.guilds.includes(x.id)) x.features.add('VERIFIED'); return x; }