From 5acf9f3f2284d1c00c86d1bab2f861494f862840 Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Tue, 25 Aug 2020 01:32:03 +0200 Subject: [PATCH] Discord: fix invalid role mention generation --- discord/guild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.go b/discord/guild.go index 7a22bec..e291071 100644 --- a/discord/guild.go +++ b/discord/guild.go @@ -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