mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 13:10:42 +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