fix the everyone role mentioning (#1032)

This commit is contained in:
Gus Caplan
2016-12-28 13:04:54 -06:00
committed by Amish Shah
parent 8d966932a9
commit 3451367591

View File

@@ -321,6 +321,7 @@ class Role {
* @returns {string} * @returns {string}
*/ */
toString() { toString() {
if (this.id === this.guild.id) return '@everyone';
return `<@&${this.id}>`; return `<@&${this.id}>`;
} }