mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
fix the everyone role mentioning (#1032)
This commit is contained in:
parent
8d966932a9
commit
3451367591
1 changed files with 1 additions and 0 deletions
|
|
@ -321,6 +321,7 @@ class Role {
|
|||
* @returns {string}
|
||||
*/
|
||||
toString() {
|
||||
if (this.id === this.guild.id) return '@everyone';
|
||||
return `<@&${this.id}>`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue