discord.js - How do i add the "TRY MY COMMANDS" feature to my bot?

Viewed 1335

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

3 Answers

Global Slash Commands in Bot Profiles

As many of you noticed, we recently began rolling out global slash commands to bot profiles last week for verified apps. This week, we're rolling them out to 100% of verified apps.

With this update, a max of 5 of your app's most-used global slash commands are now visible in your bot profile (as long as your app is verified). These commands are directly invokable, making them more discoverable and usable for users across Discord :sparklies:

How do I enable it? You don't have to do anything! As long as your app is verified and has at least one global slash command, a max of 5 will be displayed in your bot profile automatically.

Can I change which commands appear in my bot profile? No, at the moment you can't control which commands are present

Credits: Discord Developers

Unfortunately, you can't add this feature in your bot for now, it's a closed beta

my bot receive this feature today, it was added automatically (my bot is verified btw)

Related