Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コマンドの登録処理が効率化されないことがある #1343

Closed
2 tasks done
MikuroXina opened this issue May 31, 2024 · 0 comments · Fixed by #1345
Closed
2 tasks done

コマンドの登録処理が効率化されないことがある #1343

MikuroXina opened this issue May 31, 2024 · 0 comments · Fixed by #1345
Labels
C-bug Category: bug

Comments

@MikuroXina
Copy link
Collaborator

MikuroXina commented May 31, 2024

バグレポートの提出を行う前に

  • すでに同じバグを報告するIssueが存在しないか確認しましたか?
  • セキュリティーに関する不具合ではありませんか? セキュリティーに関する不具合はIssueで報告せず適切な方法で報告してください

バグの詳細

このボットの起動時にアプリケーションコマンドを Discord REST API 経由で登録しているが, その際に登録済みのコマンドはスキップして効率的に登録処理を行うはずである. しかし, 実際には全件の登録処理が行われて起動に無駄に時間がかかっていることがある.

再現方法

README などの指示通りにボットを起動する.

期待する動作

2 回目以降の起動で登録処理がスキップされる.

はらちょのバージョン

v1.53.0

追加情報

該当の実装コード箇所:

export const registerCommands = async ({

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant