Run Black and use exc_info in logger.error

This commit is contained in:
Joakim Hellsén 2022-12-05 13:13:47 +01:00
commit 31524f5e00
No known key found for this signature in database
GPG key ID: 01FD861E3DAC09AC
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.