harvestcore / matroos

Create, manage and deploy Discord bots easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DEV] Implement the TimerCommand

harvestcore opened this issue · comments

Summary: See the technical design for TimerCommand and implement the command accordingly.

Relates to:

Acceptance criteria:

  • Unit tests are added if possible.

This task requires the use of background processing. At first, the BackgroundService from .NET was going to be used but seems to hang and stop working when a Discord app runs on the same host.

The Quartz package includes a JobBuilder, which allows running scheduled tasks using cron expressions to set the interval. This is the one that will be used.