diff options
author | 2021-12-22 01:46:19 +0400 | |
---|---|---|
committer | 2021-12-22 01:46:19 +0400 | |
commit | af895ac1ef00c725c8c050f3b80ea91518b43a7a (patch) | |
tree | 6af1780900ab96e8fde3e77f1b140b399f80df5c | |
parent | Merge pull request #10 from python-discord/thread-support (diff) | |
parent | Fix on_thread_update as it takes 2 args, not one (diff) |
Merge pull request #12 from python-discord/fix-thread-update-event
Fix on_thread_update as it takes 2 args, not one
-rw-r--r-- | metricity/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metricity/bot.py b/metricity/bot.py index 42924b1..ea5973e 100644 --- a/metricity/bot.py +++ b/metricity/bot.py @@ -181,7 +181,7 @@ async def on_guild_channel_update(_before: Messageable, channel: Messageable) -> @bot.event -async def on_thread_update(thread: Messageable) -> None: +async def on_thread_update(_before: Messageable, thread: Messageable) -> None: """Sync the channels when one is updated.""" await db_ready.wait() |