Skip to content

Better slash command registration/unregistration#30

Merged
AnthonyKwon merged 7 commits into
masterfrom
manual-register-and-separate-unregister
Mar 31, 2024
Merged

Better slash command registration/unregistration#30
AnthonyKwon merged 7 commits into
masterfrom
manual-register-and-separate-unregister

Conversation

@AnthonyKwon
Copy link
Copy Markdown
Owner

@AnthonyKwon AnthonyKwon commented Mar 31, 2024

Automatic registration is convenient, but it might exceed the API quota and cause an error or severe launch delay.

  • made register manual so user can run register only when needed.
  • separated unregister code for better maintenance.
  • added registerAndRun, registerAndRunDev job to correspond to switching to manual.

@AnthonyKwon AnthonyKwon added the enhancement New feature or request label Mar 31, 2024
@AnthonyKwon AnthonyKwon self-assigned this Mar 31, 2024
@AnthonyKwon AnthonyKwon merged commit 0e930cf into master Mar 31, 2024
@AnthonyKwon AnthonyKwon deleted the manual-register-and-separate-unregister branch March 31, 2024 01:21
AnthonyKwon added a commit that referenced this pull request Sep 18, 2025
…unregister

Better slash command registration/unregistration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant