2025-02-02 14:10:51 -05:00
|
|
|
// ping.js - Discord bot ping command
|
|
|
|
|
// Copyright (C) 2025 Luis Bauza
|
|
|
|
|
//
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
2025-02-09 14:58:31 -05:00
|
|
|
import { SlashCommandBuilder } from 'discord.js';
|
2025-02-02 14:10:51 -05:00
|
|
|
|
2025-02-09 14:58:31 -05:00
|
|
|
export default {
|
|
|
|
|
data: new SlashCommandBuilder().setName('ping').setDescription('Replies with Pong!'),
|
2025-02-02 14:10:51 -05:00
|
|
|
async execute(interaction) {
|
|
|
|
|
await interaction.reply('Pong! 🏓');
|
|
|
|
|
},
|
|
|
|
|
};
|