diff --git a/src/commands/fun/chill.ts b/src/commands/fun/chill.ts new file mode 100644 index 0000000..db895e0 --- /dev/null +++ b/src/commands/fun/chill.ts @@ -0,0 +1,15 @@ +import { CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js"; + + +export const data: SlashCommandBuilder = new SlashCommandBuilder() + .setName("chill") + .setDescription("Affiche un gif du mec chill"); + +export async function execute(interaction: CommandInteraction): Promise { + const embed = new EmbedBuilder() + .setTitle("Chill") + .setDescription("Gif du mec chill") + .setImage("https://media1.tenor.com/m/Jo0PbgBIZzAAAAAd/chill-guy-my-new-character.gif") + + await interaction.reply({ embeds: [embed], ephemeral: false }) +} \ No newline at end of file diff --git a/src/commands/index.ts b/src/commands/index.ts index ee9db44..4aceeb0 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -1,3 +1,4 @@ +import * as chill from "./fun/chill" import * as ping from "./general/ping" import * as info from "./general/info" import * as talk from "./general/talk" @@ -55,6 +56,7 @@ import { skipButton } from "./music/skip" import { loopButton } from "./music/loop" export const commands = { + chill, ping, info, talk,