mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2024-11-24 23:03:45 +03:00
Update icmp.py
fix "markdowning" message
This commit is contained in:
parent
427ac8a092
commit
e66afe0757
|
@ -25,7 +25,7 @@ class ICMPCheckerHandler(CheckerBaseHandler):
|
||||||
try:
|
try:
|
||||||
args = await self.process_args(message.text)
|
args = await self.process_args(message.text)
|
||||||
except NotEnoughArgs:
|
except NotEnoughArgs:
|
||||||
return await message.answer(icmp_help_message)
|
return await message.answer(icmp_help_message, parse_mode="Markdown")
|
||||||
except LocalhostForbidden:
|
except LocalhostForbidden:
|
||||||
return await message.answer(self.localhost_forbidden_message, parse_mode="Markdown")
|
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]))
|
await self.check(message.chat.id, message.bot, dict(target=args[0], target_fq=args[0]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user