def parse_body(self, msg):
# TODO not totally true regarding task and rate limiting
if "info" in self.used_channel:
- return Action(msg=''': I'm a bot, my job is to extract <title> tags from posted URLs. In case I'm annoying or for further
- questions, please talk to my master %s. I'm rate limited.
+ return Action(msg=f""": I'm a bot named {conf_get('bot_nickname')}, my job is to extract <title> tags from posted URLs. In case I'm annoying or for further
+ questions, please talk to my master {conf_get('bot_owner')}. I'm rate limited.
To make me exit immediately, highlight me with 'hangup' in the message
- (emergency only, please). For other commands, highlight me with 'help'.''' % (
- conf_get('bot_owner')))
+ (emergency only, please). For other commands, highlight me with 'help'.""")
else:
return Action(msg='My source code can be found at %s' % conf_get('src-url'))