aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-21 21:42:14 +0000
committerGravatar Chris Lovering <[email protected]>2021-12-21 21:42:14 +0000
commit0bfc0a5c6700b7137b1f91ab2a14e1cb0d1d5779 (patch)
tree6af1780900ab96e8fde3e77f1b140b399f80df5c
parentMerge pull request #10 from python-discord/thread-support (diff)
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()