Skip to content

fix: reject zero owner IDs - #205

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/reject-zero-owner-id
Open

vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/reject-zero-owner-id

Conversation

@vycdev2

@vycdev2 vycdev2 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reject OWNER_ID=0 as unconfigured instead of treating it as a valid Discord user ID
  • cover zero-valued owner configuration with a regression case

Verification

  • dotnet test --no-restore --filter 'FullyQualifiedName~AdministratorModuleTests.TryParseOwnerId_RejectsMissingOrInvalidValues' — passed (5/5)
  • dotnet build — passed with 0 warnings and 0 errors
  • dotnet test --no-build — passed (608 passed, 3 skipped)
  • git diff --check — passed

Risk

  • Low. The change only rejects the reserved zero snowflake, which can never identify a Discord user.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant