patch c659a2d6a4a69276aaa838c05e8fd6f3988cefdc
Author: E. Bosch <presidev@AT@gmail.com>
Date: Tue Mar 8 21:57:51 CET 2022
* irc: Add initial help message from service
hunk ./irc.py 186
- user.registered = True
- await self.send_greeting(user)
+ await self.register(user)
hunk ./irc.py 216
- user.registered = True
- await self.send_greeting(user)
+ await self.register(user)
hunk ./irc.py 414
+ async def register(self, user):
+ user.registered = True
+ await self.send_greeting(user)
+ await self.send_help(user)
hunk ./irc.py 498
+ async def send_help(self, user):
+ for line in (
+ 'Welcome to irgramd service',
+ 'use /msg {} help'.format(self.service_user.irc_nick),
+ 'to get help',
+ ):
+ await self.send_msg(self.service_user, user.irc_nick, line)
+