Four new plugins in the box this time. Tasks, translations, Discord OAuth, and Kysely on any database. Plugins can also answer web requests on your bot's own server now, and seedcord emojis manages all your bot's emojis from one folder in your repo, with a typed key for each.
73 changes since v0.23, and 21 of them are breaking. Don't worry though, most of those only touch one API. I'll go through the ones you'll actually notice at the end.
Anyway, here's what's new.
Four new plugins
Tasks
Some work doesn't start from a command, like a digest every morning or a cleanup every hour. That used to be a setInterval in bot.ts that you started after login, stopped before exit, and just hoped never overlapped itself.
@seedcord/plugin-tasks runs a folder of task classes on a cron pattern:
// src/tasks/Heartbeat.ts @RegisterTask ( '*/5 * * * *' ) export class Heartbeat extends Task { public async execute ( ) : Promise < void > { const { size } = this . core . bot . client . guilds . cache ; this . logger .…