This will probably never happen. There are also a ton of privacy concerns with such an API lol.
#github-notifications
1 messages · Page 11 of 1
+1
With all of these features you could also introduce a new feature allowing users to build their own modals as 'forms' and specify a channel where the submissions can be viewed.
Currently the example for Application Object use a field removed time ago.
please discord add this
I am still seeing this happen, could you please use the 2 gif's provided in the replication section? its strange because there is no change to code whatsoever and it works fine in servers and other channel types except for DM's
This is a follow-on to Discord support ticket 46209763.
It should be possible to check whether I have Discord notifications, through the notification API. In other words, I should be able to see whether there are new unread messages, and if so, what server(s) and channel(s) they are in.
It would be fine, although a little silly, to require me to create a bot and link it against my account in order to do this. The desired end state is to programmatically detect whether I have notificatio...
Description
When attempting to request intents for a bot in the Discord Developer Portal, clicking on the "Request" button for any intent redirects the user back to the app verification requirements list instead of taking them to the intent request page.
Steps to Reproduce
Log in to the Discord Developer Portal
Select your application
Navigate to the Bot section
Click on the "Intents" button
Select an intent to request
Click on the "Request" button
Expected Behavior
User...
Even if one can still access information in other ways, it is unnecessary to send such information. For instance, even if a user doesn’t have access to a specific channel in a guild, they can still see some information, like the channel’s name, through the client. These pieces of information are not useful and could be hidden.
Apologies for the mixup. This is a known bug and will be resolved soon.
I am experiencing this issue
It flashes this:
Then to this:
Description
When attempting to request intents for a bot in the Discord Developer Portal, clicking on the "Request" button for any intent redirects the user back to the app verification requirements list instead of taking them to the intent request page.
Steps to Reproduce
Log in to the Discord Developer Portal
Select your application
Navigate to the Bot section
Click on the "Intents" button
Select an intent to request
Click on the "Request" button
Expected Behavior
User...
This will be present when a filename contains special characters (ie, cyrillic alphabet)
Description
This is a Regression of #6943, so I am re-opening
When attempting to request intents for a bot in the Discord Developer Portal, clicking on the "Request" button for any intent redirects the user back to the app verification requirements list instead of taking them to the intent request page.
Steps to Reproduce
Log in to the Discord Developer Portal
Select your application
Navigate to the Bot section
Click on the "Intents" button
Select an intent to request
Clic...
Opps I didn't see the author made a new issue #6944
I've added screenshots that may be useful in #6946; also experiencing this issue.
I will note, I did not initially have all the green checkmarks, I had to verify my ID. It turned green immediately after submitting my data.
Still an unhandled problem in 2024
As mentioned before, this is working as intended - and just needs documentation.
Discord stores channel objects in a NoSQL database (ScyllaDB) that does not allow us to easily enforce unique constraints (unique on guild_id + position), at the database level. It would require application side locking - we would have to use distributed locks to synchronize writes to all channel objects in a guild if the position might be modified. As well, we would have to make sure all call-sites which edit...
Are there plans to allow for programmatically publishing SKUs for premium apps? Would much prefer to have them published through a deployment pipeline and have that strict definition of the SKUs than having to manually manage them on the dev portal. I only see the list SKUs endpoint in the docs, so the best that could be done currently is failing the deployment if SKUs don't match their code definition.
Would be especially helpful when dealing with multiple environments as improved monetis...
I'm working on a small project that uses Discord Rich Presence among other things. Recently I have received a lot of requests from users for Rich Presence localization to follow the localization of the user's client. However, to my surprise RPC does not allow to get the user locale.
So I request adding this field to the partial User object that is passed in the READY event.
I think ...
Description
The User Agent link under the User Agent heading shows a "This document has been superseded" warning:
Steps to Reproduce
- Go to https://discord.com/developers/docs/reference#user-agent
- Click the User Agent in this heading

Kinda still not plain curl but I also kind of experience this, when writing to a file, specifically in a github action running a javascript file using node 20. It seems to not be able to encode properly.
which I then run in:
https://github.com/linus-jansson/wordgametester/blob/...
d37d8c6 Update User Agent link to point to latest RFC (... - pushfoo
Description
I was sending text files to a discord webhook on my server and found out that something wasn't right when I added å, ä or ö to the webhook. I experimented a bit and very specific sentences seems to break the encoding. If for example sending åäö hello world växte ölen 28 very long stuff using the steps to reproduce it works. if writing Word "växte" was found in 28 tries it breaks. I cannot seem to find a pattern in the issue at all.
Steps to Reproduce
echo "Word...
a1f3231 Remove integration_types from Application Objec... - Doc94
50165fe Replace broken links with link to notes on veri... - matthova
These links are a bit repetitive, but 🤷🏻 it gets the point across
Description
The nav buttons of servers with less than 500 members are broken.
With more than 500 members, it looks like this:
I don't think it would be a bug, but it would be better to fix it again.
Steps to Reproduce
It is enough to view the server insights of a ...
i removed cache and tried to login into developer page but i cant, and also when i login into normal discord it works but if i close the tab and reopen discord on another tab it logs me out
Is it still going on now?
yes it still is
i removed cache and tried to login into developer page but i cant, and also when i login into normal discord it works but if i close the tab and reopen discord on another tab it logs me out
Is it still going on now?
i sent you a friend request on discord, i am itar
Would love to see this. Without autocomplete, the things you can do with non slash command interactions are quite limited.
4d00e2f Replace broken links with link to notes on veri... - matthova
FWIW if anyone is reading this in the future. It's 32 days because the intention is you can open it for a month. And I didn't want to deal with calendar months, so I added one more to 31.
Description
Unless if the HTTP request comes from GitHub itself, other sources are unable to execute GitHub compatible webhooks.
Steps to Reproduce
-
Create a new webhook on any channel
-
Pass the webhook to a repository on GitHub, appending
/githubto the end of the url. Ensure "se...
This is too frustrating
True! These guys just ignoring it. We should probably open a new issue.
I haven't tested using curl, but we have a middleware service that splits that discord.js monrepo webhook into forum threads and it works just fine.
I believe I used basically what you described to forward the request, feel free to take a look:
https://github.com/discordjs/gh-discord-middleware/blob/main/src/api/webhook.ts#L33
Worth noting, I'm pretty sure discord dedupes the requests as suggested in github docs because github will sometimes send events more than once, so it would make...
I haven't tested using curl, but we have a middleware service that splits that discord.js monrepo webhook into forum threads and it works just fine.
I believe I used basically what you described to forward the request, feel free to take a look:
https://github.com/discordjs/gh-discord-middleware/blob/main/src/api/webhook.ts#L33Worth noting, I'm pretty sure discord dedupes the requests as suggested in github docs because github will sometimes send events more than once, so it wou...
This is definitely on your end. I proxy all github webhooks and it works just fine (using https://github.com/Vendicated/GithubWebhookProxy)
Looking at your curl request, it looks like you use the exact same X-GitHub-Delivery header. I assume this is used to dedupe. Try changing that header
Due to other people reporting it working just fine, I'll close this issue as resolved
what is the motivation behind disabling this permission by default? i assume the vast majority of server owners just leaves the default settings and thus will never enable this feature even if they would like it, which would very negatively affect adoption of this feature 😟
please reconsider. why not instead add a moderatr-only ephemeral note to user-app responses? it could inform them what this is and how to disable it if they dislike it.
@shaydewael It is enabled by default
oops i had this backwards in my head—user-installed apps def enabled by default and will update this
Instead, these links will prompt the user for the scopes and bot user permissions configured in your Default Install Settings.
- On [Interactions](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object-interaction-structure), the value of `authorizing_integration_owners` is now correctly serialized as a string. Previously, the `"0"` value was incorrectly serialized as a number.
incredibly late on this but a few months ago i created this gist https://gist.github.com/bennyscripts/394350f1a6beecc9d87c7451e1ddecf8
It was, in fact, a skill issue. I think it had something to do with the wrong content type header. However it still would've been preferred if Discord returned an HTTP 400 with the reason why instead of silently failing and reporting success.
Sorry for reopening this, but I've encountered this same problem today. User had the mentioned above "Allow direct messages from server members" setting on and still it showed "Unknown interaction". It was resolved by just toggling in off and on again
Description
When I create a New Application from the developer portal it shows me the application customization page, but when I save changes it says "Unknown Application", when I refresh the page application is no longer there.
Steps to Reproduce
Visit the discord developer page https://discord.com/developers/applications](https://discord.com/developers/applications
Create a new application
Go back to https://discord.com/developers/applications
Refresh the page
Expected ...
Description
The string for a forced ephemeral command appears to be hardcoded to only say "You cannot send messages in this channel", when in fact I do have perms to send a message just not to use external apps.
Steps to Reproduce
Using a user account with
SEND_MESSAGESpermission enabledUSE_APPLICATION_COMMANDSenabled (optional)USE_EXTERNAL_APPSdisabled
Steps
- Send a message
- Observe it succeeds
- Use an external app
- Observe it explodes w...
Description
The Message Interaction Metadata Structure is missing fields in its documentation, such as name & user_id.
Steps to Reproduce
- Go to Message Interaction Metadata Structure & you will see its missing fields...
user_id field got deprecated recently; it was mentioned in the changelog entry
name is purposefully not being documented as stated here
Hello,
I’m developing a security bot that aims to help administrators quickly set up efficient AutoMod rules using a single command. We utilize Discord’s built-in “AutoMod” functionality for this purpose. We have 9 out of 9 possible rules, each serving its own important purpose.
However, I’ve noticed that I need to perform a new API request for each AutoMod rule, which means a total of 9 requests per guild that uses this command. This can become quite cumbersome, especially considering ...
this happens to me, do you know the fix?
Description
Currently webhook services such as GitHub or Slack cannot be used in Forum channels. This is seemingly undocumented behavior, as I couldn't find anything about this on either the compatible webhooks section or on the forum channel objects.
Why aren't these API routes supported on Forum chan...
This error is only returned if you don't pass a thread_id parameter. Make sure you have the URL properly configured in GitHub to pass the thread id.
I can confirm that was the issue. Thank y'all for your patience with me. I'll refrain from opening up issues for awhile.
Description
When I try to send messages with too many characters in total, the API responds with a 500: Internal Server Error instead of a 400 error.
Steps to Reproduce
JDA code to reproduce the problem:
List options = IntStream.range(1, 26)
.mapToObj(index -> SelectOption.of("a".repeat(98) + index, "value-" + index))
.collect(Collectors.toList());
channel.sendMessageEmbeds(
new EmbedBuilder()
.setDescription("a".repea...
Bump. Currently we rely on creating and destroying channels & roles to allow for temporary private threads. The issue is that we can then not search for older threads created as all discussion gets destroyed eventually
I think the better option here is just using private threads in a text channel?
I think the better option here is just using private threads in a text channel?
Wait you can do that?
yes, private threads have existed as long as threads have, but they only work in text channels currently. this feature request is for bringing them to forum channels too
I see, could you explain how you create a private thread real quick? 🤣Im apparently stupid because I cant see the button for it
Oh I see, thats so weird. The private thread option wont show if you use the create thread button of a message - only if you do it via the topbar
each message can only have one associated thread and it must be public. it would be confusing if you made a private thread on a message and then nobody else could make a thread on it. therefore private threads must be standalone threads, not message-started threads
Description
when
Steps to Reproduce
i send the following message create body to https://discord.com/api/v10/channels/{channel.id}/messages
{
"poll": {
"question": {
"text": "test"
},
"answers": [
{
"poll_media": {
"text": "2"
}
},
{
"poll_media": {
"text": "369"
}
...
bump! would be great for my minecraft server bridge!
ec7f027 update activities URL construction to include ... - afgiel [85a0751`](https://github.com/discord/discord-api-docs/commit/85a0751e414642362006db02be9bbb0841a0fc08) update CSP notable exceptions list - afgiel
Having the same issue, an embed, with the same redirect as another working (200) embed, is giving a 415 status code. Even with analyzing with the Discord embed debugging tool, it shows the same result as the other URL.
This is only effecting one of my different endpoint patterns (/t/*) which doesn't make any sense.
✅ Working example: https://www.tnktok.com/@mixedwithology/photo/7377433299616320814.jpg
:
See comments from Discord Staff regarding it:
Description
Start an application with the "Server Members" intent, disable it on the dev portal, observe the 4003 close code; which according to the table is for "You sent us a payload prior to identifying."
This is especially miss-leading for libraries, because 4003 tells us to try to reconnect, which obviously immediately fails on the 2nd attempt (with a 4014), as opposed t...
I wouldn’t call such “not a bug, it’s intended” anymore - a very large part of the internet nowadays uses IPv6, and the numbers will only continue to grow. More and more home/consumer IPs are IPv6 only
Description
When I try to upload an apng as a sticker using my discord.py bot, it seems to only upload the first frame.
Code that I had:
@app_commands.command(name='addsticker', description='Add a sticker')
async def addsticker(self, interaction: discord.Interaction, stickername: str, relatedemoji: str, stickerimg: discord.Attachment, description: str = ""):
sticker = await stickerimg.to_file()
await interaction.guild.create_sticker(name=stickername, descrip...
Yes and this is exactly why i cannot understand, discord is not adding ipv6 support on their end or at least at their api
We still do not currently support IPv6 at this time as there are still internal systems that depend on IPv4 addresses that haven't been upgraded to support IPv6
Why not leave an issue open to track it for everyone else instead of the whack-a-mole currently being done?
This is a great idea!
I was able to reproduce the behavior here, but the conversion is happening when it's uploaded as part of the command, rather than when it's being uploaded for the sticker. I was able to upload an apng sticker with a direct api call using the file directly. Attachments for slash commands are processed by our media proxy, which doesn't support apng files, so this is working as expected.
I was able to upload an apng sticker with a direct api call using the file directly.
So basically as long as I do a "direct" upload, should work fine?
correct, as long as you're uploading the apng file directly instead of the one downloaded from our media proxy, it should work correctly
Good news everyone! You can totally do this now :)
It appears that the application creation is working as expected, and the application is being banned afterwards. If you would like to appeal an action taken on your app/bot, please contact the Developer Compliance team via https://dis.gd/contact.
A lot of apps use custom emotes for different commands, and currently the main way that we accomplish this is by creating "emote servers" or adding our bots to servers with the emotes we would like to use. Our app would then be able to use said emotes in all commands, even if the user invoking a command isn't in that server.
While not a perfect way to do this, it has worked thus far. However, it seems that user installable apps basically completely break this system. For user installed comm...
A solution to this issue is in development
This should absolutely be added. I'm now currently writing my very first bot, and one of the commands needs not only one, but two date + time inputs, as it's for planning an event. The way I will most likely do it, is by asking each input seperately (year, month, day, hour, and minute, all twice).
A solution to this issue is in development
Also it seems that when you defer or edit a message, you can use all the emotes regardless of if user has nitro or in in the server with the emote
Modificato dove scritto "Array of role object ids" in "Array of snowflakes".
| mention_roles | array of snowflakes | [roles](#DOCS_TOPICS_PERMISSIONS/role-object) specifically mentioned in this message |
```...
Description
webkit css styles are not used, resulting in the website not looking as intended on ios and ipados.
Steps to Reproduce
use any browser iPhone or ipad or open safari on a computer and visit discord.dev.
Expected Behavior
the site should look as intended.
Current Behavior
On ios, the site is permanently in light mode, and tables don't have their borders.
Screenshots/Videos

Supporting IPv6 does not mean that you have, or should remove for legacy IPv4, I do however have full respect for systems that have the assumption that ipaddresses is 32bit. But that does not excuse not being available over IPv6, as it is now some people can't get stable connectivity over IPv4 due to overloaded CGNAT gateways.
So even if discord is v4 only internally, they should...
Description
When attempting to save an interactions endpoint url that has not been properly configured, and does not correctly respond to requests from discord, it refuses to save and doesn't show any error message (there is an error message in the request)
Steps to Reproduce
- Create a new discord application
- Try to set the "Interactions Endpoint URL" to a url that does not exist or doesn't correctly respond to the verification checks
Expected Behavior
When I try to sav...
Description
global_name in the user object is null for bots even though it's documented that it is the bot's app name for them.
Steps to Reproduce
curl https://discord.com/api/v10/users/803161944101486593 -H "Authorization: Bot {token}"
Expected Behavior
global_name is the app name for bots
Current Behavior
global_name is null for bots
Screenshots/Videos
No response
Client and System Information
- [NetCord](https://github.com/NetCordDev/N...
Bots have a username, no global_name - Actually, any user that hasn't set a global_name won't have one, username will be always populated though
Bots have a
username, noglobal_name- Actually, any user that hasn't set aglobal_namewon't have one,usernamewill be always populated though
Description
Very small issue, just happened to notice when getting permissions. "Create Polls" is under "Voice Permissions" and not "Text Permissions."
Steps to Reproduce
Go to any app in the developer dashboard, go to bot permissions in the bot page.
Expected Behavior
It should show the permission under text permissions
Current Behavior
It shows under voice permissions
Screenshots/Videos
. It should have two parameters:
before: the largest message snowflake, inclusive (if omitted, from the time of invocation)
after: the smallest message snowflake, inclusive (if omitted, from the channel create)
Guild members with MANAGE_MESSAGES AND MANAGE_CHANNELS in the respective channel and guild owners should ...
i just started digging into this myself, it looks like the current best solution is to do it with the RPC api, the docs say it is current private but it works when everything is running locally. that being said it is quite limited if you want to create a public app. this is a feature that should be in the API and these workarounds should not be needed..
I am also experiencing this issue. Discord proxy URL is giving "ERR_INVALID_RESPONSE" when trying to manually open it. Discord also ignores the image url sent in chat (It shows URL instead of image)
Having same issue with Kord (Kotlin Bot Library)
Images are not loaded by discord neither when in embed nor as message in chat.
Proxy URL gives "ERR_INVALID_RESPONSE"
@colinloretz Is there any news on this subject?
Hello, I had same issues too on my new discord account.
I am using Discord PTB on Mac Book Sonoma 14.
I fail to connect my GitHub, X(Former Twitter), YouTube account.
I checked network logs and I found a callback say "Invalid oAuth state"
I switched to Chrome, Opera browser still not fix.
I wait a few days and try again, but did not fix.
This is just amazing! I followed the idea here and create a NextJS project where I showcase the steps needed for this to work inside that setting.
https://github.com/ssbarbee/next-discord-popup-login
Check this commit: https://github.com/ssbarbee/next-discord-popup-login/commit/06e3bbada0db7172276fa3c0200d9ac793613cda
Hopefully it helps someone in their work!
I have been seeing this issue ever since i first implemented slash commands over a year ago but i have largely dismissed it as being caused by network lag and interactions that arrive too late, but now I'm convinced there is an actual issue going on and decided to investigate further, so here are my two cents.
My setup is as follows:
I have a website that receives interactions via webhook URL, hosted on a Hetzner vps located in Ashburn US, running nginx 1.25.4 with an upstream proxy to ...
Description
There seems to be a problem with the flags, although it is not such an important problem, it would be good to fix it again.
Steps to Reproduce
https://discord.com/developers/docs/tr/getting-started
Expected Behavior
Proper display of flags
Current Behavior
Distorted appearance of flags
Screenshots/Videos
Client and System Information
Windo...
Any updates on this being fixed in Android?
With this API, the activity's backend can verify that a client is in fact in an instance of that activity before allowing the client to participate in any meaningful gameplay. How an activity implements "session verification" is up to it. The solution can be as granular as gating specific features or as binary as not returning the activity HTML except for valid sessions.
In the below flow diagram, we show how the server can deliver the activity website only for valid users in a valid activity session:
can we document this as a proper route somewhere (using the endpoint formatting)? either in one of the activity pages or on the application page
(we should also do this for the activity attachment endpoint)
b62d086 touch up some stuff advaith noticed - afgiel
Could you make a table instead? Not sure what gc is.
0bf80af Add banner field to Get Current User Guilds - advaith1
this is serialized now :)
also updated the example guild features to boost level 2 so its realistic for it to have a banner
Same issue here and additionally Idk why there is an error because I use my correct endpoint URL
Description
When you create a spamMention rule, and wish to modify the Timeout action, you get the error :
DiscordAPIError[50035]: Invalid Form Body actions[0].metadata.channel_id[BASE_TYPE_REQUIRED]: This field is required
It is necessary to modify the SendAlertMessage action by reinserting the channel metadata inside.
Steps to Reproduce
First, create a spam rule with the SendAlertMessage action (a channel must be selected). Then run the code below on a bot.
const a...
A fix for this has been merged, and you should start seeing the updated error message soon. There may be a brief period of time where your client renders it as an unknown error until you update.
Threads automatically archive after a period of inactivity. As a server approaches the max thread limit this timer will automatically lower, usually not below the `auto_archive_duration`. In very busy channels, threads set to a 7 day auto archive may archive earlier to help avoid the server becoming "full". "Activity" is defined as sending a message, unarchiving a thread, or changing the auto-archive time. The `auto_archive_duration` field previously controlled how long a threa...
I imagine the "problem" this solves is that people can't reasonably make links that show a different image when shown on Discord. Of course this is a clear abuse of the User-Agent system by Discord, and they know it's an indefensible position since they just lock every discussion related to it.
i don't understand, docs says the endpoint exists, but you can't use them, what's the point?
bee71a1 [embedded-app-sdk] add information on captureLo... - afgiel
had a partner ask about the valid options for level, figured it would be good to document
is there a point in the effect column here? we could just list them out if we don't have any actual information warranting a table
650f334 remove table in favor of bulleted list - afgiel
7b5cc9a [embedded-app-sdk] add information on captureLo... - afgiel
@shaydewael this is ready to be merged.
I added this to the API today! Gateway support will be in the next guilds deploy 🚀
I added this to the API today! Gateway support will be in the next guilds deploy 🚀
I added this to the API today! Gateway support will be in the next guilds deploy 🚀
The fates of hang status and vc status are not decided yet, since hang status has a partial rollout and may fully replace vc status, so we won't be documenting vc status until we are confident it's sticking around.
I can't believe it took you getting an internship at Discord for us to get guild member banners
Description
On a certain server (which I own) in all channels it says "failed to load messages" on the computer or in web version, while on the phone everything works fine. In the Web developer console the error 40007 is displayed (user is banned on this server).... Everything works fine on other servers.
Steps to Reproduce
Expected Behavior
Does not load messages on a certain server
Current Behavior
"Failed to load messages"
Screenshots/Videos
No response
##...
Hey! It would be nice to see such an easy component as Date Picker. Of course, developers can parse date from text parameter or input and it sill is okay, but adding a little component that allows user to select date and hour using UI would be perfect improvement of UX.
Great idea and provided use case, bump
Yeah, this was in the future plans discussion (#3581) for years and I was hoping it would happen eventually. I was guessing there was an issue with implementing on mobile but I just recently noticed the client already has a date picker on mobile when you're filtering a search on date.
To provide more context, this seems to happen when any account on the IP you are using is banned from that server.
Discord changed something and now any account weather already in the server or not is unable to load messages.
To provide more context, this seems to happen when any account on the IP you are using is banned from that server.
Discord changed something and now any account weather already in the server or not is unable to load messages.
Other users who have not been banned from the server are also experiencing this problem
To provide more context, this seems to happen when any account on the IP you are using is banned from that server.
Discord changed something and now any account weather already in the server or not is unable to load messages.Other users who have not been banned from the server are also experiencing this problem
Are they sure they are not on the same IP as someone else who has been banned?
It’s extra weird if it always throws the you are banned error for no reason.
To provide more context, this seems to happen when any account on the IP you are using is banned from that server.
Discord changed something and now any account weather already in the server or not is unable to load messages.Other users who have not been banned from the server are also experiencing this problem
Are they sure they are not on the same IP as someone else who has been banned?
It’s extra weird if it always throws the you are banned erro...
Hi! I had this exact problem just now. it was present because one of my alt accounts, that is assosiated with my IP, was banned on the server. After unbanning it, the issue was solved. Hope this helps
I'm able to reproduce on the desktop app and the web client but NOT the pre-react native client. Looking in the dev console, I get a 403 with the following response message:
// https://discord.com/api/v9/channels/379386901725052928/messages?limit=50
{"message": "The user is banned from this guild.", "code": 40007}
The bot API reports that I am not banned. I am able to load messages fine on the pre-react native client.
User id: 336733686529654798
Guild id: `37937860994...
Facing the same issue with fetching messages with a bot right now.
its an issue with how discord handles bans (which are IP based by default). someone implemented a fix without asking or considering the side effects of a ban check, can't do much other than wait for them to revert or patch it.
I was wondering if it would be possible to add app link support for URL buttons for when there's no corresponding http endpoint to open the app. I know this exists for the Discord app already, but it would be super helpful if all apps were supported as well. Currently, when trying to send a button with an app URL I get the following error message:
"Scheme "{custom_scheme}" is not supported. Scheme must be one of ('http', 'https', 'discord')."
Hi,
Have you found a work around for this?
Got word this should be fixed, is it working for anyone in this thread?
Nope, never was able to get this working.
Thanks for the quick reply. Ya, it's unfortunate. I looked into a few more discussions about this and it seems they removed it for security reasons.
This was an unintentional side effect and the change has been reverted.
This was [previously announced](https://discord.com/channels/613425648685547541/1233463756160503859) but note that the final API has a few changes since the API was first previewed:
We have applied stricter rate limits for this feature based on the following:
@chadulous , if you scroll up in the developer portal, do you see the error message? It looks like this for me when I scroll up.
We are slowly rolling out the message forwarding feature to users. This feature allows callers to create a message using `message_reference.type = FORWARD` and have the API generate a `message_snapshot` for the sent message. The feature has [some limitations](#DOCS_RESOURCES_CHANNEL/message-reference-types) and the snapshot is a minimal version of a standard `MessageObject`, but does capture the core parts of a message.
`type`, `content`, `embeds`, `attachments`, `timestamp`, `edited_timestamp`, `flags`, `mentions`, `mention_roles`.
looks like this links to the thread, IMO we should link to the announcement message instead
updated! thanks @advaith1
I think this could use some clarification: Does this mean how often this message has already been forwarded globally? Or forwards per user (of this message)?
- `message_snapshots` are taken the moment a forward message is created, and are **immutable**; any mutations to the original message will not be propagated.
- A forwarded message can be identified by looking at its `message_reference.type` field
If this is required (as per line 583) for forwards now, I think it would be good to put this info somewhere around here.
@donaldchen I do see that now, I wish I saw that earlier 😅 it still should scroll up to the error message, or put the message on the input like some other inputs on the portal
It doesn't matter how the thread was made archived, they are all treated the same :)
From #api-chat message
shouldn't this note forward too?
Thanks for the reply!
I've responded there in the Discord thread on that subject. I think many people, including myself, are quite confused then on what keeps a thread "active".
We're all open to understanding and learning if we're incorrect on how to achieve closing threads and keeping them viewable while not counting toward the limit.
Which discord is that? The link is being weird on the mobile Discord app itself
At the moment, Discord only supports components for application-owned webhooks^1. However, link components don't send an interaction when clicked^2, so, in practice, they could work without having an application listening to the click event.
It would be nice to be able to send a message with a link button component to any webhook, without the need to create an application for that.
"id": "1255957733279273083",
more realistic id as a string
We're all open to understanding and learning if we're incorrect on how to achieve closing threads and keeping them viewable while not counting toward the limit.
According to the staff, setting archived: true on threads should in fact not count towards the limit, if you experience otherwise it is probably better to open a bug report.
I am glad someone brought this up. After the new system was in place I thought "Oh, so Discord Inc./Microsoft wants to keep its users LESS SAFE, I see"
This is a huge flaw. We use bots to auto delete harmful messages and content, can ban the user from server, pre-ban from other servers we are on and maybe even make a report to the mod group we are with so they can pre-ban, but that's it. These attackers are free to roam to other servers and victimize and terrorize other users. Well done, D...
Microsoft and Discord are unrelated companies?
Is it intended that mention_roles is only returned on the Get Message(s) endpoints?
For user apps (and bot dashboards), it would be useful to be able to have a list of emojis in all the servers the user is part of.
This could be by allowing access to the /guilds/{guild.id}/emojis endpoint
Description
Get Guild Template endpoint returns some channels fields with the value as null when they are not documented as nullable.
https://discord.com/developers/docs/resources/channel#channel-object
Fields: default_auto_archive_duration, default_thread_rate_limit_per_user, available_tags, and default_forum_layout
Steps to Reproduce
Perform a Get Guild Template request to a template that has channels.
Example payload:
{
"id": 14,
"type": 0,
"n...
looks like this has been fixed
Description
GUILD_MEMBER_ADD is only triggering when someone joins a smaller server - when its a bigger one nothing happens
Steps to Reproduce
OkHttpClient client = new OkHttpClient();
client.newWebSocket(new Request.Builder().url("wss://gateway.discord.gg/?v=10&encoding=json").build(), new WebSocketListener() {
@Override
public void onOpen(WebSocket webSocket, Response response) {
webSocket.send(
...
Description
Currently, the Discord API Docs are missing the poll_result embed types and fields (poll_question_text, victor_answer_text, total_votes, etc.).
Steps to Reproduce
- Create a poll (any duration)
- Wait for the poll to end
- There is a new message that says "The poll has closed", and apparently is an embed with the
poll_resulttype.
Expected Behavior
This embed type to be documented
Current Behavior
It is not documented
Screenshots/Videos
 objects containing a copy of the original message. This copy follows the same structure as a message, but has only the minimal set of fields returned required for context/rendering.
\*\* `channel_id` is optional when creating a reply, but will always be present when receiving an event/response that includes this data model. **Required for forwards.**
We are slowly rolling out the message forwarding feature to users. This feature allows to create a message using `message_reference.type = FORWARD` and have the API generate a `message_snapshot` for the sent message. The feature has [some limitations](#DOCS_RESOURCES_CHANNEL/message-reference-types) and the snapshot is a minimal version of a standard message object that only captures the core parts.
| Field | Type | Description |
|-----------|------------------------------------------------------------------|---------------------------------------------------|
| message\* | partial [message](#DOCS_RESOURCES_CHANNEL/message-object) object | minimal subset of fields in the forwarded message |
\* The current subset of message fields consists of:
Description
The application object based in docs show interactions_endpoint_url/role_connections_verification_url with not null values but running https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information return this fields with null values
Steps to Reproduce
Call https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information and check information
Expected Behavior
The object returned not include interactions_endpoint...
Description
The up arrow key shortcut to reuse a command no longer works.
Steps to Reproduce
- Use a slash command
- Use the up arrow key
Expected Behavior
The chatbox should be populated with the used slash command.
Current Behavior
Nothing happens.
Screenshots/Videos
https://github.com/user-attachments/assets/32f821a2-35ae-41ee-b8e7-cf897420fcd2
Client and System Information
- canary 309899 (adc301d) Host 0.0.561 arm64 Build Override: N/A macOS 14 (...
c66ea82 Update docs/resources/Channel.md - shaydewael
8a88695 Update docs/resources/Channel.md - shaydewael
40bda3a Update docs/resources/Channel.md - shaydewael
2d38dd4 Update docs/resources/Channel.md - shaydewael
Description
On Desktop, the most previous slash command can be rerun by pressing the up arrow which copies all the command options and values of the most recently run command. However, for options that have autocomplete enabled, the value does not get copied and is left blank.
Steps to Reproduce
- Create a command with multiple options, some of which have autocomplete enabled.
- Run the command, filling in values for all the options.
- Press the up arrow. The values for option...
This seems like a documentation error - those two fields change based on the configuration you provide to Discord (Applications -> General Information) - they are unset for my application (and all applications by default):
it's intended as mentioned in the feature announcement:
<img width="820" alt="image" src="https://github.com/user-attachments/assets/518524a5-418b-4a21-97b8-34ac444a74ae">
48a740f Add explanation around cookie use within activi... - elainemckinley
This explanation will hopefully make it more straightforward why SameSite=None should be used when setting cookies within an activity.
Description
While this issue is limited to the Canary API (canary.discord.com/api), this seems like the best place to report it to get the attention of the right people before it hits stable.
Steps to Reproduce
- Use the Create Guild Sticker endpoint in the Canary API.
- Send a
GETrequest to the sticker asset (or attempt to view it in the client).
Expected Behavior
The sticker should be av...
Description
There seems to be a difference in implementation between the standalone Discord vs. the browser based login when using passkeys. Desktop (standalone) version 0.0.60
Steps to Reproduce
(On browser)
Preconditions:
Log into discord.com via account.
Create the necessary passkey and store it
Logout
When:
URL: discord.com
Select sign-in
- Enter username in the username field.
- Enter password in the password field
Then:
Select passkey
And:
logged-in
[...
@Alyanos22 can you quantify bigger and smaller for me? How many members are in the larger server?
27856c3 Specify Partitioned requirement - elainemckinley
Looks like it landed on stable anyway (https://discordstatus.com/incidents/1dznfwp4q812), so I'm closing this issue.
Thanks for the report! We've rolled back the API to resolve this issue for now.
05f8764 Changelog for banners in current user guilds - advaith1
Description
Currently https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure mention name can be null only for reactions but thats not include Onboarding promt option where this can happen too.
Steps to Reproduce
N/A
Expected Behavior
Mention about onboarding can have emoji with null name
Current Behavior
N/A
Screenshots/Videos
No response
Client and System Information
N/A
interaction.guild is a very sparsely documented object (read: "partial guild")
According to advaith, this currently includes id, features, and locale.
Exposing the guild's boost level would also be a useful metric to [explicitly] have here for some bots that upload content directly to Discord, as upload limits are tied to this metric, and requires fetching the guild over REST (or caching from gateway events), which may not always be possible or feasible.
For what it's worth, we ended up switching to Slack as our primary chat provider so we could get the features (like this one) we needed.
True and have to users to upload the files to Trello after or video sent with the modal submission will drastically improve the user experence to Support Work in VietNam
in large servers, its taking more than 120 seconds...
ff7a1ae document them (#6968) - Rodentman87
7b5cc9a [embedded-app-sdk] add information on captureLo... - afgiel
bfb6004 Add Roblox connection (#6995) - sebm253
4f6dfb1 Small update for thread auto archive behavior (... - ajpalkovic
28beb30 Add banner field to Get Current User Guilds (#6... - advaith1
61928fd [activities] update URL construction and CSP ex... - afgiel
To set a cookie for your activity to use in network requests through the proxy, make sure the cookie's domain matches your app's full `{clientId}.discordsays.com` domain. You will also need to explicitly set `SameSite=None Partitioned` on the cookie. `SameSite=None` is needed as browsers refuse to store or send cookies with higher restriction levels for any navigation within an iframe. `Partitioned` then limits the use of that cookie to only Discord's iframes.
@Doc94 Which onboarding prompt?
Using https://discord.com/developers/docs/resources/guild#get-guild-onboarding and get the whole Onboarding object i get emoji fields with null name.
ex of a prompt in a discord server i manage.
{
"id": "1071078808301613068",
"title": "¿Cual es tu interés en el servidor?",
"options": [
{
"id": "1071078808301613071",
"title": "Social",
"description": "Quieres conversar con la gente libremente sin estar ligado a ...
437d08a Put all iframe mentions in code blocks - elainemckinley
ed66446 Add explanation around cookie use within activi... - elainemckinley
Description
Discord mobil Uygulamasında bir kişiyi engellediğimizde profil kısmına gelip sadece arkadaş ekle yerine basarsak engel kalkıyor ve arkadaşlık isteği gidiyor
Steps to Reproduce
discord mobil uygulamasında herhangi bir kişiyi engelledikten sonra profil kısmına gelip arkadaş ekleme yerine basarsak engel kendiliğinden kalkıyor ve arkadaşlık isteği gidiyor. (arkadaşlık isteklerini kabul eden kullanıcı olmalı)
Expected Behavior
discord bilgisayar üzerinde olduğu gibi bö...
P.S: Yesterday I successfully connected it!
I guess newer accounts get this issues.
[discord/discord-api-docs] New comment on issue #7000: Up arrow key no longer reuses a slash command
Was this on purpose? Or is this being fixed?
When we go to add this to the documentation we should first put them behind a different intent. This should not be bound to voice states intent
Guessing there are no plans to add VOICE_CHANNEL_EFFECT_SEND to the RPC API right?
Hey @XurxoMF , have you solved this problem?
@ShubhamGoyal7125 Hi ^^
I solved it... and I did not...
It was a switch problem and it was solved one day.
I was using a switch to connect 3 devices to the router... 3 devices > switch > router > internet.
Idk why but this was creating some conflicts with packets or something and it was generating this "lag".
I connecter the server where the bot it hosted directly ro the router and it sgafted working fine. Server > router > internet.
A few months ago I did the dame as before, 3 devices to ...
Documents all the endpoints for managing application owned emoji
[discord/discord-api-docs] Issue opened: #7011 Missing documentation for `poll_results` message type
Description
The API documentation for the Message Object Types is missing the new type, which I believe, is the Poll Result message type. This goes alongside https://github.com/discord/discord-api-docs/issues/6994
Steps to Reproduce
- Create a new poll of any duration
- Wait for the poll to end
- Review the poll results' message object
Expected Behavior
It's message type (46) should b...
Returns an object containing a list of [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) objects for the given application under the `items` key. Includes a `user` object for the team member that uploaded the emoji from the app's settings, or for the bot user if uploaded using the API.
optional edit, i think the question of "what does the user object represent" will be asked
90d15b4 Document application emoji endpoints (#7010) - Rodentman87
This is cool but it would be really useful to be able to either
- (bulk) copy / paste emojis from one app to another
- or upload emojis to your team / user account and have it be usable by all your apps
I use different apps for development / production versions of the same bot, and I generally re-use emotes across all my apps. I think this is a very common use case
got it, thank you for the detail! Super helpful.
This would be handy (especially with self-hosting) as you could have a directory of icons in your repo, your bot could load them and send them all off to the API. Although there might be potential for abuse with this.
Description
Pinging a user or a role as intended within a body of a forum post will invite those users in to the thread and provide a standard notification. Pinging via a webook will appropriately highlight text but nobody will be invited in to the thread itself.
Steps to Reproduce
Create a script that utilizes a webhook to a forum channel type. Ping a user or a role. You will see the white dot next to the channel that there's new messages, but anyone mentioned within that thread ...
Description
When uploading a emoji that doesn't have a 1:1 ratio to an app, the dev portal displays it a way that's different to the client
Steps to Reproduce
- upload a emoji thats not 1:1, for example the following one:
- see
Expected Behavior
The dev portal displays the emoji with the correct aspect ratio
Current Behavior
It shows stretched out on the dev portal w...
Description
Recently, starting in may I have been getting Unexpected server response: 520 shard response almost once or twice a day. It happens on my production server as well as locally sometimes on my development bot. This never happened prior to May 2024. Others have also been reporting these recently. I'm currently using discord.js 14.15.3 but they said this is not an issue from their library. Anything that can be done about this?
Steps to Reproduce
Start a boot and wait fo...
They mentioned in their patch notes around April that they made some infrastructure changes (https://discord.com/blog/discord-patch-notes-april-2024):
We made some infrastructure improvements, including moving to GCE C3 instances and removing an nginx layer, which yielded a ~25% reduction in p90+ API latency.
This is probably related. Regardless, 5xx errors should just be retried.
+1 to this, so many features that I'd like to implement are thwarted by the current level of support with the only workaround being a load of jank from the UI/UX & backend
Updated tutorial to account for the upcoming CSP update. https://discord.com/developers/docs/change-log#activities-proxy-csp-update
2dca8b3 Add /.proxy prefix to docs (#7018) - colinloretz
Currently, the MENTION_EVERYONE permission controls whether or not a role's members can mention @everyone, @here, and ALL ROLES. This is extremely poor UX as it results in a all-or-nothing approach when it comes to allowing one role to mention another, meaning either members are allowed to mentiong everything or nothing, with no middle ground, or they are forced to use a bot to mention a specific role.
I propose a new field be added to roles, for my example I'll call it `...
Boo, I am building an anti-spam bot and I came here to see how my bot can read the "about me" and kick or warn the user if it contains spam things like "Official Support" or "Official Admin" etc.. we have lots of fake support people trying to phish for users info acting like they are tech support... My bot already kicks based on user name, we got that under control, but now they moved to making their profiles seem like legit support. And...... i can't do anything about it now.
Description
I want to simply create a daily recurring event that starts and ends at the same time as the scheduled_start_time/scheduled_end_time fields. (perhaps it would use these fields if I start/end are not specified inside of recurrence_rule)
Steps to Reproduce
Schedule an event using /guilds/{guild.id}/scheduled-events api.
Specify the recurrence_rule field (#6799), I've also looked at the discord code and it does have a end field in there too.
{
"recurrenc...
Description
Registering commands intermittently fails with a timeout error.
Have tried changing timeout from 10 seconds to 100 seconds with no difference in results.
Steps to Reproduce
Attempt to Register 27 top-level slash commands, 123 total slash commands.
With an average of 3 parameters per command, supporting ~30 Languages.
Totals (if my maths is right): (Including Names and Descriptions for each) : 29,520 strings
Payload is approx. 1.4MB
Expected Behavior
Commands ...
Description
If you defer an interaction response and immediately try to create a followup message with a poll key, Discord ignores the poll object. If only a poll was sent, this additionally raises Cannot send an empty message.
This issue does not occur with immediate interaction responses, normal webhooks, and non-immediate followups (e.g. defer -> followup with content -> s...
Oh, thanks for info! Only we can do for now is just patiently wait :D
Description
The past few days I've noticed when I run slash commands it seems slightly delayed from the normal speed. I thought it was the particular bot, but I've tested with about 5-10 other bots and they are all having the same lag/delay. Prefix command bots are unaffected. Anyone else having this issue?
Steps to Reproduce
Just run any slash command.
Expected Behavior
Should be slightly faster
Current Behavior
A little delayed
Screenshots/Videos
No response
...
I think the word erkin is looking for here is "Federation"
yes, but the API that would be used by that federation would be called the "server-server API"
hmmmm, bummer.
Thanks for your help 😊
You can always DELETE the user from the guild instead of making the user leave themselves. This will show in the audit logs as your bot kicked a user
Description
The newly introduced app emojis don't render when you respond to a component interaction with UPDATE_MESSAGE through an user-installed app.
Steps to Reproduce
- Make sure you are triggering through an user-installed app
- Respond to a component interaction with type
UPDATE_MESSAGEand an app emoji.
Example payloud:{ "type": 7, "...
Description
Explicitly document the fact that access tokens should not be parsed, and that the access token formats may change without notice.
Steps to Reproduce
- Connect to discord.com
- Get your user/bot/bearer token
Expected Behavior
Current Behavior
Screenshots/Videos
No response
Client and System Information
any
The format of access tokens is not documented and therefore can change without notice.
[discord/discord-api-docs] New comment on issue #7000: Up arrow key no longer reuses a slash command
i hope its a bug cause i play the pokemeow bot in discord and theres some commands that are really long and using the up arrow helped a lot.
325bf4c Update Gateway_Events.md (#7025) - ajpalkovic
Close #6999
Currently the API return nullable for interactions_endpoint_url and role_connections_verification_url in Application info then this PR just reflect that behaviour
A update about that...
I check now in UI and the emote looks but when click for details not appear.
set again the emote looks like fix the response of API but its strange how in first place this happen.
As builders of Sledgehammer, one of the most prominent security bots on this platform, we've also been wondering about this exact same issue.
On one end I was happy to see Panley involved, but on the other one it's sad to see that the Discord staff took such a hard stance to make moderation of increasingly larger communities harder and harder. Automod's great, but it's quite limited.
I also think it's a bit ridiculous that:
- Bots are allowed to scrape every message across every server...
sensitive personal information, that they want the public to see by putting it in their profile? Doesn't sound so sensitive. Now that discord created this new pronouns field i have script kiddies using it to write bad words, or things like "Community MOD", "ADMIN", or "Support" then contacting my legit server users trying to get info out of them. You all worried about protecting the users of the public filed who are proud of their pronouns, yet you allow abuse of the pronouns field b...
Hello, has there been any movement here?
I'm currently unable to scale my bot up as IPv4 addresses would be prohibitively expensive.
With how the API is currently designed, you cannot edit a message to modify poll information.
Given that defers are technically a message create (callback response is "defer") followed by a message edit (to provide the actual message content) sending a poll will not work.
This is a known limitation of the system currently, one we want to fix.
We need more information to be able to do anything about this.
From initial look, it feels like this is a network problem. This is the first report we have of timeout when registering commands, so I'm inclined to think it is on your side, potentially a network issue with your application host.
Description
I discovered a bug where you can invite to an activity without authorization ! In order to receive an activity invitation link, the Send Messages permission must be enabled on the channel.
The vulnerable endpoint is : POST /api/v9/channels/CHANNEL_ID/invites
Sample request :
POST /api/v9/channels/CHANNEL_ID/invites HTTP/2
Host: discord.com
Cookie: COOKIES
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Accep...
"People can put sensitive information in their bio and pronouns!"
Discord profiles are public - As such, there should be no problem with bots reading peoples bios or pronouns. People can put sensitive info in their display name, username, profile banner, and profile picture, yet bios and pronouns is where the line is drawn? I fail to see the consistency.
You know what else people can put in their bio and pronouns? Malicious links or content that would otherwise like to be moderated by...
Description
All the documentation currently says about the nsfw flag on application commands is that nsfw commands only work in:
- age-restricted server channels
- DMs to the target application if the originating user has "Allow access to age-restricted commands from apps in Direct Messages" set
I feel that important details are missing concerning the precise behaviour of nsfw commands. This omission is especially significant because developers who are over 18 have _no way to observ...
bump, this is very frustrating
Description
86641ea025b0422fedff42481362cd289cf7910c updated the message object to use footnotes instead of the previous endless list of asterisks which was definitely an improvement in my opinion.
However, I'd expect them to render as hypertext (and optimally be clickable / linking to the corresponding footnote) but neither is the case. Is this intentional or an oversight?
Steps to Reproduce
Look at the [mess...
Just checked it still forces type to PLAYING if RPC.TransportType is not POST_MESSAGE. Imo it's absolute nonsense...
This is now removed, on Canary only for now at the time of writing.
Still no time bar, but it's better than not having the ability to change the type entirely.
Implemented. Works on canary now
[discord/discord-api-docs] New comment on issue #7000: Up arrow key no longer reuses a slash command
Thanks for your reports! A fix went out yesterday so please let me know if you're still running into this
[discord/discord-api-docs] New comment on issue #7000: Up arrow key no longer reuses a slash command
Cannot reproduce. canary 312727 (48057e5) Host 0.0.566 arm64 Build Override: N/A macOS 14 (23.5.0)
I wanted to chime in and elaborate that extensive testing has gone into this issue - profiling, optimizing the library, contacting the hosting provider, etc. The API appears to be spitting HTTP 504 (Gateway Timeout) at this point in time, specifically when posting slash commands.
Networking has been mostly eliminated as an issue from the bot's side both by stress testing the network, and as shown by the stability of other long-running connections (e.g., the gateway, and uploading files). F...
This is not a bug. The documentation is not currently setup such that these would be hyper links.
Perhaps we can do something as an improvement in the future, but the main goal from the change made was as you said: improving readability by moving from asterisks to referenced numbered footnotes.
We would be open to a PR that adds linking.
How often does this happen?
Can we get a replication payload (file) paired with a curl command to test with?
Could be a useful moderation action to blank out certain sections of a message. Could be applied as a premoderation rule (if rule #R matches expression X in message #F, then redact), or a postmoderation action (user #A redacts message #B between position #C and position #D, and the range C-D is sent blanked).
It happens quite often, requiring restarting the bot several times (as D#+ doesn't currently retry 5XX errors). @ecrocombe will have to provide the payload and curl command however
I can reproduce this. Thank you for the report.
Before we invest deeply here, I'd suggest:
- following best practices for retries
- try isolating the issue outside of the library by moving it to cURL
- show that it can be easily reproduced
This is not a bug and is not related to the API.
> The [Game SDK](#DOCS_GAME_SDK_ACTIVITIES) has not been updated to support setting [`ActivityType`](#DOCS_GAME_SDK_ACTIVITIES/data-models-activitytype-enum), and is still limited to read-only (to handle events that you receive from Discord).
I've forwarded the documentation request to the related team. Thanks.
> When using `SET_ACTIVITY`, the `activity` object is limited to a `type` of Playing (`0`), Listening (`2`), Watching (`3`), or Competing (`5`).
Is this still happening?
i dont fully check all emojis.. i check now in same guild 405699020564987914 and notice has more emotes with the same issue a complete prompt with emoji with null name and false enimated..
{
"id": "1054558400593272899",
"title": "¿En que plataformas juegas?",
"options": [
{
"id": "1054558400593272902",
"title": "PC",
"description": "",
"emoji": {
"id": "500711677558521856",
"name": null,
...
2ca1297 Move message docs to a new page - advaith1
no longer buried in the channel page
Isn't the required column a bit redundant here?
I can repro this.
It is possible currently to create an onboarding prompt and provide emoji_id but have emoji_name null. This is, of course, incorrect. We need to update the validation rules here.
The client shouldn't be causing this problem based on what I'm seeing, so it is likely a bot that is updating the prompts and doing it incorrectly.
I can repro this. It is possible currently to create an onboarding prompt and provide
emoji_idbut also provideemoji_nameas null. This is, of course, incorrect. We need to update the validation rules here.The client shouldn't be causing this problem based on what I'm seeing, so it is likely a bot that is updating the prompts and doing it incorrectly.
that is strange because the whole onboarding was making using the client time ago and last updates with client to, for API i ...
if we're documenting this behavior, it should probably be somewhere on the emoji page rather than the change log
Updates Getting Started guide with a few new things:
- Support user-installed apps and add a few callouts related to it
- Removes Glitch and uses local development instead
- Changes next steps to use cards
`context` tells you which [interaction context](#DOCS_INTERACTIONS_APPLICATION_COMMANDS/interaction-contexts) the command was invoked from. Since I triggered the command from my app's DM the `context` is `1` (or `BOT_DM`).
Now we'll select where your app can be installed in Discord, which is determined by the [installation contexts](#DOCS_RESOURCES_APPLICATION/installation-context) that your app supports.
Maybe "Group DMs" would be a little more self-explanatory here...
Back in your project folder, rename the `.sample.env` file to `.env`. This is where we'll store all of your app's credentials.
The guide alternates between "we" and "I" sometimes; sticking with either singular or plural would probably be a little more consistent (style-wise, not that it matters for the information conveyed)...
Description
Nav bar often disappers on the dev portal when you navigate to a header on a page.
@JustinBeckwith asked for the issue so here it is ._.
Steps to Reproduce
- got to any page on the dev portal
- click on a header, so it scrolls to it
- nav bar is gone
Expected Behavior
The nav bar is always visible / visible if you scroll to the top
Current Behavior
Nav bar is gone gone
Screenshots/Videos
if we're documenting this behavior, it should probably be somewhere on the emoji page rather than the change log
I added a separate section for them
It appears that Listening activities display the details line twice, and do not display timestamps. Is this the intended behavior? I don't see anything in the documentation that would make me expect this.
It appears that Listening activities display the details line twice
I cannot reproduce that behavior.
and do not display timestamps
It's currently intended. But they will add time bar support in the future.
Noticing this race condition-like behaviour in the wild immediately after an action that modifies the target user, e.g. a timeout or another role modification. Following on from @gwkline's repro steps, this script consistently fails to add 1-4 roles (out of 6), but will always create the audit log entries.
All 204 responses and a user with 3 or so roles is not required.
, and I tried buying it in application test mode. The purchase went through, but it never appeared in the interaction's entitlements array. Interestingly, after a refresh, even the Discord client UI isn't aware that the SKU has been bought, even though trying to buy it again will result in an error because it's already bought.
Since then, somebody has actually bought the SKU, with real money, and the sa...
I think it makes sense to have pins-related docs in the messages section, I assume it was missed in #7034
I was unsure about pins and I made a decision to leave them in Channel, but we can move them to Message if people think that's better. (also, should we move Get Pins too?)
would love feedback/votes on this
I'm not very savy with curl, I was however able to obtain a log entry from Fiddler.
I have replaced the bots token and cookies with <WITHHELD>
Fiddler.txt
Maybe a shortcut the the channel for pins?
It would make sense to have either all pin endpoints in messages or leave the GET in channels
I made a decision to leave them in Channel
What was the reasoning for leaving get pinned messages on the channel page while moving the other get messages endpoints?
Description
Updating or creating commands using the bulk upsert endpoints may have the commands enter a state where the backend does not return the commands to a user when they attempt to use them
Steps to Reproduce
have admin or be owner
Create or modify a command with the global or guild bulk endpoint.
- There is no repeatable reproduction steps or payload, but creating a few different commands should result in a solution. See [this...
Description
GET https://canary.discord.com/api/v10/webhooks/:appId/:interactionToken/messages/@original (to get interaction response)
is also giving just 'error 1015'
I'm using a CF worker to receive all interactions.
The interesting bit is that this is only happening when one specific member in my guild is running the command that causes this (and I have verified its veracity). When I attempt, and when I had another friend attempt, everything worked just fine. This seems odd cons...
(I'm aware of https://discord.com/developers/docs/topics/rate-limits#invalid-request-limit-aka-cloudflare-bans, but this is just the one request and I'm well below 10,000 requests total per that time)
You're going to have to either use a proxy or not use Cloudflare Workers. Since Workers use a shared pool of IP addresses, it is really easy for a bad actor to eternally ratelimit the IPs through endpoints that don't require authentication, which is what is happening here.
Hello @sklein12 with bigger i mean > 10k, I tested it with a guild where only I was in (there it worked) and a bigger server (10k), there it didn't work.
@colinloretz Safari does not support the Partitioned attribute in Set-Cookie headers, which seems to make all use of Set-Cookie non-functional in Activities when using the Discord app for iOS. Is there anything to be done about this? If so, it would be great if that could be documented; if not, the limitation should be documented.
This PR removes localized Getting Started guides and the LocalePicker component. Unfortunately, the localized Getting Started guides introduced last year in #6426 were made outdated with #7035 (which brought breaking changes). The translated documentation was an experiment to see if we could create and manage new language for our documentation, but unfortunately we don’t currently have the resources to update the localized guides, create new localized content, or the knowledge to review open ...
Thank you for the work on this @turkwr. Closing this one due to #7042.
We hope to come up with a more sustainable localization strategy for the docs/dev portal in the future. Will we revisit.
Thank you all for the teamwork on this one. Closing for now due to #7042.
We hope to come up with a more sustainable localization strategy for the docs/dev portal in the future and will revisit!
Thank you for the translation @Gabriele73. Closing for now due to #7042.
We hope to come up with a more sustainable localization strategy for the docs/dev portal in the future and will revisit!
Thank you for the work on this @turkwr. Closing this one due to #7042.
We hope to come up with a more sustainable localization strategy for the docs/dev portal in the future. Will we revisit.
@colinloretz Oh, np. You can tag me whenever you need anything translated into Turkish.
I have the same issue. @RealAlphabet Did you find an answer?
I have the same issue. @RealAlphabet Did you find an answer?
No, silence on Discord. I suspect undocumented anti-abuse behaviour that sometimes gets very weird for legitimate OAuth2 API use cases since we don't even ask for the guilds.join scope anymore..
Oh, understand.
Thanks you for notify me about closing of the pull request.
heads up we are removing the user_id field on soundboard sounds
Thank you for the report, we're looking into this.
Hi! I had this exact problem just now. it was present because one of my alt accounts, that is assosiated with my IP, was banned on the server. After unbanning it, the issue was solved. Hope this helps
yea it's definitely some shit with IP, sometimes is just shit tokens/accounts and usually this shit is gone in 2-3 days and + with new IP/proxy, i face this problem while joining server with my alts and even if acc first time join on server it's show like "unable to accept invite" / "user b...
I have just tested this in a server with >52,000 online users and I received the GUILD_MEMBER_ADD event.
There is likely a bug in your setup somewhere.
Looks like this endpoint doesn't exist anymore? Just returns 404 whenever I call it regardless of params.
👋 Hey @crj-uwu, a couple different points I want to address
- A lot of the behavior-specific question is more nuanced around the user experience than we typically go into for dev docs. For more details on age-restricted commands from the user side, I'd suggest taking a look at the Help Center article. For user-specific questions that the doc doesn't answer, you can definitely write into our [develope...
This is confirmed and real, only on chrome for android. Possible hint ... try pinching to zoom out, and then back in. 🪄 I suspect it's a mobile viewport interaction with position: sticky bug.
@rtchade just impmeneted partial work around by embedding https urls that route to a AWS Gateway and a lambda I set up which will then return a redirect response to the app URL.
It works very well on Android, but unfortunately on iOS users need to confirm the redirect.
Possible hint ... try pinching to zoom out, and then back in. 🪄
nope; that does absolutely nothing :((
This issue also affects Safari on iOS.
Description
When attempting to use an Application Command that is NSFW marked in a thread channel / forum post, it returns an error message on Discord. It does not even go through the API to the app.

Steps to Reproduce
Setting an Application / Slash Command to NSFW and trying to use it in a thread channel or forum post channel, even with the text channel / forum channel holding the thread / post having Age-Restricted option toggled on
#...
Confirmed, I see this behavior.
Providing end when creating / editing the recurrence rule is currently not supported. In the future we'd like to allow this, but work around events is on pause right now.
Any updates on this issue? It would be useful if this was documented.
Update is that I have WIP documentation but it isn't quite ready yet
@shaydewael I can help with the Turkish translation, please let me know in the future.
@shaydewael I can help with the Turkish translation, please let me know in the future.
I'm not very savy with curl, I was however able to obtain a log entry from Fiddler. I have replaced the bots token and cookies with
<WITHHELD>Fiddler.txt
I have tried this payload ~15 times in Postman (after first clearing out all commands via [] to ensure it actually creates the commands). I have seen an average of 5.4 seconds to complete this request every time. Normal range I saw was of 5 - 6.25, with max I have...
This pull request adds information about required basic authorization when developer uses redresh_token to renew access_token.
This authentication scheme is mentioned in the OAuth2 page but not well documented.
Actually this might still be good to document in Reference
I agree. For new developers who are still unfamiliar about how oauth generally works, it's a good callout.
https://www.rfc-editor.org/rfc/rfc7636
Looks like Discord's OAuth2 supports the extension
Before I finish this PR is there a reason for it not being documented?
oh someone beat me to it 😭
I made this pull request right after I faced with this problem in my work, asked in DDevs server and got suggestion about making changes in docs
To refresh, make another `POST` request to the [token URL](#DOCS_TOPICS_OAUTH2/shared-resources-oauth2-urls) with Basic authorization (`CLIENT_ID` as the username and `CLIENT_SECRET` as the password) plus the following parameters:
shouldn't CLIENT_ID and CLIENT_SECRET be lowercase too to match the rest of the page
Notes:
- As per https://github.com/discord/discord-api-docs/issues/450#issuecomment-550075048 + https://github.com/discord/discord-api-docs/issues/1296#issuecomment-570703730, clients with custom redirect URIs must use PKCE
- As per section 4.1 of the spec, the
code_verifiermust be at least 43 chars long, Discord strictly enforces this - (?) the
role_connections.writescope does not support PKCE (https://github.com/discor...
client client should be client secret
First RFC about IPv6 was in 1998. It's extreme weird that DIscord dont have support to IPv6!
I reviewed documentation and found that information about basic authorization is specified in "Authorization Code Grant" section and was written in #6356 pr.
All calls to the OAuth2 endpoints require either HTTP Basic authentication or
client_idandclient_secretsupplied in the form data body.
I think new developers may not be able to find out how to work with basic authentication within OAuth2 endpoints. This section needs some clarification.
[discord-api-docs] Branch update-game-sdk-docs was force-pushed to `d6a708d`
28e9e1c move rich presence best practices to best pract... - shaydewael
f453fc4 consolidate existing rich presence content - shaydewael
I still cannot repro this or even get close to reproing it from a time-consumed perspective.
I am once again left thinking that this is a problem with your individual network connection.
Feel free to open another issue if a consistent reproduction can be found.
50014 is "Invalid authentication token provided". currently the example shows "Invalid authentication token". this commit corrects this.
244246c document the poll result message and embed - anderswift
[discord-api-docs] Branch document-poll-result was force-pushed to `4379523`
[discord-api-docs] Branch document-poll-result was force-pushed to `d033fd6`
Documents the poll result message and embed.
[discord-api-docs] Branch document-poll-result was force-pushed to `ca475bc`
[discord-api-docs] Branch document-poll-result was force-pushed to `1439ba5`
[discord-api-docs] Branch document-poll-result was force-pushed to `ad256f6`
[discord-api-docs] Branch document-poll-result was force-pushed to `1a0a738`
[discord-api-docs] Branch document-poll-result was force-pushed to `ced77a3`
Why might it always be light and i cant change it?
Click the icon at the top-right to change Themes (next to your profile picture)
Nuh uh... i mean
My cursor is "grab" here, but still cant click anything
I watched what happens in html and it actually changes, so its my system killing something, but i dont understand why =(
that's ... weird. Which operating system and browser are you using?
W8.1, Google Chrome (i dont think its the newest one, but its still not very old) and OperaGX also
I thought my AdBlocker kills icon, but i was wrong.
Windows 8.1? Can you check chrome://settings/appearance? Do you have mode set by chance? Or anything in the OS to control light/dark mode?
Maybe before all that .... a good old fashioned clearing of your browser cache?
I have this theme
Nothing should controll in OS (i have standart Aero one)
Cache/History/Site settings already cleared
There is a lot more to it than just an embed type
What happens if you use the default theme? Also, what's the mode setting in chrome://settings/appearance set to?
<img width="735" alt="image" src="https://github.com/user-attachments/assets/22723870-e689-4a7c-9c22-501fa245c93c">
Bruh, no such setting...
Even stranger: on opera GX there is a such button, and its set to "dark", but devportal is still "light"
The "can have the following fields" is confusing. Does this mean fields other than those saying "if applicable" are optional in poll result embeds?
- The author will be the same as the author of the poll, and they will mention the author of the poll.
- The author will be the same as the author of the poll and will be mentioned.
The "the author of the poll" part is somewhat duplicated...
Are you running an extension on the website (such as Google Translate)?
Is there any update on this? Because i wanted a bot that translates messages with an ephemeral message, but it's impossible in read-only channels, it would be very useful for us as we all speak different languages.
Description
sry caps
Hello, please fix your discord, when opening the application as an administrator, you can't stream normally, that is, no window except discord is taken, and if you take only the screen and open the game in full screen, the overlay also does not turn on in the same way
Steps to Reproduce
.
Expected Behavior
.
Current Behavior
.
Screenshots/Videos
.
Client and System Information
Windows 10 1809 x64
I think this bug is present in all vers...
I was just in the middle of writing such a bot, and see that it's not possible. Too bad.
Well hello there! This issue tracker is specifically for problems with the Discord Developer API - it's not a place for general Discord bugs/issues. For that, please submit a bug report over at https://support.discord.com/hc/en-us/requests/new?ticket_form_id=360006586013.
In the latest discord API docs description was mistakenly identical to the "activity" field description.
https://discord.com/developers/docs/resources/message#message-object
pretty sure this was not a mistake and both fields were added to power rich presence embeds. though maybe the application field has been repurposed for other uses since then
Description
The devices with problems found so far:
iphone 12 mini - ios 15.3.1
one Plus pro - Android13
Steps to Reproduce
Reproduce step:
1、set mapping like:
2、According to the mapping settings, request webSocket and return the result to the page,demo code like:
`
111
try {
var ws = new WebSocket('/myWss');
...
message context commands have been available for a very long time now, this should cover most of your needs
Try avoid relative URLs as it mentioned in development guides. https://discord.com/developers/docs/activities/development-guides#construct-a-full-url
it‘s works
Usernames are unique across the platform.
they aren't fully yet because bots still use discriminators
Ahhh, totally forgot about Bots. yeah that makes sense. Maybe that should be included in the docs?
I don't think this PR makes sense at the moment.
Unless as a note with something like "Usernames are unique, except for bot users".
But that sounds / feels unneeded at the moment imo.
| username | string | the user's username, unique across the platform except for bots | identify |
Be that as it may, there are some workflows for which this suggestion would make more sense. Furthermore, depending on how someone has structured the design of their bot, it might be a little weird for 99% of features to be /slash commands, and only 1% of them be context commands. Also, I feel like users are generally not well educated on the existence of context commands - discovery just isn't as obvious and they're hidden in the submenu that many users probably won't recognize.
Over al...
should we put this in a table so it's more readable?
Would be cleaner. Yes please 🙏
+1 on this, even if via an explicit parameter in the response that you are okay with a fallback to ephemeral, it would be a really great feature, especially in things like locked threads.
should we put this in a table so it's more readable?
I gave this whole documentation some more thought, and I think it could use some major changes:
I agree a table would probably be better than this list. But I think the whole embed documentation warrants a separate section and probably a code sample in addition to the table, since this format / way to use embeds (thankfully) isn't widespread.
This, in combination with some improvements to the wording would go a long w...
yeah this part about the embed fields should be in a new section in the embed object documentation. and we should add the automod embeds there later
Description
The webhook.incoming scope is used to create webhooks on a user's behalf. When prompted to select a server and channel to create the webhook in, forum channels are excluded.
Use-case
My community members may submit forms to apply for special actions on our Minecraft server. (Google Forms, since modals don't support file uploads yet)
I am writing an interaction-based http-only bot that posts responses to...
Webhooks work just fine in forum channels, and when creating them manually or programmatically, there is no difference to any other kind of channel.
The execution process for webhooks is different for forum channels, and a normal webhook execution request would fail in that case. Therefore any app that does not support them would break if one was selected. Additionally I believe you cannot access the channel type so how would you know how what data format to send?
Support for relative urls for Websockets was only added in very recent browser versions, so this behavior is expected of those older browsers, and you'll find the same behavior if you were to open your activity's page in a browser on those phones directly. To maintain support for these older OS versions/devices, you'll need to construct the full URL following the guide that was shared.
Yeah, I agree that "just fine" is not the correct phrasing here.
The error message on the 400 response says
Webhooks posted to forum channels must have a thread_name or thread_id
But is this different to manually creating a forum webhook and putting it in the notification settings on GitHub? If the application doesn't support it, it doesn't support it 🤷
I don't think this would be a breaking change. Users might try to access a feature that the app hasn't implemented yet and find out ...
Description
This bug seems to only affect the dev portal, as the app emoji when sent by the bot appears perfectly normal.
Steps to Reproduce
Simply upload an application emoji that doesn't have a 1:1 height:width ratio.
Expected Behavior
The emojis displayed in the Emojis tab of my app should appear exactly as they'd show in the client.
Current Behavior
Emojis seem to be squashed or stretched until they "appear" with a 1:1 ratio.
Screenshots/Videos
 | The day within the week to reoccur on | | guild member data for this user for the guild which this event belongs to, if any |
83877f3 Fixed nullability - DV8FromTheWorld
one interesting thing we could note here is that we store the times in UTC. This means that a user in a different timezone may schedule an event for their Saturday/Sunday but this will actually be stored as Sunday/Monday. That's why those types of sets are allowed.
Doesn't seem to work with bot token anymore unless there is a specific thing you need.
Does work when I use the token of a regular user account.
After investigating how this is handled, and our close codes, this behavior is intentional. Removing an enabled gateway intent invalidates all of the app's active gateway sessions, closing them with a 4003 (not authenticated) because the authentication for those sessions has been revoked. This is the same as if the app's token was reset with active gateway sessions. If the app then tries to reconnect without the intent that was disabled, it'll connect just fine. But if it tries to reconnect w...
4609cdf clarify description of 4003 close code - Rodentman87
fixes #6970, clarifies the description of the 4003 close code to include that it's possible to receive a 4003 after identifying if the session is invalidated while it's active
Description
If a message is edited before Discord embeds the contents of the link, when it finally embeds, it will replace the entire message contents with the message contents of when the link was sent. While this is reproducible with a standard user account, it is especially a problem with bot users, as it will carry over the components from the message that had the link too, which causes issues.
Steps to Reproduce
- Send a message containing a link that takes a moment to embed ...
455bac5 Document get voice state endpoints - advaith1
I also moved the modify voice state endpoints to the Voice page
isn't this missing the user ID in the path?
[discord/discord-api-docs] New comment on pull request #7059: Clarify description of 4003 close code
This makes sense, but I feel like it's not the best that all sorts of invalidations use a code that has reconnect=true, because in some of those cases we reconnect with the same parameters just for it to get refused.
If that's deemed intended and alright, then so be it - but I feel like ideally there'd be a separate close code that implies reconnect=false (kinda like OpCode message 7, but that doesn't make sense here because the connection needs to be immediately terminated by Discord).
[discord/discord-api-docs] New comment on pull request #7059: Clarify description of 4003 close code
reconnect: true means that a reconnection might be successful, and that is the case with intent disconnections, as the reconnection will be successful if this connection does not use any removed intents. when invalidating connections on an intent change, Discord does not check whether the connection actually uses a disallowed intent or not. it is intended that the bot tries to reconnect in this scenario, which may succeed or fail with a disallowed intents error.
you can check if it is not by mistake then close this merge
f81cb63 Update docs/resources/Guild_Scheduled_Event.mdx - DV8FromTheWorld
4890918 Documentation for ScheduledEvent.recurrence_rul... - DV8FromTheWorld
0cde3b2 Added documentation for recurrence_rule - DV8FromTheWorld
3f802b1 Updated CONTRIBUTING.md for more examples and i... - DV8FromTheWorld
44a2ca5 Table linting - DV8FromTheWorld
83877f3 Fixed nullability - DV8FromTheWorld
f81cb63 Update docs/resources/Guild_Scheduled_Event.mdx - DV8FromTheWorld
GET /guilds/{guild_id}/soundboard-sounds and GET /guilds/{guild_id}/soundboard-sounds/{sound_id} are missing.
/guilds/{guild_id}/soundboard-sounds returns items which is a list of sound objects:
{
"items": [
{
"available": true,
"emoji_id": null,
...
},
...
]
}
yeah I made those endpoints last week and didn't update the pr yet because there are some other things we are changing
bef6b62 chore: move mdx to devDependencies - gabemeola
Upstream was attempting to resolve both dependencies and devDependencies. Everything exploded.
Description
Oauth2 is completely broken, returns the following error:
{
"message": "Invalid Form Body",
"code": 50035,
"errors": {
"location_context": {
"channel_type": {
"_errors": [
{
"code": "BASE_TYPE_CHOICES",
"message": "Value must be one of (0, 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16)."
},
{
...
Bumping this // experiencing the same thing both locally during development and in production.
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: MTc2MTU3NDIxMTUxMDU5OTY5.GiiStC.Y1AA1yDHcUJ7rb4KtcwHi4zGwtF_D2f0orJ_Ks' \
-H 'cac...
Looks like the request body that is being sent to Discord is using a comically large number in this scenario for the channel_type when clicking Authorize
Should be back in action shortly.
Thanks for jumping on this! Banged my head on my Authjs/Discord app config for 20 minutes before deciding maybe it wasn't a me-issue and found this Issue.
Thi is maybe a good candidate for a smoke test, though? 😅
pls fix I cant use bloxlinks
Is there any ETA when fix will be live? Currently users can't get into application via Discord's auth. I'd like to know if I need to introduce some walkaround or just wait for fix to be deployed.
Fix is being deployed right now, sorry for the delay
heads up we are removing the
user_idfield on soundboard sounds. you will still getuserif you have Manage Expressions
user_id is still sent instead of user in the GUILD_CREATE event. Will this also be changed?
Voice states can now be accessed over the HTTP API! Apps can use the new [Get Current User Voice State](#DOCS_RESOURCES_VOICE/get-current-user-voice-state) and [Get User Voice State](#DOCS_RESOURCES_VOICE/get-user-voice-state) endpoints to fetch a user's voice state without a Gateway connection.
sry ik annoying lol
or can use bot user if u wanna keep bot but prefer app
b7b4bdf Update docs/Change_Log.md - shaydewael
072b4bc Document get voice state endpoints (#7061) - advaith1
I think we will only send the user field over API and gateway will not eventually include user data, like emoji and stickers
Discord could use the builtin color picker.
and possibly translate decimal, hex (already supported), or rgb.
for getting members in a voice channel, what data specifically would people like/need on the members, and what are the use cases for that data?
I think that array of VoiceState should be enough.
The only thing I find it useful for is level system based on time spent in voice channel. But it requires watching for join/leave events, constantly doing API request to check people in VC is a bad idea, and therefore doesn't need joined_at field.
Curious too, really annoying to track subscriptions using roles 😭 (plus very inaccurate)
Recently I start working with discord's OAuth2 and tried to use GET /users/@me/guilds/{guild.id}/member without having required scope. The error code I got was 401: Unauthorized. In this case I am authorized and it made me confused and took long time to fix it.
I think in such case HTTP error must be 403: Forbidden as mentioned in docs.
For my use case, I just need to know who's there, nothing more detailed.
Specifically, my bot spins a wheel-of-fortune-esque wheel that selects a winner at random. So long as I can find each GuildMember's nickname/username, then that allows me to put all the users' preferred names on the wheel and choose one of them as the winner.
Others may have more detailed information, but this is what I would use it for.
+1
Year and half later and not even one of these are planned, really sad to see.
Are they even aware?
Description
Upon responding to an interaction invalidly, the message on Discord will be greyed out and appear awkward. It will no longer state the generic "The application did not respond" message.
This works as expected with interactions that are not responded to.
Steps to Reproduce
- Respond to an application with an invalid payload. This can be:
- An empty payload
- A button of type 6 with reference to an invalid SKU
- Etc.
Expected Behavior
A message stating ...
Echoing the other comments, who's in the channel is sufficient. Voice-states would be better, but that info can be fetched with the new voice-states api
I'm also encountering this situation when I attempt to run a command for my app within a server. Not even in DM's.
I'll use a command - then all further usages of that command result in an "Unknown Integration" error until I make some changes in the app's integration settings. Turning off @everyone permissions then turning them back on appears to "solve" the issue for one command invocation, but then the error returns on further usages.
I tried to find all possible fields as the client doesn't make full use of the endpoint, but I might've missed a few
Isn't this row missing the last column?
Same as below, the first two columns should probably be switched...
| or_query? | array[snowflake \| string \| integer] | The values (up to 10) to match against using OR logic (1-100 characters each) |
I think "array of" (instead of array[]) and "or" (instead of |) would be more in line with the usual docs style...
Do code blocks work inside warn boxes?
I think constants are usually documented using Name - Value. Also maybe name could be replaced with sort type
formatter stripped it because the value is empty
| Field | Type | Description |
|-------|----------------------|--------------------------------------|
| gte? | snowflake or integer | Inclusive lower bound value to match |
| lte? | snowflake or integer | Inclusive upper bound value to match |
| Field | Type | Description |
|------------|----------------------------------------------------------------------------------------|------------------------------------------------------------------------|
| or_query? | array of snowflakes, strings, or integers | The values to match ag...
Thanks for your contribution, but unfortunately we are leaving this endpoint undocumented at this time. Appreciate the thoroughness, though, and we'll consider re-opening this PR should that decision change.
Not a bug, it's intended (also duplicate):
See comments from Discord Staff regarding it:
* [Cannot connect on IPv6 #6695 (comment)](https://github.com/discord/discord-api-docs/issues/6695#issuecomment-1977302538) * [Cannot connect on IPv6 #6695 (comment)](https://github.com/discord/discord-api-docs/issues/6695#issuecomment-2051952479) * [Cannot connect on IPv6 #6695 (comment)](https://github.com/discord/discord-api-docs/issues/6695#issuecomment-205208...
I'm closing this as a duplicate issue. We are going to follow up on the issue in https://github.com/discord/discord-api-docs/issues/7067
Very big PR, but it's mostly doing a lot of reorganization of content, though it has a few new guides and pages (specifically for Rich Presence).
⚠️ This is still a draft as I'm taking another pass through all of the updates. Feel free to leave high level comments about the changes, but specific wording and details are still likely to change so hold of on reviewing specific copy for now.
Rich Presence docs
- New Overview page
- Reorganizes all of the content
- Removes most s...
can we put this under list sticker packs for consistency
7da8ea4 Add approximate_user_install_count to application - azycheng
Document adding approximate_user_install_count for user-installable applications
- Update
Application.md - Changelog entry
1a9e949 Document /sticker-packs/:packId endpoint (#7065) - quinchs
9c45aa7 Add approximate_user_install_count to applicati... - azycheng
Best example! I had another few but they are fade away compared to that one! Definitely bump this one <3
Using JDA, with commands that are otherwise instants (a /ping command), I get this error.
The weird part is that it's really random, but once it happens, it just wont go away. The command itself or my code does not seems to be a problem either since when it works, the interaction respond instantly. The device on which the code run is good, and the network is fast.
I was not able to identify a pattern, unfortunately, hope it get fixed soon
edit : the commands fail instan...
Looks like discord still not supporting a handful of GH events. Any alternatives? I need workflow events specifically
Currently the docs for execute a webhook mention many fields like Obligatory unlike create message where exists rules for what field can be obligatory, this PR define that rules in webhooks and marks the optional fields related to this.
Docs say ".sample.env", but the actual file in the getting started project is ".env.sample"
Back in your project folder, rename the `.env.sample` file to `.env`. `.env` is where we'll store all of your app's credentials.
Back in your project folder, rename the `.env.sample` file to `.env`. This is where we'll store all of your app's credentials.
Field triggering_interaction_metadata from Message Interaction Metadata Structure is now linked to itself as other structure do'
Yep, definitely good idea. When I firstly worked with forum tags (assign tags to a post with an app) I assumed its a right click on the forum tag inside the forum channel setting.
But as tried it didn´t work and I was like uhm how to get it? Just via an api request?
So it is very worth having this consistent with other channel/roles/message objects to copy it in the client.
I've just encountered this error too (Unknown Integration), not in DMs, but in my server. Didn't change anything about the command nor have I restarted the shard (it however still does occur after a restart.) Tried changing the integration's settings as @AllegroVivo suggested but that didn't change anything.
@kyan0045 i would check to see if there's a second instance of your app running somewhere.
It turns out I was running the app from the IDE on my laptop from some testing I had done the previous day and never turned it off.
@AllegroVivo Nope, there isn't (except for the other (remote) shards, but those don't even have access to the guild), also wouldn't really make sense then that executing the command worked for my alt account but not for my main account.
@kyan0045 If you have the luxury of trying to reset the API token, maybe try that? (Not always a possibility tho, hence it being a luxury lol)
added! :)
<img width="231" alt="image" src="https://github.com/user-attachments/assets/d762c5fd-d0d9-46c3-ab7e-3aa197f5085f">
added! :)
<img width="231" alt="image" src="https://github.com/user-attachments/assets/d762c5fd-d0d9-46c3-ab7e-3aa197f5085f">
52a467d split the changelog - JustinBeckwith
aa4d7ee [voice] updating docs to v8, deprecating old ve... - birarda
The voice docs are pretty out of date - due to some important upcoming changes I'll be fixing this over multiple passes.
Updates the voice gateway documentation to include all current versions (up to version 8) and to document the resume behaviour in added in version 8.
Also announces the deprecation of some very old versions ( < version 4).
07134f8 clarify initial behaviour for seq ack - birarda
a9a2bda Refresh Game SDK and Rich Presence documentatio... - shaydewael
9f600a4 [voice] updating docs to v8, deprecating old ve... - birarda
0cbba80 [voice] update encryption modes and deprecate some - birarda
Adds some previously undocumented voice encryption modes: aead_aes256_gcm_rtpsize, aead_xchacha20_poly1305_rtpsize, xsalsa20_poly1305_lite_rtpsize, and aead_aes256_gcm. Deprecates all xsalsa20_poly1305* variants as well as aead_aes256_gcm.
2f9d369 fix required support sentence - birarda
d75dba2 fix link in change log - birarda
a56d4b8 bring encryption modes to secondary level - birarda
| Mode | Key | Nonce | Status |
|------------------------------------|---------------------------------|-------------------------------------------------------|-----------------------|
| AEAD AES256-GCM (RTP Size) | aead_aes256_gcm_rtpsize | 32-bit incremental integer value, appended to payload | Available (Preferred) |
| AEAD XChaCha20 Pol...
Is there a migration timeline for this? Also, I think such a change should be communicated in the changelog and an info/warn box here probably wouldn't hurt either. The same (info/warn box) is imo true for the previous change regarding voice gateway versioning as well.
9ffb766 move encryption modes, deprecate default version - birarda
38f28ab I do not understand the linking system - birarda
13602c7 adding deprecation dates for version/modes- - birarda
We are officially deprecating some very old voice gateway versions (> 7 years ago). Deprecated voice gateway versions will be discontinued as of November 18th, 2024.
37f53e8 Update docs/Change_Log.md
- birarda
42d1a8b [voice] clarify session re-use on guild channel... - birarda
This has been a growing expectation of various Discord systems, and will likely be solidified this week with the token being re-generated on channel change. It is also a strict requirement of an upcoming voice protocol change.
fe89a9c [voice] encryption mode updates and deprecation... - birarda
2 years later it's still supported 😄
<img width="473" alt="image" src="https://github.com/user-attachments/assets/7d354767-9376-470d-86fd-0c98a53a206d">
2ba4e3a [voice] clarify session re-use on guild channel... - birarda
@MinnDevelopment it has a breaking change to API 6
I'd love to see this made possible !
I'm trying to make a /report command to report the result of a competitive game for a bot managing tournaments, by giving the users in the game, creating a select dropdown to select the results and save it into a database.
I did it as a prefix command, but would love to make it possible as a slash command too...
506224a create a new section for embed fields by embed ... - anderswift
[discord-api-docs] Branch document-poll-result was force-pushed to `b45468a`
[discord-api-docs] Branch document-poll-result was force-pushed to `a3256bd`
[discord-api-docs] Branch document-poll-result was force-pushed to `65b83a1`
[discord-api-docs] Branch document-poll-result was force-pushed to `144fe78`
83c20d3 use frontmatter for TOC config - JustinBeckwith
sorry, i've been on vacation but just made some updates based on this feedback. i do agree that the specific embed fields for each type warrants a new section. i didn't want to take on documenting fields for some of the other embed types here, but i can at least get it started and we can flesh this out in another PR.
Description
When attempting to customize my bot in the Discord Developer Portal, I encounter a "500: Internal Server Error." This error prevents me from saving any changes to the bot's settings, such as updating the bot's icon, banner, username, or token. The issue seems specific to this particular bot, as other bots in the same account do not experience this problem.
Steps to Reproduce
When attempting to customize my bot in the Discord Developer Portal, I encounter a "500: Interna...
Having the same issue, and yes thats correct how we cant update new bots.
Attempting to update info on a new bot fails but updating an old bot works fine.
I should note that for me when I change the username it says it works but on discord.com it doesent change
Certain embed types are used to power special UIs. These embeds use [embed fields](#DOCS_RESOURCES_MESSAGE/embed-object-embed-field-structure) to include additional data in key-value pairs. Consequently, values will always be strings.
Below is a reference of possible embed fields for each of the following embed types.
Maybe a "parse as" (or something like that) column could be added to indicate what the value string will look like.
Additionally, a code sample would probably still help to visualize the explanation given above.
Maybe also add the information when CREATE_GUILD_EXPRESSIONS is sufficient as it's in get soundboard sound.
Returns a list of the guild's soundboard sounds. Includes `user` fields if the bot has the `MANAGE_GUILD_EXPRESSIONS` permission, or if the bot created the sound and has the `CREATE_GUILD_EXPRESSIONS` permission.
Typos
Returns a [soundboard sound](#DOCS_RESOURCES_SOUNDBOARD/soundboard-sound-object) object for the given sound id. Includes the `user` field if the bot has the `MANAGE_GUILD_EXPRESSIONS` permission, or if the bot created the sound and has the `CREATE_GUILD_EXPRESSIONS` permission.
This error can be encountered when using the GET /sticker-packs/:packId endpoint (#7065)
c4b4dd0 clarify description of 4003 close code (#7059) - Rodentman87
a020596 Add Unknown Sticker Pack error code (#7081) - almeidx
The property being referenced is frequency, not frecency
When we go to add this to the documentation we should first put them behind a different intent. This should not be bound to voice states intent
Have there been any changes in that regard yet?
@valdotle we have decided to keep it in the voice states intent
952f79a Document the Voice Channel Effect Send event (#... - advaith1
looks like for default sounds the id is in a string (e.g.
"1") in the API but a number in this gw event 🫠updated to "snowflake or integer"
@advaith1 has this been fixed?
Guessing there are no plans to add
VOICE_CHANNEL_EFFECT_SENDto the RPC API right?
If anyone else is wondering about this see this PR for sending sounds via RPC.
https://github.com/overlayeddev/overlayed/pull/183
This (finally) shouldn't be an issue anymore. And the voice channel effect send GW event could get a link back to soundboard sounds as well now.
Can confirm new bots do not allow for creation. I have had a new bot for ~20 minutes now and would expect to be able to update the icon by now
This issue seems to be inrelevant now 😹
The documentation is now up to date for all current voice gateway versions and encryption modes.
The documentation has been updated will all current encryption modes
I just got the same problem.
I restarted the bot a bunch of times - it didn't help.
I noticed that the commands were not updated when I changed them for the test.
There was nothing in the console logs.
The problem occurred after I failed to execute a command that took longer than 3 seconds.
The problem occurred only for my account.
How I solved it:
In the discord by changing accounts through “Switch Accounts”,
I tried from another account and new commands were displayed and the bo...
330f1ce Fix property name reference (#7082) - almeidx
just standardizing with the tables above
| poll_question_text | question text from the original poll |
| victor_answer_votes | number of votes for the answer(s) with the most votes |
| total_votes | total number of votes in the poll |
| victor_answer_id? | id for the winning answer |
| victor_answer_text? | text for the winning answer |
| victor_answe...
ee95649 Update docs/resources/Message.md - shaydewael
59c3459 Update docs/resources/Message.md - shaydewael
just standardizing with the tables above
Tbh I prefer the way it currently is was, since it's not just like a normal object...
74c2762 document the poll result message and embed (#7050) - anderswift
003da91 Update Getting_Started.mdx (#7072) - superjova
+1
We're running into the same issue and want to avoid asking for access to all of a user's guilds -- even if it's just high-level information.
this is actually correct here and wrong everywhere else lol. user is returned if you have either permission, regardless of who made it
gonna need to know how this works so the link checker and/or links can be fixed.
Shouldn't changelog entries that have "Breaking Change" in the title be marked as breaking ones / have breaking set to true?
Any idea how it works under the hood? Because according to Discord's official docs rich presence asset object only supports asset ids and media proxies
Just provide a URL instead of asset name in the asset field of the SET_ACTIVITY RPC command
Send a soundboard sound to a voice channel the user is connected to. Fires a [Voice Channel Effect Send](#DOCS_TOPICS_GATEWAY_EVENTS/voice-channel-effect-send) Gateway event.
The gateway event could get a link back to the soundboard sound object as well (commenting this again, since the visibility on the other comment isn't great / it's apparently outdated)...
2912bf6 fix lint and link checking - JustinBeckwith
Yeah, the parser that pulled this out wasn't perfect. Did a few spot checks and updated them - do let me know if you find others!
There are other anchors within the changelog that won't get added to both with just this change.
If the dates are remaining linkable h4s, those won't be added at all currently, and occasionally there are other headers (usually h6) within changelog entries that are traditionally sub anchors of the date (weird but that's how the generator works) that would only be "valid" on the individual page following this logic. Eg: https://discord.com/developers/docs/change-log#july-15-2024-api-updates-...
This creates consistency with the List Entitlements and App Subscriptions documentation.
how about...
file.title.toLowerCase().replace(/[^a-z0-9-]/g, '-').replace(/-+/g, '-')
Seems kinda flakey? Any way to codemod this all into the frontmatter in this PR rather than doing this at parse time?
@CoderXDeveloper the issue is fixed now.
The whole thing is flakey, and that's ok! This is a one shot script for taking our manually crafted mega change log, and getting thee split files. A little massaging after is ok.
I find it absolutely appalling that Discord staff see the 'bio' section as a privacy issue with fears of data scraping, especially on a live chat medium. There are THOUSANDS of drone accounts on Discord at this point abusing this feature - those are not using the Discord API like what actual friendly bots do!
On the servers that I manage, these bad actors are utilizing the bio segment with emoji icons and text to attempt to look more official, along with links that direct users to scams a...
I think you can do that through Vencord client in the Experiments tab
The API doesn't allow referencing multiple messages in single request. No, there isn't experiment. Changing referenced_message type to Message[] would be breaking.
"typescript-eslint": "8.8.0.0-alpha.16^8"
Presence different a music to sever members
Description
Executing UPSCALE_SUBTLE and UPSCALE_CREATIVE requests returns 400 BAD_REQUEST, {"message": "Invalid form body", "code": 50035, "errors": {"data": {"_errors": [{"code": "COMPONENT_VALIDATION_FAILED", "message": "Component validation failed"}]}}}. Does anyone know what the issue might be?
Steps to Reproduce
Reproduce the issue by performing UPSCALE_SUBTLE and UPSCALE_CREATIVE operations after applying UPSCALE to any image.
Expected Behavior
204 NO_CONTENT
Curr...
Automating user accounts is against Discord ToS. You won't get help here.
I'd expand this to encompass the full scope of markdown formatting in modal inputs.
Use case: in my case, I'm making my very own message scheduler, and I want the user to be able to input multiline messages, with markdown. Although the markdown works when the message is sent by the bot, the user can't preview it in the modal (I'm using a modal because slash command inputs don't accept multiline strings, and I don't want the bot to wait for a message in chat).
I'm in desperate need of a date picker.
Currently, these are how I'm handling date inputs in slash commands:
Which, as you can imagine, is a hassle. A date picker would be slick and easy to use (for both the user of the command/modal, and for the dev, as you wouldn't necessarily need to parse the date stil...
To built upon this, it would be cool if these variadic arguments could have different subnames. In my example, that would be useful for a date input. Then the whole date is together, but still separate:
In this example, the 5 values (integers in this case) could have different separators (as your conceptual image has some separators too). Then, the input could look something like this:
/date da...
Yes please, to (almost) all of them!!
I do feel the need for a description in modals, I'd somewhat limit the capabilities of using markdown in there. I wouldn't at all add the possibility to add multiple code blocks on one line, for example. Video previews could be useful, but might be a problem with space.
About the autocompletion of emojis and mentions, I feel like full markdown should be supported in the text inputs (as I've recently commented on the post about that topic: https://...
uhhh should we leave breaking out unless it's true? ideally this is happens infrequently
date: "${file.date.toISOString().split('T')[0]}"
i beg you to not make me write timestamps
date: "${file.date.toLocaleDateString('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric',
})}"
Everything should be working now!
9a2754b trim things from metadata - JustinBeckwith
2475d28 remove the old changelog - JustinBeckwith
Automating user accounts is a violation of the Terms of Service and not supported
029d2af split the change log (#7083) - JustinBeckwith
no, this is staying as-is for now. you should treat 1 and "1" as identical in payloads of this event - do not make assumptions based on whether it is a string or not.
And the ci never got completed, will look at for this to be deployed so it can get fixed
Description
If a bot moves a member into a voice channel where the member is already connected in, Discord will create a new "MemberMove" audit log entry. In addition, this new entry will not stack with the previous "MemberMove" entries of the same user in the same channel. Sometimes this seems to prevent new logs from being recorded for several minutes, creating a hole in the audit logs (the guild suddenly stops recording new audit logs for other actions).
Steps to Reproduce
- C...
Any updates on this issue? It seems to still be present.
Description
This was reported years ago and you ignored it and erroneously closed the ticket with no comment and no fix.
Needless to say, that's unacceptable. You have the framework to support animated emotes. You already support pulling these gifs in from Twitch. The Twitch API already supports providing these gifs. There's no excuse to refuse to support this or to continue to ignore the tickets being made about this bug.
Please fix this immediately.
Any updates on this issue? It seems to still be present.
They refused to fix this almost 2 years ago and closed this ticket without any comment or resolution. They won't be paying any attention to continued posts here.
Since the issue was never addressed or fixed in any way, I have opened a new ticket
Twitch's api is scattered at best, the api they give the public is not the api their client uses, and the api discord uses is a completely separate enterprise api that probably gets forgotten about. I wouldn't be suprised if that enterprise api still doesn't support animated emotes properly.
Side note: one evidence of this separation is the twitch clip embeds which use &parent=meta.tag for large social sites rather than explicitly defining the parent. This causes twitch to generate a custo...
It's definitely on Discord to chase down issues with their API. Closing tickets with no comment or resolution is simply not appropriate.
Description
Clicking on slash mentions doesn't do anything anymore.
The bug seems to have been introduced in version 319737.
It is present in:
- Stable 319737 (74c37b3)
- Ptb / Canary 320063 (81c6432)
It is not present in:
- Stable 319436 (45a1ed0)
Steps to Reproduce
- Use one of the Discord versions mentioned below
- Click on a slash mention
Expected Behavior
Command should be filled in
Current Behavior
Nothing happens
Screenshots/Videos
_No response...
The reason I closed the old issue is actually unrelated to the status of the concern being reported. These issues are only for reporting issues with the Discord Developer APIs and SDKs. Product bugs and feedback can be directed to our customer support teams:
- Bug reports: https://dis.gd/bugs
- Feedback and feature requests: http://dis.gd/feedback
With all due respect, this is something that should be handled on the github. If you don't currently have an appropriate flag to address this obvious, reproducible issue you should add one.
Passing the buck to a feedback blackhole is inappropriate
With all due respect, this is something that should be handled on the github. If you don't currently have an appropriate flag to address this obvious, reproducible issue you should add one.
Passing the buck to a feedback blackhole is inappropriate
To be fair this doesn't seem related to the dev APIs so this is not really the place for it. The bug form will probably get to someone at some point, the feedback page is irrelevant on this instance since it's a...
I appreciate the suggestion, but reddit is a deeply unserious medium that's not suited to handle tracking/fixing bugs. They're shooting themselves in the foot by pretending otherwise.
If they don't want to support general discord issues on this github, they should set up a general github. This going unaddressed for over 3 years is evidence of their current systems simply not working for anyone. Discord needs to embrace QA done by end users and make the process as simple and effective as...
fwiw, new reddit and old reddit are both on the CSP list now, so I really do think it's just on discord to ask at this point, which might very well be all they need to get twitch to add the animated emote support too
very interesting. It certainly seems like all available evidence points to a problem on discord's end. Either they need to make use of the Twitch API properly or they need to officially chase down...
I need a whitelist to allow bots to read meta tags, not for token security reasons.
I want to stop bots that pose as discordbot and do bad things, but I don't want to block all of them so that previews don't work.
You can now create a poll while editing a deferred interaction response with Edit Original Interaction Response.
21e547b Add polls when editing deferred interaction res... - advaith1
i broke prod for this
you can now add polls when editing a deferred interaction response
requested in #7022
e8278cf Clarify defer followup backwards compatibility - advaith1
[discord/discord-api-docs] Pull request opened: #7091 Clarify defer followup backwards compatibility
updated the description of Create Followup Message to clarify the behavior when you followup after deferring. also fixed a typo in the linked Execute Webhook docs
Make so message delete event returns whoever deleted the message, thats a must have info imo
Confirmed, I see this behavior.
Do you happen to have an ETA on when this is fixed? :3
Description
Users who are added to a team as Read Only are unable to copy the markdown for an app emoji for an application within that team.
Steps to Reproduce
- As a team admin add an app emoji
- As a read only member of the team try to copy the markdown for the app emoji
Expected Behavior
Able to copy markdown for an app emoji
Current Behavior
Button to copy markdown is disabled
Screenshots/Videos
. This is working as expected, if you wish to forcibly end the user's stream, you'll need to disconnect or move them like you're currently doing
79d9441 update links to embedded app sdk examples - JustinBeckwith
dcfda43 update links to embedded app sdk examples (#7097) - JustinBeckwith
I'll have to redo the pr if https://github.com/discord/discord-api-docs/pull/7098 is merged, something messed up
6a0d96c Update session start limit for very large bots - advaith1
[discord/discord-api-docs] Pull request opened: #7099 Update session start limit for very large bots
looks like this never got updated in the docs
WIP, not sure about naming etc, took the base naming from the api spec.
Is live since a while now, took the date of [this message](#api message) tho.
Suggestions welcome
Please, for the love of God, I would be 10x more willing to have this for bulk information submission and retrieval than to deal with each individual interaction. Being able to send and retrieve information in bulk would just be miles better.
the boost Server Settings page fetches its data from an endpoint that returns all of the boosts and their users and expiration dates, so that endpoint would serve this purpose. for creator tier subscriptions they probably want servers to use role subscriptions instead of boosting.
Is there any chance you'd be willing to explain like I'm 5 how to do this? 😅 I tried checking the Network tab on my server's "Server Boost Status" page, but I'm not really sure how to access/read said endpoint ...
the boost Server Settings page fetches its data from an endpoint that returns all of the boosts and their users and expiration dates, so that endpoint would serve this purpose. for creator tier subscriptions they probably want servers to use role subscriptions instead of boosting.
Is there any chance you'd be willing to explain like I'm 5 how to do this? 😅 I tried checking the Network tab on my server's "Server Boost Status" page, but I'm not really sure how to access/read said end...
Description
In the OAuth2 redirect URL setting in the application, I am able to save without entering anything in the text box that appears after pressing [Add Redirect].
On the client side, a validation check is performed and an error is returned, but on the server side, either no check is performed or the validation is passed, so when the setting is saved, the redirect_uris in the response to GET /oauth2/applications/@me will not match the type described in the documentation...
@TheKing-OfTime How did you make buttons work?
the boost Server Settings page fetches its data from an endpoint that returns all of the boosts and their users and expiration dates, so that endpoint would serve this purpose. for creator tier subscriptions they probably want servers to use role subscriptions instead of boosting.
Is there any chance you'd be willing to explain like I'm 5 how to do this? 😅 I tried checking the Network tab on my server's "Server Boost Status" page, but I'm not really sure how to ac...
@TheKing-OfTime How did you make buttons work?
Just pass the buttons field in the SET_ACTIVITY RPC command. But currently UI is broken and you can't see buttons in your own profile (While other users see them fine)
But currently UI is broken and you can't see buttons in your own profile (While other users see them fine)
It's intentionally hidden for yourself, most likely to prevent trying to join yourself on games and was just never considered to be allowed when activity buttons were added.
It's intentionally hidden for yourself, most likely to prevent trying to join yourself on games and was just never considered to be allowed when activity buttons were added.
No it's a confirmed bug. You can still see the buttons in another UI variant of activity card.
If it's a bug then why do the user popouts have a line of code that exclusively says not to show if its the current user?
This could be first implemented without the query part, only allowing more specific filters, like:
<img width="325" alt="image" src="https://github.com/user-attachments/assets/d5984a28-54d8-46e2-b74a-5bd82adf217a">
I believe this wouldn't be so much of a performance problem like full text search could be and would allow bot developers to get specific counts and filtering!
Description
Discord is still lacking support for IPv6. Please fix this issue ASAP because IPv4 is to be discontinued. Also please stop closing IPv6-related bugs on this tracker. THIS ISSUE NEEDS TO BE FIXED.
https://github.com/discord/discord-api-docs/issues?q=ipv6
Steps to Reproduce
-/-
Expected Behavior
Discord should work on IPv6-only internet connections.
Current Behavior
Discord doesn't work on IPv6.
Screenshots/Videos
No response
Client and System ...
Description
If a website URL matches /invite/, its embeds aren't parsed by the API.
This is probably related to Discord invites matching https://discord.com/invite/, however, it also breaks the embed of unrelated websites.
Steps to Reproduce
Send the following message on Discord:
https://embedtest.tomatocake.workers.dev/
https://embedtest.tomatocake.workers.dev/test
https://embedtest.tomatocake.workers.dev/invite
https://embedtest.tomatocake.workers.dev/invite/test
...
Recently, they are beginning to gain popularity user install apps. And you can get verification on your bot with any count of servers and application users. When the application reaches 100 servers, we are required to confirm the need for privileged intents. However, there is no such mechanism for personal installs. Is it planned to be introduced?
user installed apps do not have access to guild gateway events or api routes so they have nothing to do with intents.
Let's say we're using https://github.com/discord/discord-api-docs/discussions/6555 to track this, closing as a dup
| linked-roles | [Linked Roles](https://support.discord.com/hc/en-us/articles/10388356626711) tab |
Also, advaith mentioned it also supports id:linked-roles:LINKED_ROLE_ID: https://x.com/advaithj1/status/1827561928606281866
user installed apps do not have access to guild gateway events or api routes so they have nothing to do with intents.
Aforementioned Reddit thread with the solution is here: https://www.reddit.com/r/discordapp/comments/txqprv/error_trying_to_make_my_bot_private/
For anyone coming back to this in the future, this is how to enable adding private bots to guilds, since they changed it again from what is described in the Reddit thread.
I am on the fence with having these as two separate changelog entries. Really we're using this as an opportunity to introduce launching activities as interaction responses, and the entry point is required infra to make that work 🤔
If you want to handle sending messages yourself, you can set the handler to `APP_HANDLER` (type `1`). Details about Entry Point command handlers can be found in the [Entry Point command documentation](#DOCS_INTERACTIONS_APPLICATION_COMMANDS/entry-point-handlers).
| Type | Description |
|----------------------|---------------------------------------------------------------------------------------------------------|
| customize | _Customize_ tab with the server's [onboarding prompts](#DOCS_RESOURCES_GUILD/guild-onboarding-object) |
| browse | _Browse Channels_ tab ...
| linked-roles:ID | _Linked Role_ connection
Maybe this would be better off in the normal reference section but that's just an idea...
714ad1d fix: windows doesn't like "<" (#7098) - Lulalaby
8bc883c Entry Point commands and Interactions updates (... - shaydewael
Same, as I'm using a workflow_dispatch action to perform certain actions when other repos are updated, and I'd like to get a notification of when that happens (or fails) but its not part of a check suite.
[discord-api-docs] Branch explicit-sidebar was force-pushed to `906dd05`
Keeping consistent with current language
Keeping consistent with current language
df75014 use explicit sidebar labels (#7094) - JustinBeckwith
Incorrectly linking to Interaction object instead of interaction response object in create interaction response documentation
Create a response to an Interaction. Body is an [interaction response](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-response-object). Returns `204` unless `with_response` is set to `true` which returns `200` with the body as [interaction response](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-response-object).
Also a space too much
Ok. I also just realized that it should be Interaction Callback Response instead of Interaction Response
@z64 could you repost the solution? I am facing the same problem
can we use a standard table with a type column here
a4bcb5c add Type column to Application Location table - afgiel
Description
According to the Application Command Structure reference, the default installation context is based on the application's "configured contexts", presumably meaning the contexts configured in the "Installation" tab on the application's page:
integration_types?
Installation contexts where the command is available, only for globally-scoped comm...
I also want this to be fixed (or made configurable). I have a lot of bot commands that use autocomplete for player names, with a secondary input to select that player's specific world/profile/leaderboard/etc which is currently not possible when used in combination with the name input. One player might have 3 different profiles with different names, and another player might only have 1 profile for example. One player might be in 20 different leaderboards and another player might only be in 3. ...
I noticed that there was a new SDK for embeded(browser) targets, this SDK supports Discord Activities(The games that you can play in discord).
From there I went to the source code of the Embeded SDK, where i found the Set Activity Command
The Set activity command lead me to ...
I also have the same issue.
Because of the issue i literally can't use multiple autocompletes which is pretty boring.
Therefore i have to use other opertunities to programm something but which is not that good looking as it could be.
Please fix the bug where editing an existing autocomplete component before the last autocomplete component cause the slash command to crash.
question... not sure if currently this value is just optional because looks the fields get in all cases for the endpoint (?
- Announcement of upcoming entitlement migration (October) w/ migration/impact guide
- New Subscription API
- Revamp of Monetization docs
This will be getting merged today and will be around to answer questions in the ddevs #api-announcements thread.
@BlckViper if you are encountering a crash, that is a separate issue, and you should open a new GitHub issue with reproduction steps.
Starting on **October 1, 2024**, we will be migrating our existing entitlement system to a new behavior where **entitlements do not expire until explicitly canceled**. This migration guide outlines the changes and impacts of this migration on developers and guides how to manage these changes effectively.
As of October 1, 2024, all existing entitlements that grant access to user-subscription and guild-subscription SKUs will automatically transfer to the new system on their renewal date. This means we will have a month-long migration window to allow all of your entitlements to migrate to the new system upon renewal.
Developers should refer to the [Subscription resource](#DOCS_RESOURCES_SUBSCRIPTION) for information on calling the Subscription API and responding to Subscription events. For in-depth implementation details, see our [Implementing App Subscriptions](#DOCS_MONETIZATION_IMPLEMENTING_APP_SUBSCRIPTIONS/using-the-subscription-api) guide. You can start using this API now.
> warn
> With this update, entitlements for subscription SKUs will no longer emit events when a new subscription billing period begins. If you need to know when a subscription has been renewed, use the new [Subscription API](#DOCS_RESOURCES_SUBSCRIPTION) and related [Subscription Gateway Events](#DOCS_TOPICS_GATEWAY_EVENTS/subscriptions).
With the new entitlement behavior, entitlements for subscription SKUs will no longer emit events at the start of a new subscription billing period. Instead, subscription lifecycle management can be handled through the new [Subscription API](#DOCS_MONETIZATION_IMPLEMENTING_APP_SUBSCRIPTIONS/using-the-subscription-api).
## Step 5: Implement Monetization in your App
Now that you've set up your app for monetization, you can start adding code to support your premium features. We have guides for the following monetization strategies:
| limit? | integer | Number of results to return (1-100) | 50 |
discord think they aang the way they vanish when we need a feature the most
016b0b1 Fix subscription statuses - appellation
Subscription statuses start at 0
ec65e7c Fix subscription statuses (#7110) - appellation
Description
Using discord.py and listening to every possible member's updates. One of those possibilities are flags. example:
Change in member's Flags
Member: @X
Before:
=>After:
Looking into other flags update:
from 10 to 42
from 42 to 46
from 42 to 106
from 46 to 110
The documentation²³ is both incomplete and inconsistent when compared to the data observed.
Since those data could be a very useful tool for server admins, i am requesting more documentation about the f...
> Only the team Owner and team Admins can invite or remove additional users.
3d7f2d1 update teams dev docs for admin role (#7112) - donaldchen
c404922 Document newer guild member flags - advaith1
the member flags table was pretty outdated so I added a bunch.
not documenting 8 (AUTOMOD_QUARANTINED_BIO) because its deprecated or 10 (AUTOMOD_QUARANTINED_CLAN_TAG) because name is tbd
493d509 Document newer guild member flags (#7113) - advaith1
43a7c5c Undocument deprecated empty string fields - advaith1
removes sticker.asset and application.summary from the docs. these are now always empty strings so there is no point in keeping them in the docs, and they are not included in the spec.