Files
Discord_bot/commands/utility/ping.js
T
ScriptSorcerer f7ac4773ac Implemented new Commands:
help - list all commands
timestamp - convert date to timestamp (still in progress)
about - Bot porpose (still in  progress)
ping - check bot availability
2025-01-25 16:56:46 +01:00

10 lines
318 B
JavaScript

const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Check if the bots responsivnes'),
async execute(interaction) {
await interaction.reply({ content: 'Pong! (Online)', ephemeral: true });
},
};