Add DM notifications and migrate commands into command groups #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
andunsubscribe
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