feat: add /mycourses commands #227

Open
jay3332 wants to merge 6 commits from feat/mycourses into main
jay3332 commented 2026-07-18 19:42:46 +00:00 (Migrated from codeberg.org)

Closes #193

This adds the following commands:

  • /mycourses list
  • /mycourses fce
  • /mycourses add <courses...>
  • /mycourses remove <courses...>
  • /mycourses clear

Much of the /fce command was moved into a common handler for /mycourses fce to share

Also, this wasn't mentioned in the issue, but TurtleBot has ?students, should this PR also include that command?

Closes #193 This adds the following commands: - `/mycourses list` - `/mycourses fce` - `/mycourses add <courses...>` - `/mycourses remove <courses...>` - `/mycourses clear` Much of the `/fce` command was moved into a common handler for `/mycourses fce` to share Also, this wasn't mentioned in the issue, but TurtleBot has `?students`, should this PR also include that command?
TenType commented 2026-07-18 22:40:03 +00:00 (Migrated from codeberg.org)

Also, this wasn't mentioned in the issue, but TurtleBot has ?students, should this PR also include that command?

Good idea, let's add that in a separate PR

Maybe with a different command name too? I'm not quite sure about /students, but we can discuss

> Also, this wasn't mentioned in the issue, but TurtleBot has ?students, should this PR also include that command? Good idea, let's add that in a separate PR Maybe with a different command name too? I'm not quite sure about `/students`, but we can discuss
Member

Up next on my radar

sorry for the extended delay :(

Up next on my radar sorry for the extended delay :(
bpwang left a comment

Nice!
All /mycourses commands work as intended
mycourses persist after restarting discord or rebooting dalmatian

Issues:
Some courses are missing from the database, like 16281
The command /mycourses fce 15122 babbd
displays a "course not found" warning but doesn't display babbd. Attached below
image

Nice! All /mycourses commands work as intended mycourses persist after restarting discord or rebooting dalmatian Issues: Some courses are missing from the database, like 16281 The command /mycourses fce 15122 babbd displays a "course not found" warning but doesn't display babbd. Attached below ![image](/attachments/ff344572-7d2f-4046-8135-a215b16569ff)
Some checks are pending
nixbot/nix-eval evaluation failed
Required
Details
nixbot/nix-build merge conflict
Required
Details
CI / checks*
Required
kennel/deploy
Required
This pull request has changes conflicting with the target branch.
  • src/commands/fce.ts
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feat/mycourses:feat/mycourses'
git switch 'feat/mycourses'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/dalmatian!227
No description provided.