aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar SomeHybrid <[email protected]>2023-08-27 19:51:22 +0700
committerGravatar GitHub <[email protected]>2023-08-27 19:51:22 +0700
commitbda41cb204c3303a74ab199448d391120155286b (patch)
treeb8b5bb0ff6cd21303928b74d81b986281a74784d /bot/bot.py
parentChanged cooldown to 5s, removed description if abstract not found (diff)
parentholidayreact: add alternate spellings to February (#1214) (diff)
Merge branch 'python-discord:main' into main
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)