Skip to content

Commit

Permalink
Update Pyramid_StreamlabsSystem.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aseroff authored Mar 1, 2019
1 parent 2fd15e0 commit a079e83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Pyramid_StreamlabsSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ def Execute(data):
Parent.AddPoints(data.User,data.UserName,reward)
reset()
elif (count > 1):
reset()
if (data.UserName == user):
Parent.SendStreamMessage(settings["responseChoked"].replace("$user", data.UserName))
reset()
Parent.SendStreamMessage(settings["responseChoked"].replace("$user", data.UserName))
else:
Parent.SendStreamMessage(settings["responseBlocked"].replace("$user", data.UserName))
reset()
Parent.SendStreamMessage(settings["responseBlocked"].replace("$user", data.UserName))
else:
if (len(data.Message.strip().split(" ")) == 1):
user = data.UserName
Expand Down

0 comments on commit a079e83

Please sign in to comment.