aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/help_channels/_cog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py
index d9b288280..46817218f 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -114,8 +114,8 @@ class HelpChannels(commands.Cog):
self.bot.stats.incr("help.claimed")
- await _caches.claim_times.set(message.channel.id, message.created_at)
- await _caches.claimant_last_message_times.set(message.channel.id, message.created_at)
+ await _caches.claim_times.set(message.channel.id, message.created_at.timestamp())
+ await _caches.claimant_last_message_times.set(message.channel.id, message.created_at.timestamp())
# Reset thie non_claimant cache for this channel to indicate that this session has yet to be answered.
await _caches.non_claimant_last_message_times.delete(message.channel.id)