mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-26 14:50:26 +01:00
🚧 Work in progress
This commit is contained in:
@@ -8,12 +8,12 @@
|
|||||||
<div class="space-y-5">
|
<div class="space-y-5">
|
||||||
<h2>Basic reply with embed</h2>
|
<h2>Basic reply with embed</h2>
|
||||||
<p>
|
<p>
|
||||||
Returns the instance of the Discord Client linked to the bot.
|
First, we need to create an enumeration that will contain our different channels and their associated ID.
|
||||||
</p>
|
</p>
|
||||||
<CodeHighlight class="" :code="enum1" />
|
<CodeHighlight class="" :code="enum1" />
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Returns the instance of the Discord Client linked to the bot.
|
Next, we create the command using the slash command support of discord.js 13.
|
||||||
</p>
|
</p>
|
||||||
<CodeHighlight class="" :code="slashCommandWithEmbed" />
|
<CodeHighlight class="" :code="slashCommandWithEmbed" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user