fix: update owner_only to use Cal's correct Discord ID
All checks were successful
Build Docker Image / build (push) Successful in 1m22s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-05 15:57:25 -06:00
parent 0aafc3fa46
commit ed00a97c0d

View File

@ -111,7 +111,8 @@ def get_player_url(team, player) -> str:
def owner_only(ctx) -> bool:
"""Check if user is the bot owner."""
# ID for discord User Cal
owners = [287463767924137994, 1087936030899347516]
owners = [258104532423147520]
# owners += [287463767924137994, 1087936030899347516]
# Handle both Context (has .author) and Interaction (has .user) objects
user = getattr(ctx, "user", None) or getattr(ctx, "author", None)