Obfuscate W|A more

This commit is contained in:
Tanner Collin 2022-09-06 18:39:01 -06:00
parent d0e4032e63
commit e4d71f9dc9

View File

@ -149,12 +149,19 @@ def think_send(query):
elif len(result) == 0 and not img_url:
result = 'Error'
result = result.replace('Wolfram|Alpha', 'Protovac')
result = result.replace('Stephen Wolfram', 'Tanner') # lol
result = result.replace('and his team', '')
if '(according to' in result:
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
skip_input = False