diff --git a/modules/nr.py b/modules/nr.py index 0dc93b78..1c88bc99 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -125,8 +125,8 @@ class Module(ModuleManager.BaseModule): client = self.client colours = self.COLOURS - eagle_key = self.bot.config["eagle-api-key"] - eagle_url = self.bot.config["eagle-api-url"] + eagle_key = self.bot.config.get("eagle-api-key", None) + eagle_url = self.bot.config.get("eagle-api-url", None) schedule = {} location_code = event["args_split"][0].upper()