Skip to content

chore: merge dev to main#52

Merged
PalmDevs merged 12 commits intomainfrom
dev
Mar 1, 2026
Merged

chore: merge dev to main#52
PalmDevs merged 12 commits intomainfrom
dev

Conversation

@PalmDevs
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR merges dev into main, introducing a Discord reminder feature (new /remind and /unremind commands plus a ready-time polling job) and switching the bot’s SQLite setup to run Drizzle migrations automatically at startup.

Changes:

  • Add reminder commands and a background reminder dispatcher on ready.
  • Add a new reminders Drizzle schema and enable runtime DB migrations.
  • Commit/copy .drizzle artifacts, bump bot version, and update changelog/gitignore/build script.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
bots/discord/src/events/discord/ready/checkReminders.ts Polls DB for due reminders and sends them to Discord channels on an interval.
bots/discord/src/database/schemas.ts Adds reminders table schema/type.
bots/discord/src/context.ts Replaces ad-hoc schema bootstrap with Drizzle migrator-based startup.
bots/discord/src/commands/utility/remind.ts Implements /remind (create reminder or list user reminders).
bots/discord/src/commands/utility/unremind.ts Implements /unremind (delete a reminder by ID).
bots/discord/scripts/build.ts Keeps .drizzle after copying to dist.
bots/discord/package.json Version bump to 1.6.0-dev.1.
bots/discord/CHANGELOG.md Adds entries for reminder feature and auto-migration.
bots/discord/.gitignore Stops ignoring .drizzle so migrations are committed.
bots/discord/.drizzle/meta/_journal.json Adds Drizzle migration journal metadata.
bots/discord/.drizzle/meta/0000_snapshot.json Adds Drizzle schema snapshot metadata (currently missing reminders).
bots/discord/.drizzle/0000_schema.sql Adds initial migration SQL (currently missing reminders).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PalmDevs PalmDevs requested a review from Copilot February 22, 2026 15:57
# @revanced/discord-bot [1.6.0-dev.2](https://github.com/revanced/revanced-bots/compare/@revanced/discord-bot@1.6.0-dev.1...@revanced/discord-bot@1.6.0-dev.2) (2026-02-22)

### Bug Fixes

* **bots/discord:** add missing database migration file ([f24a8fb](f24a8fb))
* **bots/discord:** off-by-one reminders query + log if query fails ([26680a9](26680a9))

### Features

* **bots/discord/database/schemas:** add indexes on reminders ([99c7422](99c7422))
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PalmDevs PalmDevs marked this pull request as draft February 22, 2026 16:26
@PalmDevs PalmDevs requested a review from Copilot March 1, 2026 11:01
# @revanced/discord-bot [1.6.0-dev.3](https://github.com/revanced/revanced-bots/compare/@revanced/discord-bot@1.6.0-dev.2...@revanced/discord-bot@1.6.0-dev.3) (2026-03-01)

### Bug Fixes

* **bots/discord/database/schemas:** index instead of unique index on reminders ([cafdbc0](cafdbc0))
* **bots/discord:** add min max intervals in `remind` command ([1f1dd74](1f1dd74))
* **bots/discord:** require roles for using utility commands ([b519b56](b519b56))
* **bots/discord:** throw error if nothing inserted during adding reminders ([a94fd74](a94fd74))
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PalmDevs PalmDevs marked this pull request as ready for review March 1, 2026 11:19
@PalmDevs PalmDevs merged commit bdf7dea into main Mar 1, 2026
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.

4 participants