|
|
@@ -46,6 +46,7 @@ def accept_donation(donation_info, donation_points, donation_service):
|
|
|
def accept_kofi_sub(sub_info, sub_points):
|
|
|
try:
|
|
|
db = get_db()
|
|
|
+ donation_service = "Ko-fi"
|
|
|
is_public = sub_info[0]
|
|
|
name = sub_info[1]
|
|
|
email = sub_info[2]
|
|
|
@@ -74,7 +75,7 @@ def accept_kofi_sub(sub_info, sub_points):
|
|
|
current_app.logger.info(f'Public subscription received from {name}')
|
|
|
else:
|
|
|
message = f'{name} got {porps(points)} for renewing their membership on Kofi!'
|
|
|
- current_app.logger.info(f'Anonymous {donation_service} renewal received.')
|
|
|
+ current_app.logger.info(f'Anonymous {donation_service} subcription renewal received.')
|
|
|
send_chat(message) # Send message publicly if a public membership
|
|
|
else:
|
|
|
if not ids:
|