Archived
generated from imcompiling/discord-bot-template
Update settings to fix a smell. Add some spelling words.
build_develop / build (push) Successful in 22s
build_develop / build (push) Successful in 22s
This commit is contained in:
Vendored
+1
-4
@@ -4,8 +4,5 @@
|
|||||||
"reportArgumentType": "information",
|
"reportArgumentType": "information",
|
||||||
"reportAttributeAccessIssue": "warning"
|
"reportAttributeAccessIssue": "warning"
|
||||||
},
|
},
|
||||||
"cSpell.words": [
|
"cSpell.words": ["cakeday", "cakedays", "cooldown", "nextcord"]
|
||||||
"cakeday",
|
|
||||||
"cakedays"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
@@ -35,3 +35,7 @@ class Settings(YAMLWizard):
|
|||||||
|
|
||||||
|
|
||||||
settings = Settings.from_yaml_file(CONFIG_LOCATION)
|
settings = Settings.from_yaml_file(CONFIG_LOCATION)
|
||||||
|
|
||||||
|
# I'm not expecting a list to be returned.
|
||||||
|
if isinstance(settings, list):
|
||||||
|
settings = settings[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user