aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-08-23 10:31:24 +0100
committerGravatar wookie184 <[email protected]>2023-08-23 10:31:24 +0100
commit6ebc2806b1b2737c27c090da324d85577ea67fb6 (patch)
tree1fb65b1dd1c8185bab4874dfc8fe5e272f20de3d /bot/bot.py
parentHandle snakes without images (diff)
parentCorrected attribute name to fetch github url in extensions.py (#1348) (diff)
Merge branch 'main' into snakes-cleanup
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 0b20ac54..c81bfc5f 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -39,7 +39,7 @@ class Bot(BotBase):
else:
await super().on_command_error(context, exception)
- async def log_to_dev_log(self, title: str, details: str = None, *, icon: str = None) -> None:
+ async def log_to_dev_log(self, title: str, details: str | None = None, *, icon: str | None = None) -> None:
"""Send an embed message to the dev-log channel."""
devlog = self.get_channel(constants.Channels.devlog)