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

Support Reminders #11

Open
Fausto95 opened this issue May 21, 2020 · 0 comments
Open

Support Reminders #11

Fausto95 opened this issue May 21, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Fausto95
Copy link
Contributor

Fausto95 commented May 21, 2020

We have weekly events, it'd nice if we could set a reminder so the bot would send them periodically in the #general channel.

We could use a prefix like !reminder and pass the arguments right after.
The args would be something like:

  • Date: The date that the reminder is scheduled to be sent.
  • Repeat: A boolean.
  • Interval: The interval(in minutes) that the reminder should be sent.
  • Message: The message(in between quotes) we should send to the users.

So the message would look like: !reminder 2020-05-29 true 30 "Hello world".

Likely we'd tag users within the message. It'd be nice to instead put placeholders, and provide a comma separated list of username's.
So we'd support a 5th argument:

  • users: A comma separated of usernames or ids.

So the message would now look like: !reminder 2020-05-29 true 30 "Hello world $user, do you now $user?" @john,@mauro.

Guide: https://discordjs.guide/
Docs: https://discord.js.org/#/docs/main/stable/general/welcome

@Fausto95 Fausto95 added good first issue Good for newcomers help wanted Extra attention is needed labels May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant