Capitalize region name
This commit is contained in:
parent
b76920d697
commit
09a279861c
@ -3,6 +3,7 @@ package commands
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/animenotifier/arn/stringutils"
|
||||||
"github.com/bwmarrin/discordgo"
|
"github.com/bwmarrin/discordgo"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -63,6 +64,6 @@ func Region(s *discordgo.Session, msg *discordgo.MessageCreate) bool {
|
|||||||
return true
|
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
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user