fix(core): webhook delete query type, removeMember await#11483
fix(core): webhook delete query type, removeMember await#11483
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details🧰 Additional context used🧠 Learnings (1)📓 Common learnings🪛 GitHub Actions: Testspackages/core/src/api/guild.ts[error] Command failed: pnpm exec turbo run build --filter="...[origin/main]" --concurrency=4 (step packages/core/src/api/webhook.ts[error] 19-19: TypeScript build failed (TS2724): "discord-api-types/v10" has no exported member named 'RESTDeleteAPIWebhookWithTokenMessageQuery'. Did you mean 'RESTGetAPIWebhookWithTokenMessageQuery'? [error] Command failed: pnpm exec turbo run build --filter="...[origin/main]" --concurrency=4 (step 🔇 Additional comments (2)
📝 WalkthroughWalkthroughThe changes refine two API methods in the core package. The Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
removeMember()returns 204. Replaced the return with await.deleteMessage()should be using a type from discord-api-types, which didn't exist. Depends on: