1
0
Fork 0
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:
mavolin 2020-08-25 01:32:03 +02:00 committed by diamondburned
parent 7d5cc89ff0
commit 5acf9f3f22

View file

@ -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