[fractale module] Fixed missing help

This commit is contained in:
Suwako Moriya 2019-03-04 08:56:55 +01:00
parent addccb437c
commit 6783079cb1

View File

@ -60,12 +60,15 @@ class MainClass():
%s```""" % '\n'.join(['......: %s' % t for t in self.fractals.keys()])
async def on_message(self, message):
async with message.channel.typing():
args = message.content.split(" ")
if len(args) == 1:
await self.modules['help'][1].send_help(message.channel, self)
elif len(args) == 2:
if args[1] in self.fractals.keys():
await self.send_fractal(message, args[1]+' '+' '.join(['*']*len(self.fractals[args[1]]['ParseData'])))
else:
await self.modules['help'][1].send_help(message.channel, self)
elif len(args) == 3:
if args[1] == "info" and args[2] in self.fractals.keys():
description = """\