Obfuscate W|A more
This commit is contained in:
parent
d0e4032e63
commit
e4d71f9dc9
7
main.py
7
main.py
|
@ -149,12 +149,19 @@ def think_send(query):
|
||||||
elif len(result) == 0 and not img_url:
|
elif len(result) == 0 and not img_url:
|
||||||
result = 'Error'
|
result = 'Error'
|
||||||
|
|
||||||
|
result = result.replace('Wolfram|Alpha', 'Protovac')
|
||||||
result = result.replace('Stephen Wolfram', 'Tanner') # lol
|
result = result.replace('Stephen Wolfram', 'Tanner') # lol
|
||||||
result = result.replace('and his team', '')
|
result = result.replace('and his team', '')
|
||||||
|
|
||||||
if '(according to' in result:
|
if '(according to' in result:
|
||||||
result = result.split('(according to')[0]
|
result = result.split('(according to')[0]
|
||||||
|
|
||||||
|
if '(asked' in result:
|
||||||
|
result = result.split('(asked')[0]
|
||||||
|
|
||||||
|
if '(although' in result:
|
||||||
|
result = result.split('(although')[0]
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
skip_input = False
|
skip_input = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user