mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 08:45:55 +00:00
add uwuify command, i also hate this
This commit is contained in:
parent
5a7fa169d7
commit
f1533aa047
2 changed files with 23 additions and 1 deletions
21
commands/fun/uwu.js
Normal file
21
commands/fun/uwu.js
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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);
|
||||||
|
},
|
||||||
|
};
|
|
@ -17,6 +17,7 @@
|
||||||
"express": "^4.19.2",
|
"express": "^4.19.2",
|
||||||
"html-entities": "^2.5.2",
|
"html-entities": "^2.5.2",
|
||||||
"mongoose": "^8.6.0",
|
"mongoose": "^8.6.0",
|
||||||
"nodemailer": "^6.9.14"
|
"nodemailer": "^6.9.14",
|
||||||
|
"owoify-js": "^2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue