From 58fe7e28b31a37a20fe2dff4463b5184a8340fb3 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 21 Dec 2023 18:20:21 +0530 Subject: Add more docstrings --- question_of_the_day/question_of_the_day.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'question_of_the_day/question_of_the_day.py') 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( -- cgit v1.2.3-57-g22cb