From 545b120b57e23df07b1e0419f7145f32abf8ee4a Mon Sep 17 00:00:00 2001 From: klemek Date: Mon, 11 Jan 2021 19:59:17 +0100 Subject: [PATCH] v0.0.2: answer capability --- miniscord/_bot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/miniscord/_bot.py b/miniscord/_bot.py index 0de277c..70a4770 100644 --- a/miniscord/_bot.py +++ b/miniscord/_bot.py @@ -133,7 +133,11 @@ class Bot(object): command.regex, args[1].lower() if self.lower_command_names else args[1], ): - await message.channel.send(command.help_long) + await message.channel.send( + command.help_long, + reference=message if self.answer else None, + mention_author=self.answer_mention, + ) return await message.channel.send( f"Command `{sanitize_input(args[1])}` not found",