Fixed command parsing; fixed help command; updated start.sh for the port i use
This commit is contained in:
parent
10d0098a0f
commit
8b4885af76
|
@ -1,5 +1,5 @@
|
|||
[commands]
|
||||
!help = Commands {command}
|
||||
!help = Commands {commands}
|
||||
!backseat = **No backseating** unless {botowner} specifically asks for help
|
||||
!hydrate = [HYDRATE] {sender} wants {botowner} to take a drink!
|
||||
!stretch = [STRETCH] {sender} reminds {botowner} to stretch!
|
||||
|
|
|
@ -107,7 +107,7 @@ def process_placeholders(sender, param, text):
|
|||
|
||||
def process_chat(data):
|
||||
sender = data["user"]["displayName"]
|
||||
text = data["body"]
|
||||
text = data["body"][3:-4]
|
||||
command_reply = get_command(text)
|
||||
logging.info("<{}> {}".format(sender, text))
|
||||
|
||||
|
|
Loading…
Reference in New Issue