You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bot installed in multiple guilds. I am creating a nextjs dashboard for server admins who can send messages with components and embeds to any channel in their guild through my bot.
When I try to send message with components and embeds, the message only shows up with the content and not components or embeds.
The response from /channels/{channel.id}/messages contains empty components and embeds.
Steps to Reproduce
Create a bot
Install it in your discord server
Inside of a Nextjs app, use the same bot credentials to send message to discord
Use /channels/{channel.id}/messages rest api to send message with components and embeds.
Description
I have a bot installed in multiple guilds. I am creating a nextjs dashboard for server admins who can send messages with components and embeds to any channel in their guild through my bot.
When I try to send message with components and embeds, the message only shows up with the content and not components or embeds.
The response from
/channels/{channel.id}/messages
contains empty components and embeds.Steps to Reproduce
/channels/{channel.id}/messages
rest api to send message with components and embeds.API call
Expected Behavior
Message should show up like this with a button
Current Behavior
But it shows up with just the content and no buttons
Screenshots/Videos
No response
Client and System Information
Bot is running up with discordjs and on the web I'm using Discord rest apis with same bot token and client id to send the message as the bot.
Link to the doc:
https://discord.com/developers/docs/resources/channel#create-message
The text was updated successfully, but these errors were encountered: