From 09a279861c34dd535be182b36bdeaa0eb417dd23 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 11 Jul 2018 01:18:44 +0900 Subject: [PATCH] Capitalize region name --- bots/discord/commands/Region.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bots/discord/commands/Region.go b/bots/discord/commands/Region.go index e0c03e29..3669940f 100644 --- a/bots/discord/commands/Region.go +++ b/bots/discord/commands/Region.go @@ -3,6 +3,7 @@ package commands import ( "strings" + "github.com/animenotifier/arn/stringutils" "github.com/bwmarrin/discordgo" ) @@ -63,6 +64,6 @@ func Region(s *discordgo.Session, msg *discordgo.MessageCreate) bool { return true } - s.ChannelMessageSend(msg.ChannelID, "Set region "+region+" for your account!") + s.ChannelMessageSend(msg.ChannelID, "Set region "+stringutils.Capitalize(region)+" for your account!") return true }