commands?

This commit is contained in:
2025-04-06 06:33:46 -04:00
parent d899e8e873
commit 4ace928563
8 changed files with 164 additions and 16 deletions

11
commands/utility/test.js Normal file
View File

@@ -0,0 +1,11 @@
const { SlashCommandBuilder } = require('discord.js');
const torn = require('../../torn.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('test')
.setDescription('Test the Torn API'),
async execute(interaction) {
await interaction.reply(await torn.test());
},
};