Run Black and use exc_info in logger.error

This commit is contained in:
2022-12-05 13:13:47 +01:00
parent 25cee0c9df
commit 31524f5e00
4 changed files with 74 additions and 24 deletions

View File

@ -39,7 +39,9 @@ def create_settings_file(settings_file) -> None:
# Both options are commented out by default.
webhooks = table()
webhooks.add(comment('"First webhook" = "https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz"'))
webhooks.add(comment('"Second webhook" = "https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz"'))
webhooks.add(
comment('"Second webhook" = "https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz"')
)
# [database]
# Option is commented out by default.