From b7b1ed9b47b7243315ae6b16df72f2778b03973d Mon Sep 17 00:00:00 2001 From: Federico <38290480+FedeIlLeone@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:57:28 +0200 Subject: [PATCH] feat(injecting): more info for interaction --- docs/plugins/injecting.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/plugins/injecting.mdx b/docs/plugins/injecting.mdx index ad6f2ba..bacf86f 100644 --- a/docs/plugins/injecting.mdx +++ b/docs/plugins/injecting.mdx @@ -238,6 +238,9 @@ export function start(): void { }, ], executor: (interaction) => { + // You can access the guild and channel of where the command + // was executed with interaction.guild and interaction.channel + // Get the value of the option const sendEmbed = interaction.getValue("my-option");