discord-multipurpose-bot/commands/fun/uwu.js

22 lines
561 B
JavaScript
Raw Permalink Normal View History

2024-09-25 12:15:28 +01:00
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);
},
};