From 3451367591bacf77fb6243659ce3bbd461f35d70 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Wed, 28 Dec 2016 13:04:54 -0600 Subject: [PATCH] fix the everyone role mentioning (#1032) --- src/structures/Role.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/Role.js b/src/structures/Role.js index 5936da0fc..c15ff4be0 100644 --- a/src/structures/Role.js +++ b/src/structures/Role.js @@ -321,6 +321,7 @@ class Role { * @returns {string} */ toString() { + if (this.id === this.guild.id) return '@everyone'; return `<@&${this.id}>`; }