attempted to streamline by breaking functions into separate source
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const { SlashCommandBuilder } = require("discord.js");
|
||||
const ping = require("../../../src/ping");
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('dev tool'),
|
||||
async execute(interaction) {
|
||||
return ping(interaction, null, 'slash')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user