Invoke warn with all positional args (#47)

This commit is contained in:
TSRBerry 2023-05-01 22:14:35 +02:00 committed by GitHub
parent 2506aa6437
commit 18970723e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(