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

Announcements Enrollment #138

Open
logandgsmith opened this issue Jul 31, 2020 · 1 comment
Open

Announcements Enrollment #138

logandgsmith opened this issue Jul 31, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@logandgsmith
Copy link
Contributor

logandgsmith commented Jul 31, 2020

Now that we've created an Announcements role that club members can subscribe to, we need to make a simple command for ALBot that allows members to enroll/de-enroll from it. There are many solutions for this issue.

Possible solutions:

Have ALBot post a message in the rules channel (or possibly a new channel... subscriptions?) that you can react to to join

  • Pro: Joining/Leaving is as easy as clicking a button
  • Pro: We can roll joining projects into this new cog
  • Con: What are Discord's reaction/watching limits
  • Con: If the bot is down and someone reacts will the bot pick it up?

Use the normal invocation to join Announcements role

  • Pro: The spam would drive attention to the new role/command
  • Con: Typing the command is more effort than clicking a button
  • Con: Someone would need to ensure that this information persists until we have the Club Backend correctly configured
    • Alternatively, you could set up a cronjob for now?
@logandgsmith logandgsmith added enhancement New feature or request good first issue Good for newcomers labels Jul 31, 2020
@hjarrell
Copy link
Member

Lets go with just !join announcements or !announcements for now. So add a feature for the bot to give a user the announcement role when they run that command. Some resources: https://discordpy.readthedocs.io/en/latest/ext/commands/commands.html

https://discordpy.readthedocs.io/en/latest/api.html?highlight=role#discord.Role

https://github.com/ufosc/albot-and-albota/blob/develop/cogs/projects.py#L63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants