mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
5cfb88028e
commit
1d85859124
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user