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

!hubs subscribe for opt-in channel notifications #93

Open
robertlong opened this issue Feb 27, 2020 · 0 comments
Open

!hubs subscribe for opt-in channel notifications #93

robertlong opened this issue Feb 27, 2020 · 0 comments

Comments

@robertlong
Copy link
Contributor

I'd like to propose adding a new command to opt-into channel notifications when an event is starting.

New Commands:

  • !hubs create-subscriber-role
    Creates the subscriber role for the bound channel if it doesn't already exist. For example if the channel is named #meetup the @meetup-subscribers role will be created. Only server admins have access to this command. If the bot doesn't have permissions to create/modify roles, the bot will return an error message.

  • !hubs subscribe
    Adds the current user to the subscriber role for the bound channel. If there is no subscriber role, the bot will return an error message.

  • !hubs unsubscribe
    Removes the current user from the subscriber role created for the bound channel. If there is no subscriber role, the bot will return an error message.

Modified Commands:

  • !hubs notify set <datetime>
    If the bound channel has a subscriber role then the bot notifies that role instead of @here

Server admins can also use the @<channel>-subscribers role to send notifications whenever they want.

Server admins will need to enable the MANAGE_ROLES permission for the bot to use this feature.

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

No branches or pull requests

1 participant