aboutsummaryrefslogtreecommitdiff
path: root/question_of_the_day
diff options
context:
space:
mode:
Diffstat (limited to 'question_of_the_day')
-rw-r--r--question_of_the_day/question_of_the_day.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/question_of_the_day/question_of_the_day.py b/question_of_the_day/question_of_the_day.py
index a307552..f6d7086 100644
--- a/question_of_the_day/question_of_the_day.py
+++ b/question_of_the_day/question_of_the_day.py
@@ -412,9 +412,8 @@ class QuestionOfTheDay(commands.Cog):
async def paginate_questions(self, ctx, questions: list):
return [
- x
- for x in redbot.core.utils.chat_formatting.pagify(
- redbot.core.utils.common_filters.filter_various_mentions(
+ *redbot.core.utils.chat_formatting.pagify(
+ discord.utils.escape_mentions(
"\n".join(
[
f"{i + 1}. {redbot.core.utils.chat_formatting.bold(question['question'])} by "