From 41cc1d310ff05ee09e7903c380776adf2063fd33 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Mon, 21 May 2018 20:21:55 -0600 Subject: [PATCH] [stable] contains -> includes --- 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; }