mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 09:12:53 +00:00
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.
|
||||
func (r Role) Mention() string {
|
||||
return "<&" + r.ID.String() + ">"
|
||||
return "<@&" + r.ID.String() + ">"
|
||||
}
|
||||
|
||||
// https://discord.com/developers/docs/topics/gateway#presence-update
|
||||
|
|
Loading…
Reference in a new issue