Spaces:
Runtime error
Runtime error
Update script.py
Browse files
script.py
CHANGED
@@ -14,7 +14,7 @@ def activate_hausa(command):
|
|
14 |
elif ('akan' in command and 'soƙet' in command.split()) or ('akan' in command and 'soketh' in command.split()) or ('akan' in command and 'soket' in command.split()) or ('a kan' in command and 'soketh' in command.split()) or ('a kan' in command and 'soket' in command.split()):
|
15 |
requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v2=1')
|
16 |
return "Ok, i'm turning on the socket!"
|
17 |
-
elif ('kashi' in command and '
|
18 |
requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v2=0')
|
19 |
return "Ok, i'm turning off the socket!"
|
20 |
else:
|
|
|
14 |
elif ('akan' in command and 'soƙet' in command.split()) or ('akan' in command and 'soketh' in command.split()) or ('akan' in command and 'soket' in command.split()) or ('a kan' in command and 'soketh' in command.split()) or ('a kan' in command and 'soket' in command.split()):
|
15 |
requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v2=1')
|
16 |
return "Ok, i'm turning on the socket!"
|
17 |
+
elif ('kashi' in command and 'soket' in command.split()) or ('ka shi' in command and 'soketh' in command.split()) or ('kashi' in command and 'soket' in command.split()) or ('kashi' in command and 'soƙet' in command.split()) or ('kashe' in command and 'soket' in command.split()) or ('kashe' in command and 'soketh' in command.spilt()):
|
18 |
requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v2=0')
|
19 |
return "Ok, i'm turning off the socket!"
|
20 |
else:
|