aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-03-18 21:20:36 +0000
committerGravatar Chris <[email protected]>2021-03-18 21:20:36 +0000
commit72eb71d073e19d34d5a31c6e7c7af26a3be5f746 (patch)
treed1fc9c3bddb6131450065eaa96fa501f081ed20e
parentDetermine closing time from last message if either cache is empty, rather tha... (diff)
More descriptive comment for when an if block is entered
-rw-r--r--bot/exts/help_channels/_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/help_channels/_channel.py b/bot/exts/help_channels/_channel.py
index c65b87986..ad683b218 100644
--- a/bot/exts/help_channels/_channel.py
+++ b/bot/exts/help_channels/_channel.py
@@ -38,7 +38,7 @@ async def get_closing_time(channel: discord.TextChannel) -> datetime:
claimant_last_message_time = await _caches.claimant_last_message_times.get(channel.id)
if is_empty or not (non_claimant_last_message_time and claimant_last_message_time):
- # Current help session has no messages, or one of the caches is empty.
+ # Current help session has no messages, or at least one of the caches is empty.
# Use the last message in the channel to determine closing time instead.
msg = await _message.get_last_message(channel)
if not msg: