diff --git a/main.go b/main.go index 69ea692..34e5d6c 100644 --- a/main.go +++ b/main.go @@ -46,6 +46,9 @@ func Bot() { // Count servers guilds := s.State.Guilds log.Debugf("Connected to %d server%s", len(guilds), Plural(len(guilds))) + + // Load the session + tryReload() }) // Open the session @@ -82,9 +85,6 @@ func Bot() { registeredCommands[definitionIndex] = command } - // Load the session - tryReload() - // Wait here until CTRL-C or other term signal is received. log.Println("Press Ctrl+C to exit") <-stop