generated from Nemesis/Exemple
recherche kapoue
This commit is contained in:
parent
76156024fd
commit
cd09214301
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ def statistiques(room,event):
|
|||
usrstats2.char = usrstats1.char
|
||||
|
||||
# si kapoue, recup nb kapoue +1, 1 sinon
|
||||
if (re.match("KAPOUE|[Kk]apoue", self._str)):
|
||||
if (re.match("KAPOUE|[Kk]apoue", event['content']['body'])):
|
||||
if (usrstats1.kapoue >= usrstats2.kapoue):
|
||||
usrstats2.kapoue = usrstats1.kapoue + 1
|
||||
usrstats1.kapoue = usrstats2.kapoue
|
||||
|
|
Loading…
Reference in a new issue