mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
fix the everyone role mentioning (#1032)
This commit is contained in:
@@ -321,6 +321,7 @@ class Role {
|
||||
* @returns {string}
|
||||
*/
|
||||
toString() {
|
||||
if (this.id === this.guild.id) return '@everyone';
|
||||
return `<@&${this.id}>`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user