fix: remove empty if-pass stubs after db_post calls in complete_game (#38) #71

Closed
cal wants to merge 13 commits from ai/paper-dynasty-discord-38 into main
Showing only changes of commit ed00a97c0d - Show all commits

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)