Made avatar retrieval optional by introducing the allow action gate.

This commit is contained in:
Lyncoln
2026-10-26 09:44:54 -04:00
parent 92b6fb3aa0
commit 6cd35d7d64
4 changed files with 48 additions and 36 deletions
@@ -1,9 +1,13 @@
import os
name = "Get User Avatar"
kind = "action"
alias = "getavatar"
allowaction = bool(os.environ.get("UPDATE_AVATARS", True))
showstatus = True
isrequest = True