Initial Commit
This commit is contained in:
12
commands/calendar/ping.ts
Normal file
12
commands/calendar/ping.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// import type { ChatInputCommandInteraction } from "discord.js";
|
||||
import { SlashCommandBuilder, } from "discord.js";
|
||||
|
||||
export const data = new SlashCommandBuilder()
|
||||
.setName("ping")
|
||||
.setDescription("Send a ping to the bot");
|
||||
|
||||
export async function execute(interaction) {
|
||||
await interaction.reply(
|
||||
`Pong! This command was run by ${interaction.user.username}, who joined on ${interaction.member.joinedAt}.`
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user