Prefix: !goal
Synax:
- !goal COMMAND ARGS
+ .goal COMMAND ARGS
Commands:
help - show this help
bot_name,
bot_pwd,
db_file=None,
- bot_prefix='!goal'):
+ bot_prefix='.goal'):
creds = botlib.Creds(matrix_server, bot_name, bot_pwd)
self.bot = botlib.Bot(creds)
if match.command('start'):
goal_id = int(match.args()[1])
- vision_id = self.data.start_goal(goal_id)
- vision,goals = self.data.get_vision(vision_id)
+ vision,goals = self.data.start_goal(goal_id)
results = pretty_print(vision, goals)
return results