remove insecure clear command from bot
CLI command replaces it safely
This commit is contained in:
parent
8bbe273df4
commit
8311e6f40e
|
@ -50,6 +50,4 @@ def owncast_webhook():
|
||||||
# Forces name update in case bot didn't catch the NAME_CHANGE
|
# Forces name update in case bot didn't catch the NAME_CHANGE
|
||||||
# event. Theoretically only needed when bot was off.
|
# event. Theoretically only needed when bot was off.
|
||||||
change_display_name(db, user_id, display_name)
|
change_display_name(db, user_id, display_name)
|
||||||
elif "!clear" in data["eventData"]["body"]:
|
|
||||||
clear_redeem_queue(db)
|
|
||||||
return data
|
return data
|
Loading…
Reference in New Issue