diff --git a/src/discord/showcase.go b/src/discord/showcase.go index ad2dda0..b3732e3 100644 --- a/src/discord/showcase.go +++ b/src/discord/showcase.go @@ -780,7 +780,7 @@ func messageHasLinks(content string) bool { return false } -var REDiscordTag = regexp.MustCompile(`>([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)`) +var REDiscordTag = regexp.MustCompile(`&([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)`) func getDiscordTags(content string) []string { matches := REDiscordTag.FindAllStringSubmatch(content, -1) diff --git a/src/templates/src/project_edit.html b/src/templates/src/project_edit.html index 6c4711d..37e2617 100644 --- a/src/templates/src/project_edit.html +++ b/src/templates/src/project_edit.html @@ -78,7 +78,7 @@ value="{{ .ProjectSettings.Tag }}" />
e.g. "imgui" or "text-editor". Tags must be all lowercase, and can use hyphens to separate words.
-
If you have linked your Discord account, any #project-showcase messages with the tag ">" will automatically be associated with this project.
+
If you have linked your Discord account, any #project-showcase messages with the tag "&" will automatically be associated with this project.
{{ if and .Editing .User.IsStaff }}