add ignoreNicks config

This commit is contained in:
Gordon Shumway 2019-12-01 09:33:49 -05:00 committed by GitHub
parent 8b0bb5f837
commit 7f63ebcba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ conf.registerChannelValue(Markovgen, 'stripPattern',
conf.registerChannelValue(Markovgen, 'stripURL',
registry.Boolean(True, _("""Determines whether the bot will strip
URLs from messages.""")))
conf.registerChannelValue(Markovgen, 'ignoreNicks',
registry.SpaceSeparatedListOfStrings([], _("""A list of nicks to be ignored by the bot""")))
conf.registerGroup(Markovgen, 'onNick')
conf.registerChannelValue(Markovgen.onNick, 'probability',