aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-09-27 23:36:53 +0200
committerWilliam Hergès <william@herges.fr>2025-09-27 23:36:53 +0200
commit741c69d8b728934f805b61db8915115e514e2945 (patch)
treed39cdd7d92298f9d2277f16d72d0646e83e6915b
parentbc86bb4859c4537032f9ca8d57ac32cc14dbd629 (diff)
style(rolereact): ...
because @aspial don't want to follow the format adopted by the project
-rw-r--r--rolereact/manager.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/rolereact/manager.go b/rolereact/manager.go
index 2dadb7d..1288b33 100644
--- a/rolereact/manager.go
+++ b/rolereact/manager.go
@@ -137,7 +137,6 @@ func GetGuildConfigPreloaded(guildID string) *config.GuildConfig {
func FormatEmoji(apiName string) string {
if strings.Contains(apiName, ":") {
return fmt.Sprintf("<:%s>", apiName)
- } else {
- return apiName
}
+ return apiName
}