Refactor remind.ts, fix bug related to missed reminders

This commit is contained in:
2025-07-01 20:02:21 -04:00
parent 68bfcaee0b
commit 3a721c6e5f
3 changed files with 181 additions and 169 deletions

View File

@@ -3,13 +3,16 @@ import type { Sequelize } from "sequelize";
export default function (settings: { client: Client; db: Sequelize }) {
return {
data: new SlashCommandBuilder()
.setName("ping")
.setDescription("Send a ping to the bot"),
initialize: async () => {},
execute: async (interaction) => {
await interaction.reply(
`Pong! This command was run by ${interaction.user.username}, who joined on ${interaction.member.joinedAt}.`,
);
},
data: new SlashCommandBuilder()
.setName("ping")
.setDescription("Send a ping to the bot"),
};
}