aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-12-22 01:46:19 +0400
committerGravatar GitHub <[email protected]>2021-12-22 01:46:19 +0400
commitaf895ac1ef00c725c8c050f3b80ea91518b43a7a (patch)
tree6af1780900ab96e8fde3e77f1b140b399f80df5c
parentMerge pull request #10 from python-discord/thread-support (diff)
parentFix 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.py2
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()