BotLibre: update README.

This commit is contained in:
oddluck 2020-02-07 09:49:01 +00:00
parent 67f054098a
commit 05d2d23eeb
2 changed files with 1 additions and 2 deletions

View File

@ -13,5 +13,5 @@ config channel #channel plugins.BotLibre.invalidcommand True
```
Use messapeparser to make the bot respond to messages containing its nick:
```
messageparser add (#channel/global) "(?i)(.*)(your_bot_nick)(.*)" "botlibre $1$3"
messageparser add "(?i)(.*)([echo $botnick])(.*)" "echo [botlibre $1$3]"
```

View File

@ -104,7 +104,6 @@ class Jeopardy(callbacks.Plugin):
self.question = ''
self.currentHint = ''
self.color = self.registryValue('color', channel)
if self.color > 98:
self.color = ''
else: