forked from rDrama/rDrama
1
0
Fork 0

make gumroad warnings more prominent

master
Aevann 2023-02-06 05:39:44 +02:00
parent 47b9edfaf3
commit ed41a660fb
1 changed files with 2 additions and 4 deletions

View File

@ -1350,10 +1350,8 @@ if KOFI_TOKEN:
def gumroad(): def gumroad():
data = request.values data = request.values
ip = request.headers.get('CF-Connecting-IP') ip = request.headers.get('CF-Connecting-IP')
if ip == '34.193.146.117': if ip != '34.193.146.117':
print('\n\n\n-----------------------\n\n\n/gumroad: ' + ip) print(f'\n\n\n★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★\n\n\n/gumroad fail: {ip}\n\n\n★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★\n\n\n', flush=True)
else:
print('\n\n\n-----------------------\n\n\n/gumroad fail: ' + ip + '\n\n\n-----------------------\n\n\n', flush=True)
abort(400) abort(400)
id = data['sale_id'] id = data['sale_id']