Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
90
rated 0 times [  91] [ 1]  / answers: 1 / hits: 7187  / 2 Years ago, tue, august 23, 2022, 12:00:00

I looked at some bot's profile and apparently, Discord added a "try out my commands" feature to bots? I tried looking everywhere and did not find anything. How do I add this feature to my bot?


(I am using discord.js v14)


Image of the try out my commands feature.


1


More From » node.js

 Answers
1

You can manually add this feature to your bot's description box using the command ID.


How to retrieve the command ID:



  1. Go to Server Settings.

  2. Click on "Integrations".

  3. Look for your bot and click on it.

  4. Scroll up until you see the list of the commands that are deployed.

  5. Right-click to copy the command ID of your choice to be displayed later.


Next, we go to Discord Developer Portal to place the command ID into your bot's description box.


So all you need to do is to put the command that are to be displayed in this format:


</(command-name):(command-ID)>

It'll look something like this:


**TRY MY COMMANDS** // ** to bold the text

</play:938016496168932622> | </help:938012345242127927>

And here's how it will look like:
Screenshot | Stackoverflow won't let me embed picture cause I'm new :(


It may not look as good as the verified version but hey, it works. You can press on it and use it like a normal slash command.


[#33] Monday, July 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
alfredoc

Total Points: 261
Total Questions: 128
Total Answers: 89

Location: French Polynesia
Member since Sun, Aug 2, 2020
4 Years ago
alfredoc questions
Thu, Nov 25, 21, 00:00, 3 Years ago
Wed, Aug 4, 21, 00:00, 3 Years ago
Mon, Dec 21, 20, 00:00, 3 Years ago
;