emotion
This commit is contained in:
parent
90669fd5f5
commit
2af1ca9f28
1 changed files with 13 additions and 5 deletions
10
sweebot.py
10
sweebot.py
|
@ -433,6 +433,10 @@ while True:
|
|||
update()
|
||||
|
||||
elif command[0] == "$patpat" or command[0] == "$headpat":
|
||||
if len(command) == 2:
|
||||
for i in range(1,int(command[1])):
|
||||
happiness += (1 if happiness != 10 else 0)
|
||||
elif len(command) == 1:
|
||||
happiness += (1 if happiness != 10 else 0)
|
||||
multiline(choice(pats) + " (Emotion: Upset " +
|
||||
("#" * int(happiness)) +
|
||||
|
@ -444,7 +448,11 @@ while True:
|
|||
("-" * int(10-happiness)) + " Happy",
|
||||
channel)
|
||||
elif command[0] == "$bap":
|
||||
happiness -= (1 if happiness != 0 else 0)
|
||||
if len(command) == 2:
|
||||
for i in range(1,int(command[1])):
|
||||
happiness -= (1 if happiness != 10 else 0)
|
||||
elif len(command) == 1:
|
||||
happiness -= (1 if happiness != 10 else 0)
|
||||
multiline(choice(baps) + " (Emotion: Upset " +
|
||||
("#" * int(happiness)) +
|
||||
("-" * int(10-happiness)) + " Happy)",
|
||||
|
|
Loading…
Reference in a new issue