From 377110892a3ab8143fabb0433f49788d4856291a Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Tue, 21 Jun 2016 16:15:28 -0700 Subject: [PATCH] Fixed typo on admin command message selector --- CHANGELOG.md | 5 ++++- bot/config.go | 2 +- main.go | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e475040..ed2434e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ MumbleDJ Changelog ================== +### June 21, 2016 -- `v3.0.2` +* Fixed typo on admin command header message selector. + ### June 21, 2016 -- `v3.0.1` * Added all strings that are output by commands to `config.yaml` for easier translation and tweaking. @@ -354,4 +357,4 @@ to the root of the server instead. * mumble-music-bot repository created. * Added config.py with some basic configuration options. * Put placeholder methods within the MusicBot object. -* Add run_bot.py. \ No newline at end of file +* Add run_bot.py. diff --git a/bot/config.go b/bot/config.go index d74b117..b523ef4 100644 --- a/bot/config.go +++ b/bot/config.go @@ -108,7 +108,7 @@ func SetDefaultConfig() { viper.SetDefault("commands.help.is_admin", false) viper.SetDefault("commands.help.description", "Outputs this list of commands.") viper.SetDefault("commands.help.messages.commands_header", "
Commands:
") - viper.SetDefault("commands.help.messages.admin_commands.header", "
Admin Commands:
") + viper.SetDefault("commands.help.messages.admin_commands_header", "
Admin Commands:
") viper.SetDefault("commands.joinme.aliases", []string{"joinme", "join"}) viper.SetDefault("commands.joinme.is_admin", true) diff --git a/main.go b/main.go index eb39731..f82a385 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ func init() { services.DJ = DJ bot.DJ = DJ - DJ.Version = "3.0.1" + DJ.Version = "3.0.2" logrus.SetLevel(logrus.WarnLevel) }