diff options
| author | 2021-12-21 21:42:14 +0000 | |
|---|---|---|
| committer | 2021-12-21 21:42:14 +0000 | |
| commit | 0bfc0a5c6700b7137b1f91ab2a14e1cb0d1d5779 (patch) | |
| tree | 6af1780900ab96e8fde3e77f1b140b399f80df5c | |
| parent | Merge 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.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() | 
