You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.primary_channels=set(self.config.get('BOT','PRIMARY_CHANNELS', '', 'Important bot messages will be sent to Ops in these channels.').split(';') ifself.config.get('BOT','PRIMARY_CHANNELS', "").strip() else [])
121
-
self.about_msg=self.config.get('BOT', 'ABOUT_MSG', '', 'A message with info about the bot (owners, authors, more info, etc).')
122
121
123
122
self.allowunregistered=self.config.getb('AUTH', 'ALLOWUNREGISTERED', "true", 'Can users without a registered nick emit commands?')
124
123
self.authtimeout=self.config.geti('AUTH', 'TIMEOUT', "60", 'User authentication refresh delay in seconds. User auth will be considered valid for this period.')
self.registerCommand('shutdown', self.killSelf, ['admin'], 0, 0, "", "Kills the bot.")
197
197
198
198
self.registerCommand('help', self.helpcmd, ['any'], 0, 1, "[<command>|*]", "Lists available commands or help about a specific command.", allowpub=True)
199
-
ifself.about_msgandself.about_msg!='':
200
-
self.registerCommand('about', self.aboutcmd, ['any'], 0, 0, '', 'About this bot.', allowpub=True)
0 commit comments