From 05d2d23eeb5878f1cae3186767dca7e0f9baebc4 Mon Sep 17 00:00:00 2001 From: oddluck <39967334+oddluck@users.noreply.github.com> Date: Fri, 7 Feb 2020 09:49:01 +0000 Subject: [PATCH] BotLibre: update README. --- BotLibre/README.md | 2 +- Jeopardy/plugin.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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: