Discord: fix invalid role mention generation
This commit is contained in:
parent
7d5cc89ff0
commit
5acf9f3f22
|
@ -307,7 +307,7 @@ type Role struct {
|
||||||
|
|
||||||
// Mention returns the mention of the Role.
|
// Mention returns the mention of the Role.
|
||||||
func (r Role) Mention() string {
|
func (r Role) Mention() string {
|
||||||
return "<&" + r.ID.String() + ">"
|
return "<@&" + r.ID.String() + ">"
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://discord.com/developers/docs/topics/gateway#presence-update
|
// https://discord.com/developers/docs/topics/gateway#presence-update
|
||||||
|
|
Loading…
Reference in New Issue