Files
saddbot/commands/api/test.js
2025-11-11 13:20:11 -05:00

11 lines
288 B
JavaScript

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());
},
};