remove insecure clear command from bot

CLI command replaces it safely
This commit is contained in:
Lili (Tlapka) 2022-09-26 11:11:31 +02:00
parent 8bbe273df4
commit 8311e6f40e
1 changed files with 0 additions and 2 deletions

View File

@ -50,6 +50,4 @@ def owncast_webhook():
# Forces name update in case bot didn't catch the NAME_CHANGE
# event. Theoretically only needed when bot was off.
change_display_name(db, user_id, display_name)
elif "!clear" in data["eventData"]["body"]:
clear_redeem_queue(db)
return data