@@ 45,12 45,12 @@ func InitDiscordBot(s *discordgo.Session) {
router.RegisterDefaultHelpCommand(s, nil)
router.RegisterCmd(&dgc.Command{
- Name: "addDistrict",
- Description: "adds a district to the tracked districts",
- Usage: "addDistrict districtId/name",
- Example: "addDistrict 05113",
+ Name: "addDistricts",
+ Description: "adds one or multiple districts to the tracked districts",
+ Usage: "addDistricts districtId/name",
+ Example: "addDistricts 05113 wolfsburg",
IgnoreCase: true,
- Handler: addDistrict,
+ Handler: addDistricts,
})
router.RegisterCmd(&dgc.Command{
@@ 92,7 92,7 @@ func InitDiscordBot(s *discordgo.Session) {
router.Initialize(s)
}
-func addDistrict(ctx *dgc.Ctx) {
+func addDistricts(ctx *dgc.Ctx) {
if !checkModerator(ctx) {
return
}