mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 16:55:55 +00:00
21 lines
561 B
JavaScript
21 lines
561 B
JavaScript
const { SlashCommandBuilder } = require("discord.js");
|
|
const owoify = require("owoify-js").default;
|
|
|
|
module.exports = {
|
|
data: new SlashCommandBuilder()
|
|
.setName("uwu")
|
|
.setDescription("Uwufy your message!")
|
|
.addStringOption((option) =>
|
|
option
|
|
.setName("text")
|
|
.setDescription("The text to uwufy")
|
|
.setRequired(true)
|
|
),
|
|
async execute(interaction) {
|
|
const inputText = interaction.options.getString("text");
|
|
|
|
const uwufiedText = owoify(inputText, "uwu");
|
|
|
|
await interaction.reply(uwufiedText);
|
|
},
|
|
};
|