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
1 changed files with 1 additions and 1 deletions

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