From 18970723e7efbc4ce7930791ef0bd8fc59a10e57 Mon Sep 17 00:00:00 2001 From: TSRBerry <20988865+TSRBerry@users.noreply.github.com> Date: Mon, 1 May 2023 22:14:35 +0200 Subject: [PATCH] Invoke warn with all positional args (#47) --- robocop_ng/cogs/logfilereader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/robocop_ng/cogs/logfilereader.py b/robocop_ng/cogs/logfilereader.py index f755e8b..e566381 100644 --- a/robocop_ng/cogs/logfilereader.py +++ b/robocop_ng/cogs/logfilereader.py @@ -729,7 +729,9 @@ class LogFileReader(Cog): ) warn_context = await self.bot.get_context(warn_message) await warn_context.invoke( - warn_command, reason="This log contains a blocked title id." + warn_command, + target=None, + reason="This log contains a blocked title id.", ) else: logging.error(