rename file.

This commit is contained in:
2025-10-29 08:46:18 +01:00
parent dd8fc81097
commit 25fd742cfe
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { ApplicationIntegrationType, ChatInputCommandInteraction, CommandInteraction, InteractionContextType, SlashCommandBuilder } from "discord.js";
export default {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Pong again!')
.setIntegrationTypes(
ApplicationIntegrationType.GuildInstall,
ApplicationIntegrationType.UserInstall
)
.setContexts(
InteractionContextType.BotDM,
InteractionContextType.Guild,
InteractionContextType.PrivateChannel
),
async execute(interaction : ChatInputCommandInteraction) {
await interaction.reply(`🏓 Latency is ${Date.now() - interaction.createdTimestamp}ms. API Latency : ${interaction.client.ws.ping}ms`);
}
}