Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 3e42d6b

Browse files
kill command (potato prepare)
1 parent a2d93ac commit 3e42d6b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/commands/misc/kill.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*const { SlashCommandBuilder, EmbedBuilder } = import("discord.js"); // async is a stinky and made me use import require on top all im saying
2+
const config = ("../../config.toml")
3+
4+
module.exports = {
5+
data: new SlashCommandBuilder()
6+
.setName('kill')
7+
.setDescription("Kill a user (in messages)."),
8+
.addUserOption(option =>
9+
option.setName('user')
10+
.setDescription('The user to kill.')
11+
.setRequired(true)
12+
)
13+
},
14+
async execute(interaction) {
15+
16+
const user = interaction.getUser();
17+
const embed = new EmbedBuilder()
18+
.setColor(config.embedColors)
19+
.setTitle('Killed')
20+
.setDescription(`I have killed the stinky of <@{user.id}>`);
21+
await interaction.reply({ embeds: [embed] });
22+
}
23+
};
24+
*/

0 commit comments

Comments
 (0)