diff --git a/BotLibre/README.md b/BotLibre/README.md index 2108c65..a0289fe 100644 --- a/BotLibre/README.md +++ b/BotLibre/README.md @@ -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]" ``` diff --git a/Jeopardy/plugin.py b/Jeopardy/plugin.py index 1c9f4be..a29b574 100644 --- a/Jeopardy/plugin.py +++ b/Jeopardy/plugin.py @@ -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: