diff --git a/sopel_modules/SpiceBot/Read.py b/sopel_modules/SpiceBot/Read.py index ae487e0..c69894c 100644 --- a/sopel_modules/SpiceBot/Read.py +++ b/sopel_modules/SpiceBot/Read.py @@ -246,6 +246,9 @@ class BotRead(): def command_defaults(self, dict_from_file): + if "?default" not in list(dict_from_file.keys()): + dict_from_file["?default"] = {} + # the command must have an author if "author" not in list(dict_from_file.keys()): dict_from_file["author"] = "deathbybandaid"