fix nil map

master
Marc 2021-05-28 18:16:44 +01:00
parent e3e42c7fe2
commit 98ccc962ea
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ func (f *Features) RegisterCommand(name string, description string, adminonly bo
}
func (f *Features) RegisterHandlers() {
f.ScuzzyCommands = make(map[string]ScuzzyCommand)
// Misc Commands
f.RegisterCommand("help", "Show Help Text", false, f.handleHelp)
f.RegisterCommand("info", "Show Bot Info", false, f.handleInfo)