Skip to content

Role reminders #1026

@lemonsaurus

Description

@lemonsaurus

We currently have a feature !remind which will send the caller a reminder after a certain amount of time has passed.

But sometimes, a moderator or admin will want to create a reminder for his whole team. For example, maybe something needs to be followed up in 7 hours but the moderator or admin will not be available at that time.

It should also be possible to create a reminder for another user than yourself.

New command syntax

!remind <optional role mention or user mention> <duration>.

For example, !remind @Admins 7H23M or !remind @joe 1w

Access restriction

  • Role reminders should be restricted to Mods+
  • Reminders for yourself or for other users should be restricted to Helpers+

Implementation details

Use a greedy converter. We're already doing this for the !clean command to take an optional channel, for instance.

Metadata

Metadata

Assignees

Labels

a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)a: utilityRelated to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)l: 1 - intermediatep: 2 - normalNormal Priorityt: featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions