diff options
| author | 2021-10-31 15:50:38 +0000 | |
|---|---|---|
| committer | 2021-12-21 19:02:14 +0000 | |
| commit | 229d587023a32a47bc0a7d84cc82d7c72aa5ec20 (patch) | |
| tree | e41b59a820ef47a21d4f2084e519686a5d5096ac | |
| parent | Update stored thread data on thread update (diff) | |
Store what thread a message was sent in
Taking care not to trigger on thread creation system messages.
| -rw-r--r-- | metricity/bot.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/metricity/bot.py b/metricity/bot.py index 2e6b41d..38e12a6 100644 --- a/metricity/bot.py +++ b/metricity/bot.py @@ -359,6 +359,9 @@ async def on_message(message: DiscordMessage) -> None:      if message.guild.id != BotConfig.guild_id:          return +    if message.type == MessageType.thread_created: +        return +      await sync_process_complete.wait()      await channel_sync_in_progress.wait() | 
