-
Maybe its just me, But idk how to verify if its working. What do I do to use the 'helloCommand' in discord? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, first, please make sure to set your guild id in To execute the 'helloCommand' command, start typing After you hit enter, the command should be executed. If you do not get a suggestion popup, double check that you authorized your application and that your commands were indeed deployed correctly. To do this, open the logs of the Your log events should contain roughly these lines:
For more information about Discord application commands, make sure to check out the official documentation on application commands, and the slash-create docs. There you will also find more command examples. |
Beta Was this translation helpful? Give feedback.
Hi,
first, please make sure to set your guild id in
src/commands_layer/nodejs/commands/helloCommand.js
. The application command should then be pushed to Discord after you deployed the SAM application.To execute the 'helloCommand' command, start typing
/hello
in the text channel of a Discord guild where your bot is authorized. You should then see a suggestion popup like this:After you hit enter, the command should be executed.
If you do not get a suggestion popup, double check that you authorized your application and that your commands were indeed deployed correctly. To do this, open the logs of the
CreateCommandsFunction
lambda by opening the AWS CloudWatch console and then navigating to