remove prefix comment

This commit is contained in:
Lili (Tlapka) 2023-01-04 12:41:12 +01:00
parent 6a3e74cdec
commit f1dfb79f2c
1 changed files with 1 additions and 1 deletions

View File

@ -47,6 +47,6 @@ def owncast_webhook():
change_display_name(db, user_id, display_name) change_display_name(db, user_id, display_name)
if data["eventData"]["user"]["authenticated"]: if data["eventData"]["user"]["authenticated"]:
remove_duplicate_usernames(db, user_id, display_name) remove_duplicate_usernames(db, user_id, display_name)
elif data["eventData"]["body"].startswith(prefix): # TODO: make prefix configurable elif data["eventData"]["body"].startswith(prefix):
handle_redeem(data["eventData"]["body"], user_id) handle_redeem(data["eventData"]["body"], user_id)
return data return data