mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2024-11-21 21:46:32 +03:00
markdown parse mode for ipcalc help messages, hotfix
This commit is contained in:
parent
5ab4d79b6e
commit
4501018078
|
@ -27,9 +27,9 @@ class IPCalcCommandHandler(SimpleCommandHandler):
|
|||
args = await self.process_args(message.text)
|
||||
network = ipaddress.ip_network(args[1], False)
|
||||
except NotEnoughArgs:
|
||||
await message.answer(self.help_message)
|
||||
await message.answer(self.help_message, parse_mode='Markdown')
|
||||
except ValueError:
|
||||
await message.answer(self.help_message)
|
||||
await message.answer(self.help_message, parse_mode='Markdown')
|
||||
else:
|
||||
msg = await self.prepare_message(network)
|
||||
await message.answer(msg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user