mirror of
https://github.com/TheShadowEevee/Konpeki-Discord-Bot.git
synced 2025-01-11 14:38:49 -06:00
16 lines
No EOL
657 B
Text
16 lines
No EOL
657 B
Text
/*
|
|
* Konpeki Discord Bot - Slash Command Definition File
|
|
* rtd-ephemeral.js - In-Dev function
|
|
*/
|
|
|
|
const { SlashCommandBuilder } = require('discord.js');
|
|
|
|
module.exports = {
|
|
data: new SlashCommandBuilder()
|
|
.setName('rtd-ephemeral')
|
|
.setDescription('Currently being integrated. Outputs a XKCD valid random number'),
|
|
async execute(interaction) {
|
|
const xkcdRandomNumber = 4;
|
|
await interaction.reply({ content: `${interaction.client.user.tag} - Integration test of RTD command: XKCD random number is ${xkcdRandomNumber}.\nThis number is chosen by a fair dice roll and guaranteed to be random.\nSee <https://xkcd.com/221/>`, ephemeral: true });
|
|
},
|
|
}; |