yield from self.help_heading(message)
elif command in ['from', 'to']:
yield from self.navigate(message, args)
+ else:
+ yield from bot.say(message.channel, '?')
@asyncio.coroutine
def help_heading(self, message, *args):
else:
break
+ for k in ['from', 'to']:
+ if k not in parsed:
+ yield from bot.say(message.channel, '{} where?'.format(k))
+ return None
+
if not ok:
log.info('Failed to parse heading. Got: {}'.format(parsed))
yield from bot.say(message.channel, '{}?'.format(arg))