Skip to content

feat: implemented discord bot#8

Merged
barrymichaeldoyle merged 1 commit into
mainfrom
feat/discord-bot
Apr 17, 2026
Merged

feat: implemented discord bot#8
barrymichaeldoyle merged 1 commit into
mainfrom
feat/discord-bot

Conversation

@barrymichaeldoyle
Copy link
Copy Markdown
Owner

What

This implements the discord bot 🚀

You can install it to your server here: https://grand-yak-92.convex.site/discord/install

Closes #6

@barrymichaeldoyle barrymichaeldoyle added the discord-bot Relates to the Discord bot label Apr 17, 2026
@barrymichaeldoyle barrymichaeldoyle self-assigned this Apr 17, 2026
@barrymichaeldoyle barrymichaeldoyle merged commit 29403d7 into main Apr 17, 2026
1 check passed
@barrymichaeldoyle barrymichaeldoyle deleted the feat/discord-bot branch April 17, 2026 15:43
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 17, 2026

Caution

Review failed

Pull request was closed or merged during review

Walkthrough

This pull request introduces Discord Bot support to the Patch Pulse platform. New documentation pages describe Discord features, slash commands, and installation steps. A new Astro component (AddToDiscordButton) provides Discord install functionality. Backend changes add Discord API interaction handling, slash command processing (npmtrack, npmuntrack, npmlist), OAuth installation flow, and request signature verification. The database schema is extended with a discordSubscriberDetails table for Discord guild metadata. The polling system is updated to format and send notifications to Discord channels. Environment variables for Discord credentials are added, and HTTP endpoints handle Discord OAuth redirects, slash command interactions, and global command registration.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: implemented discord bot' clearly and concisely summarizes the main change—implementing Discord bot functionality.
Description check ✅ Passed The description relates to the changeset by stating the Discord bot implementation and providing an install link, matching the PR's core objective.
Linked Issues check ✅ Passed The PR implements all core requirements from issue #6: slash commands (/npmtrack, /npmuntrack, /npmlist), automatic notifications, typed slash-command options, and no default channel requirement.
Out of Scope Changes check ✅ Passed All changes are directly tied to Discord bot implementation: new Discord API/command handlers, schema extensions, documentation, and environment variables. No unrelated changes detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/discord-bot

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

discord-bot Relates to the Discord bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discord Bot — Community Discussion

1 participant