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

Add DM notifications and migrate commands into command groups #18

Merged
merged 6 commits into from
Jun 27, 2024

Conversation

Ghostopheles
Copy link
Owner

DM Notifications

Adds the ability to subscribe to build notifications via DM instead of through the traditional server route. Subscribing to a branch will make Algalon send you a DM every time a build is pushed for that branch.

Tip

DM notifications use a minimized update format, intended to keep the content of the message readable on push notifications if you're on mobile.

You can interact with this system by using the /dm command group. Included commands are as follows:

  • /dm subscribe <branch>
  • /dm unsubscribe <branch>
  • /dm view

As with the existing watchlist commands, both subscribe and unsubscribe support comma-delimited input.

Command restructure

Currently, the commands are structured like a zoo and you end up with commands like /addtowatchlist - which is really just terrible.

I've moved most commands into command groups now to make them a bit better organized. For example, the aforementioned /addtowatchlist commands becomes /watchlist add, which I think is infinitely more premium.

Full list of migrated commands:

  • /addtowatchlist -> /watchlist add
  • /removefromwatchlist -> /watchlist remove
  • /watchlist -> /watchlist view
  • /setchannel -> /channel set
  • /getcchannel -> /channel get

@Ghostopheles Ghostopheles added the enhancement New feature or request label Jun 25, 2024
@Ghostopheles Ghostopheles self-assigned this Jun 25, 2024
@Ghostopheles Ghostopheles merged commit b373977 into main Jun 27, 2024
1 check passed
@Ghostopheles Ghostopheles deleted the patch/command-cleanup branch June 27, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant