Update icmp.py

fix "markdowning" message
This commit is contained in:
kiriharu 2021-01-06 03:09:45 +03:00 committed by GitHub
parent 427ac8a092
commit e66afe0757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ class ICMPCheckerHandler(CheckerBaseHandler):
try:
args = await self.process_args(message.text)
except NotEnoughArgs:
return await message.answer(icmp_help_message)
return await message.answer(icmp_help_message, parse_mode="Markdown")
except LocalhostForbidden:
return await message.answer(self.localhost_forbidden_message, parse_mode="Markdown")
await self.check(message.chat.id, message.bot, dict(target=args[0], target_fq=args[0]))