-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from Matsuel/chill
add chill guy command
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters