Skip to content

Commit

Permalink
Merge pull request #55 from Matsuel/chill
Browse files Browse the repository at this point in the history
add chill guy command
  • Loading branch information
Wiibleyde authored Dec 3, 2024
2 parents 7c3d6d9 + a53ddbd commit cad27e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/commands/fun/chill.ts
Original file line number Diff line number Diff line change
@@ -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<void> {
const embed = new EmbedBuilder()
.setTitle("Chill")
.setDescription("Gif du mec chill")
.setImage("https://tenor.com/view/chill-guy-my-new-character-gif-2777893510283028272")

await interaction.reply({ embeds: [embed], ephemeral: false })
}
2 changes: 2 additions & 0 deletions src/commands/index.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -55,6 +56,7 @@ import { skipButton } from "./music/skip"
import { loopButton } from "./music/loop"

export const commands = {
chill,
ping,
info,
talk,
Expand Down

0 comments on commit cad27e7

Please sign in to comment.