2023-05-16 17:24:42 +00:00
|
|
|
const fn = require('../modules/functions.js');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
name: "ping",
|
|
|
|
description: "pong",
|
|
|
|
usage: "ping pong",
|
2023-06-03 19:40:12 +00:00
|
|
|
permission: "devTeam",
|
2023-05-16 17:24:42 +00:00
|
|
|
async execute(message, commandData) {
|
2023-06-03 19:40:12 +00:00
|
|
|
if (fn.dotCommands.checkPermissions(this.permission, message.author.id)) {
|
|
|
|
try {
|
|
|
|
await message.reply("Pong!");
|
|
|
|
} catch (err) {
|
|
|
|
console.error(err);
|
|
|
|
await message.reply(fn.builders.errorEmbed("There was an error running the command."));
|
|
|
|
}
|
|
|
|
}
|
2023-05-16 17:24:42 +00:00
|
|
|
}
|
|
|
|
}
|