set.vision GOAL_ID VISION_ID- associate GOAL_ID with VISION_ID
visions - list incomplete visions
list.done - list completed goals
+ remove ID - remove a task by ID
visionless - list goals with no set vision
'''
self.bot.run()
async def handle_message(self, room, message):
- logger.debug(f'Message: {message}')
match = botlib.MessageMatch(room, message, self.bot, self.prefix)
- if not match.is_not_from_this_bot() and match.prefix():
- logger.debug(f'Message: {message} was not for this bot.')
+ if not match.is_not_from_this_bot():
+ # Let's not talk to our-self
return
+ logger.debug(f'Message: {message}')
if not match.prefix():
logger.debug(f'{message} - did not match {self.prefix}')