Files
blitzcrank/commands/calendar/ping.ts
2025-07-01 09:55:23 -04:00

16 lines
484 B
TypeScript

import { type Client, SlashCommandBuilder } from "discord.js";
import type { Sequelize } from "sequelize";
export default function (settings: { client: Client; db: Sequelize }) {
return {
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"),
};
}