attempted to streamline by breaking functions into separate source
This commit is contained in:
1 parent
83c204670d
commit
2c596fe23f
4 files changed
+29
-26
No files matched your search
@@ -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