diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-21 12:50:21 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-21 12:50:21 +0000 |
commit | 58fe7e28b31a37a20fe2dff4463b5184a8340fb3 (patch) | |
tree | 56379d56824439b711b35500d2601032486a29c7 | |
parent | 9c376c3db9e30c0f0d8cf465847d1ffa745fdc1e (diff) | |
download | aps-cogs-58fe7e28b31a37a20fe2dff4463b5184a8340fb3.tar aps-cogs-58fe7e28b31a37a20fe2dff4463b5184a8340fb3.tar.gz aps-cogs-58fe7e28b31a37a20fe2dff4463b5184a8340fb3.zip |
Add more docstrings
-rw-r--r-- | question_of_the_day/question_of_the_day.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/question_of_the_day/question_of_the_day.py b/question_of_the_day/question_of_the_day.py index 029cddb..e4514ba 100644 --- a/question_of_the_day/question_of_the_day.py +++ b/question_of_the_day/question_of_the_day.py @@ -143,6 +143,11 @@ class QuestionOfTheDay(commands.Cog): @qotd.command() @checks.admin_or_permissions(manage_server=True) async def post(self, ctx): + """ + Post a question immediately. + + A question will still be sent at the scheduled time if automatic posting is enabled. + """ channel_id = await self.config.guild(ctx.guild).post_in_channel() if channel_id: await self.send_question_to_channel( |