diff options
| author | 2021-03-18 21:20:36 +0000 | |
|---|---|---|
| committer | 2021-03-18 21:20:36 +0000 | |
| commit | 72eb71d073e19d34d5a31c6e7c7af26a3be5f746 (patch) | |
| tree | d1fc9c3bddb6131450065eaa96fa501f081ed20e | |
| parent | Determine 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.py | 2 |
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: |