v0.0.2: answer capability

This commit is contained in:
klemek
2021-01-11 19:59:17 +01:00
parent f1054f78bb
commit 545b120b57
+5 -1
View File
@@ -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",