added name to content

This commit is contained in:
2024-02-19 12:46:05 +01:00
parent f98b55480c
commit 5223da4617

View File

@@ -89,5 +89,6 @@ func getTagName(guildID string, tagID string) string {
func getTagContent(guildID string, tagID string) string {
var tagContent string
db.QueryRow("SELECT tag_content FROM tags WHERE guild_id = $1 AND tag_id = $2", guildID, tagID).Scan(&tagContent)
return tagContent
return getTagName(guildID, tagID) + ":\n " + tagContent
}