aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/help_channels/_message.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/exts/help_channels/_message.py b/bot/exts/help_channels/_message.py
index d867dd93d..f8f10f774 100644
--- a/bot/exts/help_channels/_message.py
+++ b/bot/exts/help_channels/_message.py
@@ -128,6 +128,9 @@ async def notify_none_remaining(last_notification: Arrow) -> t.Optional[Arrow]:
"""
Send a pinging message in `channel` notifying about there being no dormant channels remaining.
+ If a notification was sent, return the time at which the message was sent.
+ Otherwise, return None.
+
Configuration:
* `HelpChannels.notify_minutes` - minimum interval between notifications
* `HelpChannels.notify_none_remaining` - toggle none_remaining notifications
@@ -171,6 +174,9 @@ async def notify_running_low(number_of_channels_left: int, last_notification: Ar
This will include the number of dormant channels left `number_of_channels_left`
+ If a notification was sent, return the time at which the message was sent.
+ Otherwise, return None.
+
Configuration:
* `HelpChannels.notify_minutes` - minimum interval between notifications
* `HelpChannels.notify_running_low` - toggle running_low notifications