https://github.com/discord/discord-api-docs/blob/b0cc841743a790db520e4c588a4d9a667b4de98b/docs/interactions/Receiving_and_Responding.md?plain=1#L217-L221
This should be changed to say PREMIUM_REQURIED is not applicable to APPLICATION_COMMAND_AUTOCOMPLETE, not MODAL_SUBMIT. It works just fine on MODAL_SUBMIT interactions.
#github-notifications
1 messages · Page 8 of 1
Will do, tho that throws a question in my head.
Why can't that be send for autocomplete.
That's kinds weird.
Is it only for discords own stickers or for custom stickers as well?
Funny enough 11 is listed here, but is not mentioned on the docs
11 is iframe modals, but that's restricted
Is it only for discords own stickers or for custom stickers as well?
Just tested, appears to affect all stickers.
Description
Specifying the width and height query parameter on the ephemeral attachments endpoint (https://media.discordapp.net/ephemeral-attachments) returns a HTTP 400 error now.
Steps to Reproduce
curl -i -H 'User-Agent: DiscordBot (Foo, 1.0.0)' 'https://media.discordapp.net/ephemeral-attachments/1156674590249062524/1156682930345742337/RANKCARD.png?ex=6515dc6c&is=65148aec&hm=4b20d2df9937ff01fcd84d4f6f1a80948cdc4de5fe6d3174ea48d9b0ed20cb3e&?width=1200&height=300'
...
that url isn't formatted correctly, there are two ?s. there should just be one ? and the query params should be separated by &, you shouldn't have &? anywhere
@advaith1 Oh i see it now. Nevertheless that's the actual URL i received from the interaction event lol
Thanks for flagging this! I think the urls now work. @Xirado, can you confirm?
Thanks for flagging this! I think the urls now work. @Xirado, can you confirm?
Yes
Currently, Discord has introduced a new paid subscription system without providing a REST API endpoint for developers to receive notifications when a user subscribes or renews their subscription. This limitation hinders our ability to seamlessly integrate subscription data into our applications.
I propose the implementation of a feature that allows developers to receive subscription events via API. This enhancement would significantly improve the user-developer experience and enable us to ...
Can't you just list entitlements on a regular scheduled job? Alternatively, if you have a simple gateway bot to receive the events, you'll get real-time notifications. Otherwise, Discord would have to send events to you somehow.
You receive an ENTITLEMENT_CREATE event when a new entitlement is granted for a user of your app. Please see the docs for more details: https://discord.com/developers/docs/monetization/entitlements#gateway-events
You receive an ENTITLEMENT_CREATE event when a new entitlement is granted for a user of your app. Please see the docs for more details: https://discord.com/developers/docs/monetization/entitlements#gateway-events
This is asking for a POST-like interface similar to interaction URLs or incoming webhooks.
Should this also do something with this
Feels kinda wrong lol, example has undocumented fields
Currently only available to beta groups of users and the behavior isn't stable yet, so holding off on merging this.
2a0d1c9 Rework OAuth2 documentation (#6356) - Lulalaby
be1724e Add resolved to message component data (#5590) - FedorLap2006
0f4d744 Update emoji and sticker create max size units ... - MineBartekSA
For now, we’ll just add the **`bot` scope**, which adds your bot user.
After you select `bot`, you can also select different permissions for your bot. For now, just check **Send Messages**.
uhhhh 10 months late, but it's not letting me resolve merge conflict or push to your branch.
would you be able to resolve? all good if not, can fix this in a new PR.
uhhhh 10 months late, but it's not letting me resolve merge conflict or push to your branch.
would you be able to resolve? all good if not, can fix this in a new PR.
Will resolve in a moment when I get back to my pc
7. If an app **can** resume/reconnect, it should open a new connection using `resume_gateway_url` with the same version and encoding, then send a [Resume (opcode `6`)](#DOCS_TOPICS_GATEWAY_EVENTS/resume) event. If an app **cannot** resume/reconnect, it should open a new connection using the cached URL from step #1, then repeat the whole Gateway cycle. *Yipee!* **Read the section on [Resuming](#DOCS_TOPICS_GATEWAY/resuming)**
> When resuming with the `resume_gateway_url` you need to provide the same version and encoding as the initial connection.
d74554d Adding version and encoding info for resuming (... - Darker-Ink
67ce08b feat(Stage Instace): add `guild_scheduled_event... - Victorsitou
5e916bd Removing lurking info from public stages (#5768) - Jupith
we have this tracked internally, but we don't want to document this as the behavior may likely change in the future so we don't want devs to consider this to be the case.
| flags | integer | [SKU flags](#DOCS_MONETIZATION_SKUS/sku-object-sku-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field)|
oh lord, the tables will break again
would suggest opening an issue about this for sure (if there hasn't been one opened already).
0e11b77 Update Application Endpoints (#6297) - shaydewael
70b03d1 Tweak documentation for premium apps (aka. appl... - Lulalaby
oki, shall figure out a better way to convey this in the future.
> If your application responds with user data, you should use [`allowed_mentions`](#DOCS_RESOURCES_CHANNEL/allowed-mentions-object) to filter which mentions in the content actually ping.
heh this part not relevant with updates to regex
dup of change that was merged with #6356, so closing out
Description
The app_permissions field on interactions does not update sometimes, this seems to happen when updating the permissions for an old interaction, though I'm not sure whether that's really the cause.
Steps to Reproduce
- Get an interaction response
- Pray that
app_permissionsis correct.
Expected Behavior
app_permissions should be updated with the integration's permissions correctly.
Current Behavior
app_permissions should be updated with the integra...
Description
When putting mentions as options in a string select menu, the options are printed out as raw string instead of being rendered as mentions.
Steps to Reproduce
Reply with a string select list that has correctly formatted mentions as values for the options.
Expected Behavior
Options containing correctly formatted mentions for users should render the username of the user instead of containing the raw string of the mention.
Current Behavior
Options in string sele...
Description
global_name is documented as a non-optional field in the user object, but it is not present in message.author for messages sent by webhooks.
This was previously mentioned in a comment to a separate issue https://github.com/discord/discord-api-docs/issues/6347#issuecomment-1707393569
Steps to Reproduce
Send a message using a webhook
Look at the author object in the sent message
Expected Behavior...
The field and CDN endpoint for avatar decorations have changed
@Th3-M4jor reproduced and confirmed, thank you.
d65b747 Fix incorrect documentation of starting a threa... - Th3-M4jor
Description
When executing a slash command or interacting with a component in a channel with slowmode enabled (and the user is affected), the channel slowmode takes effect and subsequent interactions will fail.
Steps to Reproduce
- Have a bot with a slash command or other interaction (like a button)
- Have a channel with slowmode enabled and a user subject to the rate limit
- Attempt to execute a slash command while under cooldown.
- Observe either the interaction immediatel...
I am able to reproduce a similar issue giving the same API response message, also having to do with slowmode.
Server members with the "Manage Messages" permission are being held back by and are being blocked from bypassing slowmode with the same "This action cannot be performed due to slowmode rate limit" API response.
Server members with the "Manage Messages" permission are being held back
Also applies to "Manage Channels", making Administrator the only permission being able to bypass slowmode in channels and not get a 429 for it, as the client still assumes that you should be able to bypass it and allows you to send messages.
Description
Server Members with the "Manage Channels" or "Manage Messages" Permission are being blocked from bypassing slowmode.
Steps to Reproduce
- Have the "Manage Channels" or "Manage Messages" permission in a server (not Admin or Owner)
- Go to a channel in that server that has slowmode on it (10 seconds will do)
- Try to send multiple messages where typically you'd be able to bypass the slowmode
- Notice how the messages that should've bypassed slowmode are red in text col...
I briefly mentioned this issue here along with someone else in #6465. I made a new issue in the event there needed to be one. If not, the comment on #6465 will suffice.
Thanks!
I thought this was unsupported for the longest time. At least a mention of this being supported would be useful.
Hey there @DrHeinzDoofenshmirtz! Thanks for taking the time to create a GitHub issue. What you're describing as the current behavior is actually the expected behavior for string selects so I'm going to close out this issue. If you'd like to select a mention/user, you can use a mentionable select or a user select instead.
Seems to have been fixed, no longer reproducing.
Seems to have been fixed, no longer reproducing.
Yup, this should be fixed now. Thanks for reporting!
@nathanctech is correct, this should be fixed now. Thanks for reporting @AustinHolderr!
@nathanctech is correct, this should be fixed now. Thanks for reporting @AustinHolderr!
Thank you!!
Can confirm, the bug has been fixed and I can no longer reproduce!
Yup, this should be fixed now. Thanks for reporting!
Thanks again!
Hi @lmle. Thanks for the explanation.
User select list is not an alternative to string select list when it is not possible to define which users/options should be in the list.
Can you suggest a way to have a multi-select component that allows the user to select users?
you should just put the user's username and/or display name
I think you might be misunderstanding the issue.
String selects have a way to define what the options are. That is in the "options" property.
That property is not used for user selects.
I need a multiselect menu that has a defined list of options that corresponds to specific users. The options should preferably show the username of the users.
String selects does not render the username, even if I put in a formatted mention.
User select menus does not allow for defining the option...
I understand the issue. Use a string select and put the username/display name as the option label instead of the user mention formatting.
Thanks.
Though, I was under the impression that it was no longer possible for a bot to have access to the user's username.
And if it can, I would really like to not set the bot up to have access to usernames, as it should not be necessary. The bot only needs user ids, and if the client could render the usernames for given ids, it is much better. This is exactly the pattern that mentions solve.
From: advaith @.***>
Sent: Saturday, September 30, 2...
Thanks. Though, I was under the impression that it was no longer possible for a bot to have access to the user's username. And if it can, I would really like to not set the bot up to have access to usernames, as it should not be necessary. The bot only needs user ids, and if the client could render the usernames for given ids, it is much better. This is exactly the pattern that mentions solve.
Only discriminators went away (showing "0" in the return) for migrated users and you cannot acc...
Based on information from above, I'm putting this for readability as it took me quite a while to stumble upon this issue (and #5524) to find out why external emojis weren't showing up for the bot I was working on. The workaround, as opposed to granting @everyone the External Emojis permission, is to have the bot edit the message immediately after sending it.
Here's a quick example using DSharpPlus, but I'd imagine the process would be pretty similar for other libraries:
st...
Based on information from #5279, I'm putting this for readability as it took me quite a while to stumble upon that issue (and this one) to find out why external emojis weren't showing up for the bot I was working on. The workaround, as opposed to granting @everyone the External Emojis permission, is to have the bot edit the message immediately after sending it.
Here's a quick example using DSharpPlus, but I'd imagine the process would be pretty similar for other libraries:
...
Hi there,
I'm using a snippet of code to send out Discord Webhooks via PHP. Up until a few days ago, this has worked without issue, then has suddenly stopped working. The code is as below:
` $hookObject = json_encode([ "content" => "$content", ], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );
$ch = curl_init(); curl_setopt_array( $ch, [ CURLOPT_URL => $hookurl, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $hookObject, CURLOPT...
Does this fire any gateway event like GUILD_UPDATE when the actions change at any time?
Description
The flags field is mentioned in a bunch of places, but it's not documented.
Furthermore, the json includes a bunch more info that aren't present in the object structure documentation.
Can anyone confirm what is the situation here?
I was trying to update DiscordBM but don't want to add those fields in the json since they are probably not considered documented and would cause (solvable) sem-ver issues in the lib if they are remo...
Yeah, no. It's been 3 years, yet still no documented channel rename rate limit. I'm just shocked.
i made a discord bot like ballsdex and in the /balls completion the emoji are not shown
Description
i made a bot like ballsdex and in completion some emojis are not shown
Steps to Reproduce
uhm solve the bug with the emojis
Expected Behavior
it can be fixed
Current Behavior
i don't know
Screenshots/Videos
Client and System Information
where do i see?
Emojis or any other message content doesn't get stripped away on Discord's side. So that's probably an issue on your side.
Now, if emojis were showing like :this:, then yeah, that's a bug.
Description
If you have an option in your slash command with set min and max values, but also make it autocomplete, the client refuses to send the interaction if the name of the option you choose with autocomplete doesn't follow the limits, regardless if the value does
Steps to Reproduce
- Create a slash command with an option with min_length of 1 and max_length of 1 (example) and autocomplete set to
true - On the autocomplete interaction, send a list of responses where th...
Is it fixed? I'm getting this error every time I click a button whiel I get a reply.
5d7a73c Add some fired events on widget endpoints (#5767) - Jupith
Thanks @MahdiBM, I'll be taking another pass at this today and flags will be included, update to come.
Followup to #5767, when INVITE_CREATE is emitted
It seems to be possible now. If you end up on this page for the same reasons I did, all you need to do is to clear the existing attachments:
await message.edit(
files=[File('blah/blah/smurfs-having-a-party.jpg')],
attachments=[],
)
(The code is py-cord Python package, but you probably get what I mean.)
Docs:
- Edit message
- [Uploading files](https://discord.com/developers/docs/refe...
Passing null to any of them disables all actions currently, is this intended?
It wasn't the previous behavior at least
Description
Discord recently changed their Cloudflare configuration to return a JSON error when the user is Cloudflare blocked instead of the HTML Cloudflare page.
Example response:
{
"message": "internal network error",
"code": 40333
}
This error is misleading, "internal network error" might make someone think Discord is having issues with their API.
Steps to Reproduce
Discord blocks Bot API requests with browser user agents, you can reproduce it wi...
Does the app have the bot scope in the server?
Do you have an example of the actually returned permissions value and the expected permissions value?
This doesn't seem like an issue with our API. You might want to ask this question in the developer community to get help with debugging.
Bots cannot currently use the application metadata endpoint (/users/:id/sessions/:session_id/activities/:application_id), which the only usage currently is for button URLs. It would be nice to have a way for bots to get button URLs for commands that list presences or even moderation since the client does not currently have a way to show where the button takes you and reuses the same link opening logic as messages, meaning that invites are accepted with n...
Description
The subscription_id field is mentioned in the documentation for Create Test Entitlement but itself remains undocumented. Additionally, the example Entitlement JSON contains additional undocumented fields, namely promotion_id, deleted, and gift_code_flags.
Steps to Reproduce
N/A
Expected Behavior
All entitlement fields should be documented.
Current Behavior
The `s...
Description
The subscription_id field is mentioned in the documentation for Create Test Entitlement but itself remains undocumented. Additionally, the example Entitlement JSON contains additional undocumented fields, namely promotion_id, deleted, and gift_code_flags.
Steps to Reproduce
N/A
Expected Behavior
All entitlement fields should be documented.
Current Behavior
The `s...
Related to #6468. Confirming fields with teams and we'll have some updates to SKU and Entitlement fields shortly.
Thanks @mkrasnitski!
In my opinion, custom colors isn't a good idea, but having a wide range of available colors to select from should do the task.
this... are not button colors ? There are just 4, and you can't have a button color related to a role color. These are colors for roles and not buttons.
Also, I wanted to mention that the documentation for the before and after parameters for the List Entitlements endpoint is ambiguous. Are they meant to be snowflakes (entitlement ids), or timestamps?
They are listed as "snowflake" in the type column
For now, you can put a \ in front of underscores inside masked link urls and it should work
@ForbiddenEra we've applied some changes which should address the behavior you've described. Can you confirm?
Thank you for this quick reply, too bad I was expecting from this screen that it was the case 😢
Description
Allow bots to access the "insights" of the server from the API.
Why This is Needed
The server insights are really handy even if it misses some things. However, for those who manage several servers, it becomes annoying to have to download them in CSV format to reuse them in software or scripts.
If bots were able to retrieve this information, I'm sure it would be possible to automatically import the data into online tools or other software.
I can imagine deep...
bump
workaround above works but uses 1 extra API call
Addressing docs for Entitlements (#6476)
The subscription_id, promotion_id, deleted, and gift_code_flags fields are undocumented.
- Added
deleted. subscription_id,promotion_idandgift_code_flagsto remain undocumented at this time- Updated
beforeandafterparam descriptions for List Entitlements to be more explicit. Snowflake IDs are time-ordered.
Addressing docs for SKUs (#6468)
The flags field is mentioned in a bunch of places in the [SKU documentation](ht...
Are the before and after parameters mutually exclusive in any way?
I think I may have missed a channel override, I'll close this for now unless I encounter it again.
Description
When you try to invite a bot to a server that requires 2fa for mod actions using a mobile browser (not in app), you get "Invalid two-factor code" message instead of a popup asking for your 2fa code
Steps to Reproduce
- Open a browser in your mobile (I tested only chrome)
- Go to a bot invite oauth url
- Select a server that requires 2fa for mod actions
- Click "Authorize", it'll now show the "Invalid two-factor code" message
Expected Behavior
Show a popup/f...
Is there a reason for this?
Looks like that there's a bug with the Discord UI. After editing the channel (e.g. the channel's name) the status gets resetted (Set a channel status) but the GUILD_CREATE event still has the status in the payload (see below). I assume that's a UI bug and not a API bug because why should the status be resetted if the channel was edited?
{
...
"status": "test"...
@jaw0r3k Is it possible to resolve the conflicts that it can be merged?
Another inconsistency I noticed: there is conflicting documentation about what types of interactions the PREMIUM_REQUIRED response type is allowed on:
In the entitlements documentation:
In the interactions documentation:
Following up to that, although the content field is listed as not allowed, are other interaction data fields allowed like embeds, attachments, etc? Since the idea is that the "premium required" message has static content filled in by Discord itself, I would expect none of the data fields to be allowed, but I think it should be clarified in this case.
- Added
deleted.
I talked to mason regarding this when implementing https://github.com/Rapptz/discord.py/pull/9453. From what he told me, the deleted field got no relevance. (Might even not work or change for premium SKUs) And we should rely on ends_at not being refreshed
This just happens randomly and lasts 15-20 minutes then gone
One more thing I noticed (sorry to keep bumping this) - the new entitlement gateway events are not documented in the main list of all events, but only in the entitlements section. And, their inner payloads are vaguely documented. For ENTITLEMENT_DELETE there is no mention at all of what the inner payload structure is.
Here's the snippet from my Discord.js based bot.
// create a thread
const thread = await reaction.message.startThread({
name: threadName,
autoArchiveDuration: config.auto_archive_duration
});
// then add that user to the thread
thread.members.add(user.id, 'Your description based on this action.');
that just adds the user to the thread normally, which sends a message in the thread. this feature request is asking for a way to add users to threads without any message being sent, which is not possible currently.
27ebe8d [onboarding] Clarify how emoji are currently ac... - hammerdr
There's some drift here from some later changes from when we first
created the API. I've added a note for us to go clean this up at
some point, but because it isn't high priority let's change the docs
to match what it happening today.
Actually, this issue arises when 2FA is not enabled on your profile but is activated in your server's moderation tab.
If you have 2FA set up on your profile, then the steps to reproduce the problem are something else rather than just this message popping up because when I tried to replicate it on my server, the issue did not occur.
As far as I know, this issue is specific to server ID 1079828356549333143
Entitlements can be deleted in some scenarios. This field should be documented so that apps can use it.
Well my account has 2FA enabled and I get the issue, maybe you're not doing the steps correctly or there's some other cause besides these?
- Are you trying this in mobile?
- Is it a browser? What browser?
- If you're saying this issue doesn't happen to you, are you saying you're getting a popup to enter your 2FA code then?
- Issue being specific to a server ID you provided, are you trying in another server with 2FA for mod actions enabled as well?
Entitlements can be deleted in some scenarios. This field should be documented so that apps can use it.
If Discord themselves manually delete it due to refunds/fraud for example. For normal expiry it won't be set True. However does it even will be available when it's deleted, since it also disappears when deleting a test entitlement.
If it's not true when it expires, it may be better to point it out, as it can be misleading.
- I tried this on both PC AND MOBILE
- Chrome specifically
- I am not getting a code to enter 2fa but it does shows invalid 2fa when you don't have 2fa on ur device but have 2fa on server
- yep i did
5ea53c2 Add @mdx-js/react as a peer dependency - stevenpetryk
[discord-api-docs] Branch sgp/mdx-peer-dep was force-pushed to `cba84fe`
Description
The API returns scheduled events from my guild with no creator_id, although those are recently created events and although this has worked a few days before. I made no changes to my code and it started crashing, because it assumed creator_id is always populated (I know it's optional, but only for very old events).
Steps to Reproduce
I made my bot so that it only enriches my own guild, hence I cannot confirm if this is guild-specific or not. I use pycord:
...
Description
Modify Channel does not correctly handle null in available_tags field.
Steps to Reproduce
curl -XPATCH -H'Content-Type: application/json' -d '{"available_tags":null}' \
-H"Authorization: Bot $TOKEN" \
https://discord.com/api/v9/channels/$CHANNEL
Expected Behavior
Value should be treated the same way as [] (i.e. removing all forum tags) and endpoint should return 200 O...
- But for the other servers where it works as intended like you're saying, are you getting a popup for 2FA code? (just talking about mobile)
- If you try the same server with 2FA, are you still seeing it?
> When creating or updating a prompt option, the `emoji_id`, `emoji_name`, and `emoji_animated` fields must be used instead of the emoji object.
I don't love referencing things outside of the table like this, but if we do I think "below" or "the callout below" something makes more sense than "info"
| description | ?string | Description of the option |
> warn
| emoji_name? | string | Emoji name of the option (see below) |
| emoji? | [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | Emoji of the option (see below) |
| emoji_animated? | boolean | Whether the emoji is animated (see below) |
Bump. Same reasons as everyone else, still waiting for an official API method for bot instead of me having to use user account just to use this endpoint.
Automating a user account is against Discord's TOS btw
I'm aware of that already, but nothing can be done when its not possible in the bot API :)
Hello, is it possible to add an Event which triggers whenever a Action is done which is usually written in the audit Log. There is already an Event when there is an Entry created but it only triggers when a new one is created and this happens every while. Usually it counts like:
User x disconnected 1,2,3,4,5,6,... instead of creating a new Entry but as a Dev I would need to be triggered every time to get the Info when for example a user gets disconnect. With that information I can see who di...
Mb idk why it wasn't happening for me earlier. It's a bug
Sent when an entitlement is deleted. The inner payload is an [entitlement](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) object. Entitlements are not deleted when they expire. Entitlement deletions are infrequent and only occur when:
Sent when an entitlement is created. The inner payload is an [entitlement](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) object.
We should probably not document this as an exhaustive list of reasons why an entitlement may be deleted. It should be sufficient to explain that entitlements are not deleted for subscription renewals/lapses.
It's not accurate to say that the ends_at field will always have a new value. Entitlements could be updated for any reason.
Sent when an entitlement is renewed for the next billing period. The inner payload is an [entitlement](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) object. The `ends_at` field may have an updated value with the new expiration date.
b8feadd Premium Apps: SKU and Entitlement fields (#6477) - colinloretz
Thanks @mkrasnitski, updates going out in changes here #6477
Still an issue ❤️
wonder when will they finally fix this..
Hope that this gets resolved...
This PR adds following missing application fields:
discoverability_statediscovery_eligibility_flagsexplicit_content_filterhookinteractions_event_typesinteractions_versionis_monetizedmonetization_eligibility_flagsmonetization_staterpc_application_statestore_application_stateverification_state
and changes following fields:
role_connections_verification_urltype fromstringto?string
Description
When editing the current application (/applications/@me) and scopes field is set to ["bot"], the permissions field can be null or not set.
This will result in an error in the developers portal when reaching https://discord.com/developers/applications/ID_HERE/oauth2/general (see below)
The API should handle such situation and raising an error if bot ...
#6356 recently added token revocation documentation.
- Instead of using the term "2.", it was written as "second".
https://i.imgur.com/pYrOBAE.png
According to the current article, warning/information boxes were not visible. But with this update they are!
EN: https://i.imgur.com/92uLV90.png
TR: https://i.imgur.com/WJmE0CW.png
@ForbiddenEra we've applied some changes which should address the behavior you've described. Can you confirm?
Oo, lovely! Let me peek... Yep! Seems like the issue is solved for the widget!
Thanks!
I am wondering though - the iframe code has allow-popups and allow-popups-to-escape-sandbox - how needed are these? I'd guess the first would probably be needed at least. Is there a specific method of functionality I can test to ensure it's working properly for everyone? I tested clic...
Blocks doesnt display the outlines when info or warn is translated
And fixes some gramar in polish
Example
English:
Polish:
This PR add the field me_burst in the message example, this was added in crosspost example but not in the normal message where this field exists.
@colinloretz I want to contribute to zh-tw (Traditional Chinese). Do I need to make any adjustments to the LocalePicker component?
@kane50613 thank you for offering this but we're not accepting additional languages at this time. We will share more info on localization contributions soon.
This definitely needs to be answered by a dev.
Doing some grooming and I can't repro this anymore. I think it may have been drive-by fixed, but if you can still repro this and want to reopen the issue, please provide a minimal example.
would also love to see this added
Global Rate Limit added to discordapp.com/*
:information_source: We have added a global rate limit for API requests made to discordapp.com/* and may further restrict requests in the future.
To limit impact on your app, please make sure you are making calls to discord.com/*.
This does not apply for cdn.discordapp.com.
*:mag: Refer to the API Reference for more info on which url(s) to use when building on the REST API...
Documenting discordapp.com update so it lives on outside of discord channel
Thank you! This helps a lot
e0548d5 Added changelog for RL discordapp.com (#6491) - colinloretz
What's the progress of this being fixed?
What's the progress of this being fixed?
0, issue since 2022
As of October 18, 2023 it looks like hostinger has unblocked requests from Discordbot, I have two sites previously that would not embed and it looks like everything is fine now.
Would it be possible for discord to allow a bot to respond to an interaction with a message that it wishes to send instead of the user, and the user has to confirm whether he authorizes the bot to write this message for him?
This could be very useful when using pre-defined responses in tickets.
Example:
- /impersonate
- The bot responds to the interaction with a new type "Impersonate" and a reply message such as "Hello world!".
- The Discord client displays a modal "Do you authori...
That has not really something to do with the initial question in the discussion - open a new discussion for a feature request.
And you can pretty much handle your workflow with normal response with buttons etc. May not look elegant, but works. Discord probably won't waste time on that
Description
Audit log entiries sent to bots on the GUILD_AUDIT_LOG_ENTRY_CREATE event come in format, that matches the API version of the app that caused the event, not the version the app that recieves the event uses.
I've encountered this with audit log entries of type 10, 12, 13, 14 & 15, but this might extend to other ones.
Steps to Reproduce
- Have an app connected to gateway with the
GUILD_MODERATIONintent enabled; App should run on API v10 - Execute an action...
Starting today, eligible developers based in EU and UK can now monetize their verified apps with App Subscriptions.
3ddb567 Change Log: Premium Apps now available in EU an... - colinloretz
This doesn’t actually work for me, stripe has the option to change the country from the US grayed out.
Issue was already reported in ddevs. They investigate
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg
From: Awesome Stickz @.>
Sent: Tuesday, October 10, 2023 7:01:53 PM
To: discord/discord-api-docs @.>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] [OAuth Page] Showing "Invalid two-factor code" message on mobile for bot invites (Issue #6478)
Well my account has 2FA enabled and I get the issue, maybe you're not doing the steps correctly or there's som...
Description
Everytime I want to search for something the content in the search menu gets reset
Steps to Reproduce
- Go on Discord Docs
- Open Search Menu
- Start searching
Expected Behavior
The content in the search menu wouldn't reset
Current Behavior
The content in the search menu is getting reset
Screenshots/Videos
https://github.com/discord/discord-api-docs/assets/107622047/92a51e7c-6911-40b4-a27d-87ff0dc8baaa
Client and System Information
Go...
Currently I have seen many active servers to be nuked by some people's by mass ping in the server and adding there self bot in the server for nuking. So I have studied a lot on this and I came with the result that discord should limit the everyone/here ping in every server. Like the server moderator , admin , staffs etc.. can ping everyone/here in the server only 5 time ( You Can Change The Limit As Per Your Data And Analysis ) . In most of the server there are no need of the 5 pings also, an...
Limiting atMentions can already be done via AutoMod Filters.
You can also already restrict who can atMention the Everyone, Here, and Role Pings in your Server Permissions setup/settings (a setting which has existed for YEARS).
Plus, restricting only Mention Spam only helps with Server Ping/Mention raids, not Server "Nukes" (which seem to typically be as a result of a Server Owner's/Admin's account being compromised - and n...
Hey @AwesomeStickz thanks for the report but I'm not able to reproduce this. Any additional steps you took? Also does upgrading your chrome version resolve the problem?
I don't seem to be able to reproduce this anymore either so possibly this is already fixed?
DarkerInk @.***> schrieb am Do., 7. Sept. 2023, 08:05:
hey @b-rad15 https://github.com/b-rad15, I've gone ahead and updated
this issue as I was only worried about global_name and ignored the fact
other fields are missing (since a lot are), You should create a new issue
(if there isn't one already) about your issue as it is different to this
one!—
Reply to this email directly, view it on GitHub
<https://github.com/discord/discord-api-docs/issues/6347#issue...
Heyhey, I wasn't able to repro this on my end (I see creator_id provided for both API request and gateway events for a newly created event). Is this still an issue?
Really surprising and painfull at times that there's nothing like Facebooks Sharing Debugger 😰
But it could at least occasionally re-check at least if the same link was shared again or something
I'm struggling to understanding why this issue is still open... it's a bad question for Discord's highly polished aesthetic. Users see strange :words: instead of emoji that define an high aesthetic level of the bots. Not only does the developer of the BOT make a bad impression, but Discord itself that loose this aesthetic care. Please up priority to this!
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know
@Auralytical I will check and confirm if it's still true. Also might try a different server if it's server-specific.
What is holding this back?
Maybe the conflicts
Spark Mail
.slogan:before {
content: "";
flex: 1 1;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
margin: auto;
margin-left: 15px;
margin-right: 15px;
}
.slogan:after {
content: "";
flex: 1 1;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
margin: auto;
margin-left: 15px;
margin-right: 15px;
}
@media (prefers-color-scheme: dark) {
body {
background: #191c23 !important;
color: #fff !important;
}
h4 {
...
I can confirm it is fixed, thank you so much!
Does not necessarily have to be a snowflake. It's a number when it's a default sound.
Looks like this field is no longer in the payload. Neither for default sounds nor for added sounds.
Same issue. Going to https://discord.com/api/v9/auth/register instead comes up with 405 Method Not Allowed
override_path doesn't exist anymore. For default sounds the /soundboard-sounds/sound_id is used as well for the CDN path. E.g. https://cdn.discordapp.com/soundboard-sounds/7 is the "ba dum tss" sound.
Also, there's no format. Means, if you download it you have to change the format yourself in order to play the sound, looks like this is not intended.
Description
I made an issue (#6347) relating to fields not showing up, a couple of days ago it was "fixed." and the fields started showing up, though they only show up 50% of the time other times some are missing.
Steps to Reproduce
- connect to rpc
- subscribe to "MESSAGE_CREATE" (or MESSAGE_UPDATE)
- create a message (/edit a message)
Expected Behavior
All the fields show appear on each event
Current Behavior
50% of the time some fields are missing
Screens...
Didn't know about this debugging tool. Thanks!
Best Regards,
Suraj
On Sat, Oct 21, 2023 at 9:57 AM advaith @.***> wrote:
there is, https://discord.com/developers/embeds
—
Reply to this email directly, view it on GitHub
https://github.com/discord/discord-api-docs/issues/1663#issuecomment-1773655758,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKDAQVLS3242V7KSVOD75LYANFMVAVCNFSM4NIFGPV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGM3...
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know
I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need Nitro). Rather, we...
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know
I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need Nitro). Rath...
That is not a solution in my opinion, just a workaround as you are no longer using external emojis. I find it baffling that this issue has been unresolved for so long.Op 21 okt 2023 om 10:06 heeft NotDemonix @.***> het volgende geschreven:
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know
—Reply to this email directly, view it on GitHub, or un...
bump
Above mentioned workaround DNW with ephemeral replies
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know
I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need ...
That is not a solution in my opinion, just a workaround as you are no longer using external emojis. I find it baffling that this issue has been unresolved for so long.Op 21 okt 2023 om 10:06 heeft NotDemonix @.***> het volgende geschreven: I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know —Reply to this email directly, view it on GitHub, or unsu...
That is not always an option. I have a bot that is focused on Elder Scrolls Online gaming with things like signup roster where members need to pick roles and classes. If I were to just replace the role and class icons with generic icons it would become very difficult for members to use the rosters (especially with the classes)Op 23 okt 2023 om 12:23 heeft NotDemonix @.***> het volgende geschreven:
That is not a solution in my opinion, just a workaround as you are no longer using ext...
That is not always an option. I have a bot that is focused on Elder Scrolls Online gaming with things like signup roster where members need to pick roles and classes. If I were to just replace the role and class icons with generic icons it would become very difficult for members to use the rosters (especially with the classes)Op 23 okt 2023 om 12:23 heeft NotDemonix @.***> het volgende geschreven: That is not a solution in my opinion, just a workaround as you are no longer using exte...
a432858 Bump actions/setup-node from 3 to 4 - dependabot[bot]
Bumps actions/setup-node from 3 to 4.
Release notes
Sourced from actions/setup-node's releases.
v4.0.0
What's Changed
In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in actions/setup-node#866
Besides, release contains such changes as:
Upgrade actions/checkout to v4 by @gmembre-zenika in actions/setup-node#868
Update actions/checkout for documentation and yaml by @dmitry-shibanov...
That's very helpful thank you though it won't let you force a refresh as I understand it like Facebooks debugger right?
if you are reading this this is severitylol speaking
Our site has links that people share in Discord that have og:video tags so people can watch video directly in the app. The meta tags change when we process a "better" version of the video on the server but it seems like Discord caches the metatag data for each user when they first look at the link. Is it possible to clear the cache somehow when we update our metatags?Our site has links that people share in Discord that have og:video tags so people can watch video directly in the app. The meta...
results on the embed debugger page are not cached.
results on the embed debugger page are not cached.
That makes sense, though cache is not cleared for links already shared in Discord messages right?
Solved for me. Just to edit the webhook message after sending it. Anyway, an additional API call not expected. Take a look here https://github.com/discord/discord-api-docs/issues/5524#issuecomment-1741894705
As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 heeft Massimo_GB @.***> het volgende geschreven:
Solved for me. Just to edit the webhook message after sending it. Anyway, an additional API call not expected. Take a look here #5524 (comment)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 heeft Massimo_GB @.> het volgende geschreven: Solved for me. Just to edit the webhook message after sending it. Anyway, an additional API call not expected. Take a look here #5524 (comment) —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
Yes, right. It's ...
Following up @honzajavorek were you able to double check this?
Closing the issue soon due to non-reproability
I cannot repro this.
I've tested on
- Pixel 3
- chrome
- firefox
- iPhone 12
- safari
- mobile web on desktop
Is it possible that this is being caused by your keyboard?
Please give me time until the end of the week. If I don't provide further info by then, you can close this.
I tried using Gboard and the bug disappeared. It seems like Samsung Keyboard is causing the issue 🤔
Is it possible that this is being caused by your keyboard?
I tried using Gboard and the bug disappeared. It seems like Samsung Keyboard is causing the issue 🤔
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg
From: Massimo_GB @.>
Sent: Tuesday, October 24, 2023 3:30:56 PM
To: discord/discord-api-docs @.>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] Interaction follow-ups aren't using bot permissions (Issue #5279)
As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 hee...
Looks like this change was reverted? I can successfully open connections to the gateway from Cloudflare Workers now.
I have minimal reproducible example working: example.zip
Installation
- Have Python 3.11, Poetry, and attached code.
- In project directory, run
poetry install - Set the token:
export DISCORD_API_KEY='...' - You can set
export DISCORD_GUILD_ID='...'to change guild ID - Run the code:
poetry run python creator_id.py
What happens
- The code is based o...
Description
This is a very weird issue, that we've only started seeing over the last one or two weeks.
TL;DR: very occasionally, when creating a channel message via the gateway that contains an embed, Discord mutates the message by duplicating the embed.
Our guild uses a custom application which interacts with the v10 API over the websocket gateway. One of its functions is to send a periodic status update to a guild channel, which is simply a message containing no text content ...
I created completely new server (1166673072393289848, for the record) and authorized my bot (application 797097976571887687, for the record) to be an admin there. I created a sample event and tried to run the same code with the guild ID set to 1166673072393289848. The initial payload printed to my console looks like this:
...
'guild_scheduled_events': [{'test': None, 'status': 1, 'sku_ids': [], 'scheduled_start_time': '2023-12-24T12:00:00+00:00', 'scheduled_end_time': '2023-12-24T13:...
FWIW, if you're not up to running the code, the initial logs go like below. When I mention initial payload in my previous comments, what I mean is the content of the WebSocket Event: {'t': 'GUILD_CREATE' lines.
DEBUG:asyncio:Using selector: KqueueSelector
WARNING:discord.client:PyNaCl is not installed, voice will NOT be supported
DEBUG:discord.client:on_ready has successfully been registered as an event
INFO:discord.client:logging in using static token
DEBUG:discord.http:GET htt...
And it happens again. I keep the broken session to provide any info needed.
Session id: ff221eb5c61f39cc561b6ec6731a5394
It resumes successfully, no errors or invalidation.
{
t: 'RESUMED',
s: 444,
op: 0,
d: {
_trace: [
'["gateway-prd-us-east1-c-kxg8",{"micros":637,"calls":["id_created",{"micros":0,"calls":[]},"session_lookup_time",{"micros":319,"calls":[]},"session_lookup_finished",{"micros":14,"calls":[]},"discord-sessions-prd-2-294",{"micros":23}]}]'
...
bump
Above mentioned workaround DNW with ephemeral replies
The issue is synced in their internal tracker. I don't think there's much we can do to speed up the progress unfortunately.
I have merged a fix for this. It will be out in the next day or two
I can confirm after testing on a Samsung A11 using the Samsung Keyboard that this is specific to the Samsung Keyboard.
Since this doesn't happen with the official google keyboard, nor any other platform, this seems like a samsung keyboard specific problem and I'd recommend using a different keyboard.
Can you add the error code 50057 (Invalid SKU) too?
@almeidx that seems not to be fired when having an invalid sku. instead
{
"message": "Unknown SKU",
"code": 10027
}
is returned
@hackermondev Can you provide the code snippet you used to connect to the gateway? I've tried new WebSocket("wss://gateway.discord.gg") but it keeps getting instantly closed
@colinloretz When will this PR be closed and approved?
@colinloretz When will this PR be closed and approved?
Do you ever send a PATCH to modify the message after creation?
I can confirm that this is a problem for initial connections and certain other events.
Latest update here is that I merged about 630 tests around message permissions and their existing behavior to ensure that whatever behavior we have right now on our 23+ different entry-in-the-system scenarios doesn't change if we don't want it to.
Next stage is starting to fix things. This is top of the list.
Never, and editedTimestamp is always null on the mutated messages.
soundboard_sounds field is available in the Guild Create event. Has to be added to the extra fields: https://discord.com/developers/docs/topics/gateway-events#guild-create-guild-create-extra-fields
Thanks!
On Thu 26. 10. 2023 at 21:08, Austin Keener @.***>
wrote:
I can confirm that this is a problem for initial connections and certain
other events.—
Reply to this email directly, view it on GitHub
https://github.com/discord/discord-api-docs/issues/6481#issuecomment-1781745485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACFGMK3KJI43KBGK5LZDFTYBKYKRAVCNFSM6AAAAAA54OW5ZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRG42DKNBYGU
...
To provide a better user experience for my bot users, I'd like to be able to customize the deferred response experience of my bot's users when computing a response to a user's command could take at least 2-4 seconds to complete and then reply back to the user (i.e. more than the 3 second limit at times).
My current solution is to first reply to the user with a personalized message (I cycle through a random reply string out of 10 possible strings each time the user sends a command), and t...
Can you re-open this issue now that Discord on iOS supports file attachments? It works when sending them normally, but the slash command option still only supports images/videos.
Following feedback on Premium App Subscriptions, we're working on a better way for developers to test their app subscriptions. The goal is to provide an alternative to creating test entitlements or using live payment methods.
In the meantime, we’re providing updated guidance around the /entitlements and /skus HTTP endpoints.
🧪 These endpoints will remain available until the new testing method is available.
Library devs: **We strongly advise against embedding them in long-term ...
So non-interaction fetching of entitlements is no longer supported?
Each interaction payload includes an `entitlements` field containing an array of full [entitlement](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) objects that the guild or user currently has access to.
has entitlement to sounds wrong?
Also maybe link
> Please be aware that these testing endpoints are temporary. They may be used for interim testing but should not be implemented in long-term tooling or libraries. We're actively developing an improved method for testing your premium offering, as highlighted in our [guidance updates on Entitlements and SKUs](#DOCS_CHANGE_LOG/premium-app-subscriptions-updated-guidance-for-entitlements-skus).
You can use this field to determine if the user or guild is subscribed to your app.
Each interaction payload includes an `entitlements` field containing an array of full [entitlement objects](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object).
So non-interaction fetching of entitlements is no longer supported?
@Rapptz not the intention! I've moved this back to draft and will have changes next week for non-interaction use cases.
/cc @advaith1 for calling this out too
b86d96d edited: Fixed Markdown scrolling (#6486) - turkwr
f81520e Fixed: Warning and Information boxes (#6487) - turkwr
936671d fix: do not translate blocks (#6488) - jaw0r3k
Description
As outlined in the mutable guild features, INVITES_DISABLED may be modified to enable or disable invites. However, it seems this no longer has any effect.
Steps to Reproduce
Run the following replacing guild_id with a guild id, `` with a token, and add any other necessary features:
curl https://discord.com/api/v10/guilds/guild_id \
--request PATCH \
--header "Con...
I've solved this without relying in preset delays
posting my solution here to help whoever is having this problem:
async function WaitStarterMessage(thread){
try {
const message = await thread.fetchStarterMessage();
return message;
} catch (error) {
if(error.name != "DiscordAPIError[10008]")
{
console.log(error);
process.exit();
}
return null;
}
}
than, in my code, before everythin...
Same issue on multiple browsers and different devices.
Same issue. Going to discord.com/api/v9/auth/register instead comes up with 405 Method Not Allowed
Same result here.
Why is this PR still a draft? Are these changes not happening anymore?
- #6396
But removing flag support is a braking change
Yeah, this definitely seems like a breaking change to me. It seems like there is no way to indefinitely pause invites anymore either.
Yeah, this definitely seems like a breaking change to me. It seems like there is no way to indefinitely pause invites anymore either.
Seems they automatically unpaused every server too? great decision making!
Just an observation: It seems like they ran a migration that automatically unpaused all guilds with the COMMUNITY and INVITES_DISABLED features. They did not, however, unpause non-community guilds automatically (it could also be that the migration had not yet reached my guild, so the lack of COMMUNITY could be a coincidence). I had a guild with INVITES_DISABLED that I enrolled into a community server just now. It didn't strip the INVITES_DISABLED feature until I created an invite an...
The SOUNDBOARD_SOUNDS event is missing in the receive events list.
Description
My bot manages 2946 events across 110 servers and recently Discord isn't automatically starting the events at the start time. However according to the API docs: https://discord.com/developers/docs/resources/guild-scheduled-event#an-external-event-will-automatically-begin-at-its-scheduled-start-time it should start automatically.
And the automatic starting behaviour was working fine since the introduction of the events feature till a few days ago. This bad behaviour has been ...
@cheshire137 Have you found how to do this ?
About avatar_url:
https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params
About attachment://filename:
https://discord.com/developers/docs/reference#uploading-files
Description
If the first capture flag by a regex is allowed by an allow_list item, then any further captures will be ignored.
Steps to Reproduce
- Add the following to an AutoMod rule:
a. this regex:.{1, 4}word
b. this in the allow list:goodword - Using a non-admin account, send
goodword badword - Observe how it bypasses the rule, even though
badwordshould be blocked.
Expected Behavior
When AutoMod searches a message with regex, it should consider **ever...
This should now be fixed for new external scheduled events being created.
looks like regex is syntax-sensitive. this will work with .{1,4}word and not with .{1, 4}word because of the space in-between
Is there any update on this? I can get fetch(`https://discord.com/api/users/@me/guilds/${GUILD_ID}/member`).roles and fetch(`https://discord.com/api/guilds/${GUILD_ID}/roles`).tags.subscription_listing_id but trying to get subscription prices from `https://discord.com/api/store/published-listings/skus/${id}/subscription-plans` returns 401 with the user's token and "Bots cannot use this endpoint" with the bot token.
I wholeheartedly share the frustration regarding this year-old bug. The situation it creates is particularly challenging for my workflow, which involves a two-step process for managing fanwork in a dedicated channel. Users can post their fanwork, and it's initially pinned by other users using a context command. The subsequent step requires a moderator to review the pinned content, unpin it, and then move it to a gallery channel. This involves utilizing an ephemeral UI element to allow the mod...
Thank you, it is indeed fixed now. You can close the issue or keep it open for the added parameters to guild scheduled events. My issue has at least been resolved for now, but it might be nice to add to the documentation.
@juststephen agreed, I'll get a PR opened for the docs on this.
Can you share the full request with us (HTTP method, endpoint, any non-secret headers, etc.), not just the data payload?
Yup, can confirm the type is a number now
allow_new & deny_new are still sent tho... but ig it's good enough 😅
Thanks for a quick fix
Hi, I'm making a discord bot and currently, I'm working on rank cards. I want to set the background of the rank cards to the user's guild banner - member's banner. I'm trying to get it via "https://discord.com/api/v10/guilds/${inter.guild.id}/members/${userId}" and it couldn't find anything. I printed it and there isn't a banner defined only a user's banner.
{
avatar: 'a_41045f55e66c2b3fda1250dc1d5343c5',
communication_disabled_until: null,
flags: 0,
joined_at: '2022-11-22T16:25:20.281000+00:...
bots can't access per-server member banners, there's already a feature request for that at #4217
Description
Responding to an component interaction received from the gateway with an uncached image in the Embed using the/interactions/{interaction.id}/{interaction.token}/callback endpoint triggers two MESSAGE_UPDATE events.
This does not happen if the embed does not have an image or if the image is cached (sent before).
This is not usually noticeable on the client but if the message is edited again immediately after responding to the interaction, sometimes the second MESSAGE_U...
This is actually getting old. Do we have any ETA for deploying the planned features?
I think Modals are isnthe future for controling bots because it is more organized (nice GUI) for users.
discord never does ETAs, plus they've claimed having no plans for modals
Apologies—this is indeed a breaking change and is being rolled back.
@shaydewael hello, is this still in the process of being rolled back? because I can't seem to disable invites by patching guild features with INVITES_DISABLED
Description
Hide any file in a photo/video/gif attachment for PC, browser and iOS, the last of which can directly get a link to the attachment we have hidden in the photo/video/gif.
Steps to Reproduce
- Attach as a first file any photo/video/gif and seconadry file - any that you want to hide;
- Change posting-request metadata and put "is_thumbnail": false for the first media file and "is_thumbnail": true for the file that you want to hide;
- Go to the message on iOS and try to...
@owocado closed this issue too soon probably 😓 the revert should hopefully be deployed today
I would like to be able to look up the owner id through the invite endpoint: /invites/{invite.code}
It would be very useful in validating that a person is the owner for a server, in my case I would love to use it for a server that has other server owners joining to help out the community! It would make the process a lot faster! Please considering it!
Example:
{
"code": "",
"guild": {
"owner_id": "",
},
}
The owner ID isn't exposed at all in the Guild object, so doubt it would be added for invites specifically. It can change at any time and for some reason Discord has chosen to not expose it via API.
Oh yes I know, this is me requesting for it to be exposed in that endpoint
the owner_id is exposed in the /guilds/:id endpoint
This is true but, this is for when the bot is not on the server, it is an endpoint request.
Description
I have a few users reporting that they cannot see all the buttons from a message posted by my bot. This seems to be iOS only, and only some iOS devices (my iPhone 12 doesn't have the issue, some users with iPhone XRs seem to hit it)
It appears the issue is when a row has enough buttons to wrap, they are wrapping underneath the row below them:
What people see on...
The exact screenshot above comes from a user with an iPhone SE (2nd edition)
One other thing, this seems to have been a recent regression, people only started reporting this a couple days ago, I suspect with the 201.0 version
@jgoldshlag can you provide a link to a bot or guild with a bot we can use to repro this? Thanks for the report!
@appellation is there a way I can do that without posting a public join link? You should be able to repro it having the exact same button names as in my screenshot as well
bots can't access per-server member banners, there's already a feature request for that at #4217
But Discord API has written it there.
But Discord API already has it written.
No problem, just would make it easier for us without needing to recreate these exact conditions manually.
Since reproing this requires MITM request modification, I am going to close this as not a bug.
Has it been fixed that it's marked as completed?
Has it been fixed that it's marked as completed?
According to Discord staff, yes, it has been fixed
Has it been fixed that it's marked as completed?
@NotDemonix #6513
Still doesn't have accessible to emojji via interactions or bot owned webhooks which is not cool
Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients?
completed = fixed?
or is this supposed to show us how developers don't care?
completed = fixed? or is this supposed to show us how developers don't care?
@Beaend -points to #6513 -
Just did a test with my bot. I set @everyone privileges for using external emoji to disallow, but server wide as on the channel. Then I ran a command that uses external emojis and they showed up fine. I even created a new empty channel where I disallowed @everyone to use external emojis and they still show up fine. So it seems that they really fixed it. Op 2 nov 2023 om 07:28 heeft Zebby @.***> het volgende geschreven:
completed = fixed? or is this supposed to show us how developers...
Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients?
Can you provide more information please?
Was this working before and now it isn't? How is this embed being created (what request?)
still waiting, this will help users pass a date and time instead of typing it
@turkwr appreciate the contribution, but the Intro page is not set up to support localized content at the moment (only the getting started guide is). going to leave this open and talk to the team about what it'd take to add support for the Intro (and other pages), since this is definitely content we'd like to have one day 😄
6380512 message edit permissions change log (#6513) - shaydewael
4a5aa24 Update docs/resources/Guild.md - shaydewael
5454c5d Update docs/resources/Guild.md - shaydewael
1f05f09 Update docs/resources/Guild.md - shaydewael
4875735 Update docs/resources/Guild.md - shaydewael
f98dfc9 Update docs/resources/Guild.md - shaydewael
55e275e Update docs/resources/Guild.md - shaydewael
bee4b4f [onboarding] Clarify how emoji are currently ac... - hammerdr
@turkwr appreciate the contribution, but the Intro page is not set up to support localized content at the moment (only the getting started guide is). going to leave this open and talk to the team about what it'd take to add support for the Intro (and other pages), since this is definitely content we'd like to have one day 😄
Thank you, I am always ready to help when help is needed!
Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients?
Can you provide more information please?
Was this working before and now it isn't? How is this embed being created (what request?)
Sorry, yes I can provide more information.
This was working until that change yesterday. These are external em...
As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.***> het volgende geschreven:
Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients?
Can you provide more information please?
Was this working before and now it isn't? How is this embed being created (what request?)
Sorry, yes I can provide more informa...
Of course, but it does NOT work.
czw., 2 lis 2023, 18:48 użytkownik msetten @.***>
napisał:
As far as I know, it has always been a requirement that bots can only
access external emojis from servers that they are also in. Op 2 nov 2023 om
18:40 heeft Matthew Vine @.***> het volgende geschreven:Uh oh, now external emojis broke... Or is that just discord updates
waiting to be available for clients?Can you provide more information please?
Was ...
As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.***> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients? Can you provide more information please? Was this working before and now it isn't? How is this embed being created (what request?) Sorry, yes I can provide more information. This w...
So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis?
czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.***>
napisał:
As far as I know, it has always been a requirement that bots can only
access external emojis from servers that they are also in. Op 2 nov 2023 om
18:40 heeft Matthew Vine @.*> het volgende geschreven: Uh oh, now
external emojis broke... Or is that just discord updates waiting to...
So you tell me that the "fix" made it even worse by preventing bots that adapted to slash commands from using external emojis? czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.**> napisał:
…
As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to be ...
Alright
czw., 2 lis 2023, 21:22 użytkownik Lars_und_so @.***>
napisał:
So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis? czw., 2 lis 2023,
21:11 użytkownik Lars_und_so @.*> napisał: … <#m_-3447782423581031534_> As far as I know, it has always
been a requirement that bots can only access external emojis from servers
that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @....
It does not work
I don't know it wasn't marked as fixed
Global not owned webhooks work with all emojis
Bot owned webhooks only can use emojis it can see which is not being fixed
On Thu, Nov 2, 2023, 16:23 NotDemonix @.***> wrote:
Alright
czw., 2 lis 2023, 21:22 użytkownik Lars_und_so @.***>
napisał:So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis? czw., 2 lis 2023...
Description
I'm encountering errors randomly (the code is working properly), but it sometimes occurs, especially when I first start with the bot. The showModal appears as it should, but when I press 'submit,' it displays 'Unknown Interaction,' even though the interactionCreate event is triggered.
Steps to Reproduce
Happens totally random
Expected Behavior
The Modal will be sumbitted
Current Behavior
`throw new DiscordAPIError(data, "code" in data ? data.code : data....
Closing as duplicate of #5558
So you tell me that the "fix" made it even worse by preventing bots that adapted to slash commands from using external emojis? czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.**> napisał:
…
As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to...
Can you share the full request with us (HTTP method, endpoint, any non-secret headers, etc.), not just the data payload?
Here's an example from today of the same issue:
- REST POST request to the message create endpoint
- [REST POST response from the messag...
I accidentally deleted my repo @shaydewael
https://github.com/discord/discord-api-docs/pull/6509
I accidentally deleted my own warehouse. That's why my PR was closed. So I created a new PR again.
@colinloretz @shaydewael
Describe wich entitlements will be omitted (the expired ones)
Working on a project that's growing in user counts one question keeps being asked. When will videos be supported and all I can answer is I don't know. It's been long enough please add video support to embeds.
looks like regex is syntax-sensitive. this will work with
.{1,4}wordand not with.{1, 4}wordbecause of the space in-between
I can also replicate this issue without the space:
Now we could use AI to find out if banner is NSFW, but firstly we need access to it.
It's 2 years.
But still it's unavailable to get...
Description
Embed Debugger doesn't refetch images from the image proxy (due to proxy returning caching headers) but the unfurler internally fetches the image again which leads to a goofy bug when image dimensions are changing
Steps to Reproduce
Try to debug https://api.shig.gy/api/v3/random
- Image is fetched by the browser once (via proxy) and cached because of cache headers returned by the proxy
- Try to fetch embed again, unfurler returns updated data but image remains the s...
If you are unable to provide a stable resource somewhere (for example, og:image), you should avoid embedding the resource at all.
I would love to see this implemented as well along with these modal upgrades: https://github.com/discord/discord-api-docs/discussions/5291 (Allow the use of Mentions and Emojis in Modals)
Hello, are there any updates on the timeline for this? Thank you.
Try to use external emoji of servers where my bot is NOT in into a webhook response, and issue still persist: external Emoji is not rendered. So, I don't understand what is fixed. Someone can explain please ?
And now the Workaround of edit the BOT webhook message after post it do not solve. So, after the fix all stop working. Good! Well done!
Try to use external emoji of servers where my bot is NOT in into a webhook response, and issue still persist: external Emoji is not rendered.
@MassimoMax70 This is a separate issue (#5357), but was sadly considered working as intended :(
Confirming we have been seeing this issue for a week or two now, iOS only
And now the Workaround of edit the BOT webhook message after post it do not solve. So, after the fix all stop working. Good! Well done!
as Zoddo already replied and as I outlined in an earlier post
before this fix, Bots had the ability to use Emojis in interaction responses, even if they weren't in the guild of the emoji. This behaviour was removed for webhooks a while ago, and along with the earlier mentioned fix it also brought this up-to-date.
They removed this ability on purpose.
Description
Some built-in connections, such as reddit, steam, and twitter have additional metadata to them, such as game_count for steam or total_karma for reddit. These work alongside things such as Linked Roles and and can be fetched via the API. However, when Discord refreshes these metadata, if the third-party service returns an error such as 500 (looking at you, steam) Discord will reset the value to be as if it was never set. This can cause issues for applications...
Description
I have the case that the MANAGE_EVENTS permission does not show up in app_permissions from a command interaction despite the bot having this permission.
The command is send from a regular text channel
Steps to Reproduce
At the moment I can only reproduce this bug on a server of one of the users of my bot.
Expected Behavior
I receive the MANAGE_EVENTS permission via app_permissions
Current Behavior
I DO NOT receive the MANAGE_EVENTS permi...
Why this is needed:
- adding localizations makes it more trustful for a different language/country to determine whether to subscribe or not. If a bot is localized but a screen of the bot pops up which isn't localized and is indeed about buying something, it may at least get confusing or untrustworthy.
- people who aren't as good at english as in their language may not really understand what the benefits are
Maybe it's a great idea to add localizations for the SKUs which we can setup...
Description
In my bot I set the embed title url to a thread link:
https://discord.com/channels/467433493261975563/${threadID}
This used to redirect within the client and always worked.
As of some weeks, it instead randomly opens a browser tab for that thread. And is not consistent with this behavious: sometimes it opens a browser tab, sometimes it redirects within the client (which should be the preferred behaviour).
Steps to Reproduce
embed message component url field htt...
Thanks for the info. We'll look into this
Description
This issue is similar to
https://github.com/discord/discord-api-docs/issues/6306
The distinction between this bug and that bug is that this bug seems to occur whether there are duplicate/similar commands or not.
The overall inconvenience is that pasting commands needs to be done twice, and then manual editing needs to be done to achieve the expected outcome of a single paste.
Steps to Reproduce
Eg: Current observed behaviour -
A slash command such as /imagine o...
Description
Recently, I noticed when mentioning a slash command for sub commands, it doesn't always show up. I'll need to click on the command in the slash menu or fully execute/run it. This seems to happen intermittently. Doesn't happen for regular commands using the format but only for sub commands and sub command groups ``.
Steps to Reproduce
- Refresh client
- Don't use or open slash menu
- Mention sub command or sub command group using
or
E...
as far as i understood how it behaved, based from your video, you are pasting a long text of what seems to be a [ contained ] data of the previously executed slash command to the chat box, which just treats it as a string. with it being treated as a string ( despite the arguments you've included in ), the user is still prompted with the slash menu because of the /imagine message starter ( or of what the message or text started with ). selecting the slash command gives you an empty chatbox...
'Close'
The long text is actually multiple arguments
Each one is delimited by <fieldname>:
Prior to saturday/Sunday - pasting would have auto-parsed it into the slash command syntax.
I have recorded another video- showing this issue on a 2 argument /slash command - showing that it definitely has nothing to do with the amount of content - it just refuses to allow copy/paste of the command on the iphone app.
This issue happens on my own bot and on midjourney's bot - affecting slash ...
but hen again, as you said, it is pasted as a string. it's unlikely for Discord to just convert the chatbox type to slash command prompt just because they chatbox started with that substring. it is a string because it either gives you the choice to either send it as a text, which is the literal default, or have it as a slash command prompt. the args now work, if you pressed the slash command in the slash menu, because it is not a text chatbox anymore but a slash command prompt. you could ty...
Bots can now access the source_invite_code through the new elasticsearch member search endpoint /guilds/:id/member-search endpoint (the experiment is still rolling out to servers though).
<img width="653" alt="image" src="https://github.com/discord/discord-api-docs/assets/60828015/394321a1-5c38-445f-a84b-378f12a19526">
damn i hate that they changed this ;(
nothing has changed relating to this, it is still the way it has always been
nothing has changed relating to this, it is still the way it has always been
Actually that's not true. The PATCH call to https://discord.com/api/users/@me/settings used to let you change statuses, but now it seems websockets are required.
Hi, here's an update. I was able to run the PATCH call and it seems to be working.
nothing has changed relating to this, it is still the way it has always been
Actually that's not true. The PATCH call to https://discord.com/api/users/@me/settings used to let you change statuses, but now it seems websockets are required. Unless I'm misunderstanding?
You’re right. But that endpoint was never officially supported or intended for use by bot or anyone else (other than the client I guess). The only official way of setting a bot’s status is [through the gateway](http...
bots have never been able to use the settings endpoint, that is only for users. therefore, it has always been impossible to use the settings endpoint without violating tos by using a user token
bots have never been able to use the settings endpoint, that is only for users. therefore, it has always been impossible to use the settings endpoint without violating tos by using a user token
Thanks but that wasn't the original question.
bots have never been able to use the settings endpoint, that is only for users. therefore, it has always been impossible to use the settings endpoint without violating tos by using a user token
Thanks, sorry I missed the nuance of the original question. The endpoint still works when using a user token for those that don't care about violating TOS.
The point you are missing is that it 'used' to work.
'it's unlikely for Discord to just convert the chatbox type to slash command '
It is not unlikely, since this was usual behaviour up until the start of this week.
Last week - you could paste the command, and it would auto parse into a slash command. No additional effort required.
At most you would need to delete or add a space to your text input and then the string would auto-parse into a command.
Since Sunday/Monday this week - si...
Is this limit intended to be gradually decreased and finally completely zero availability of discordapp.com?
Update: This issue has been solved. Thanks Discord Team! 😊
Changelog: https://discord.com/developers/docs/change-log#fix-message-edit-interaction-response-permissions
Considering it's never been addressed how can it be necroposting.
Description
Markdown headers don't display consistently throughout different embed fields
Steps to Reproduce
- Create an embed with the
descriptionfield containing a markdown header - Add a field with that same header
Expected Behavior
Both or none should render
Current Behavior
Only headers inside the description render properly
Screenshots/Videos
###...
Why don't we have any attention on this matter? This is actually much of a concern. The music apps that want to integrate rich presence into discord have to use the deprecated rpc module, which in turn says "Playing a game" instead of the wanted "Listening to musicAppName", if it was not meant for devs to use it, why is it even there? This lacks support from discord and I want this issue to be re-opened.
Either remove the option or if you don't just let devs use it!
Discord currently forbids self-botting and self-puppeting (using a human user like a bot and vice versa) via third party apps. However, the concept of self-botting is not that bad. First party self-botting might be quite useful, by allowing us to programmatically schedule and process messages in complex manners that would be too simple to make a dedicated application, but too tedious for a regular human user:
- Self commands infrastructure
- Execute requests programmed by self commands in...
Do you want user commands? 💀
You know what, this is absolutely brilliant. I'll get right on it.
Why? Bots exist for a reason
You know what, this is absolutely brilliant. I'll get right on it.
I can almost hear the troll music right now lol
it should be stated that this is not a real poll. i believe a lot of the things erkin writes to be... questionable, but i am not of the opinion that he should actually be banned from participating on here.
It would be a great idea to add a support server button inside of Discord Bot profiles. I've attached some pictures to show what it MAY look like. (Note: I'm not amazing at inspect elementing)
In my opinion, putting a Discord invite inside the bots about me looks clunky and weird. But that's just me.
, in an ABCABC pattern.
You can't create masked links in post titles, and the message looks good inside, but in the preview it breaks
There are people who do not have a single ipv4 address, and through public nat64, as suggested on the forum, they simply do not connect to webrtc. and what’s stopping you from simply enabling ipv6 support in cloudflare (and all discord traffic goes through it)? When I set up my site including calls via rtc, enabling ipv6 took a crazy 5 minutes. I can’t understand what’s stopping a big company like you from doing the sam
@Ggizzle yes these guys won't even look at it, it's horrible.
How long is this feature going to be in beta? Should libraries add support or not?
Please please make this work!!!
Please give us a way to ping people through followups!
This PR documents the limits set for URLs, including image URLs, in embeds and components.
The table in docs/resources/Channel.md needs fixing, but apparently this is done automatically now so I didn't bother trying.
Please run npm run fix:tables
The added row is not correctly formatted
Or separate the different types, since it's really long.
Thought about doing so, but as the strings all have the same maximum length imo it's more readable when all of them are combined.
Fixed the tables for now.
Can't you just mention them?
Update: still working with internal teams on this.
Description
Default Values
Default values can be initially selected for an auto-populated select menu but when updating a menu, the default values cannot be changed.
Retaining Selections iOS only (?)
When an item is selected, the menu does not retain the selection. Instead, it reverts back to whatever its previous state was. This is either the placeholder or the default values that were initially chosen.
Steps to Reproduce
- Send a channel select menu with a default...
My use case would be so that I do not have to loop through the thousands of servers my bot is in to ban a blacklisted user.
[my bot is apart of a blacklist program that checks users against our blacklist]
Description
When i authorize with laravel app it show me this before handleDiscordCallback() function
Steps to Reproduce
laravel socailite didn't provide the functionality of discord integration
Expected Behavior
i use this "socialiteproviders/discord": "^4.2",
after that i got this error
Current Behavior
Screenshots/Videos

A number of the people that work with this system only use mobile, and as was stated earlier:
At most you would need to delete or add a space to your text input and then the string would auto-parse into a command
(there's only one command with this name in this channel, server even)
Now that simply...doesn't work, and they're ...
ff5e9d5 Document permission splits for expressions and ... - advaith1
A fix for the desktop issue should be out on canary, I can't seem to repro what's happening on mobile at all.
yeah... that's what the issue is about. is there any reason for this?
Description
Hi, I'm currently not seeing the 'Ask to Join' buttons on my players' profiles, and I wanted to inquire if this might be due to pending approval for my app. Could you please confirm if there is a need for me to apply for an approval process to enable these buttons?
This used to work but we had to create a new Discord app in the developer portal and now the buttons are missing and Discord does not seem to recognize the game to invite others.
Our game is built with Unity ...
As someone who is looking to use Bot Premium Memberships as a replacement to platforms like Patreon, I would love to see the ability to have multiple SKUs/subscriptions published at once.
This would allow for more variety for users when it comes to subscriptions via different tiers or perks, as well as provide a great alternative to third party platforms like Patreon for bot developers.
This permission should still be documented for archiving reasons, but I added a deprecated warning.
Bit could probably be reused instead of documenting its old functionality. There's no precedent for this but might be better than just having this documented and instantly deprecated. There are already gaps in the documented bits, so documenting this one doesn't seem to add much value.
Appreciate the feedback! We have this in mind down the road. :) Stay tuned!
Appreciate the feedback! We have this in mind down the road. :) Stay tuned!
As someone who is looking to use Bot Premium Memberships as a replacement to platforms like Patreon, I would love to see the ability to have multiple SKUs/subscriptions published at once.
This would allow for more variety for users when it comes to subscriptions via different tiers or perks, as well as provide a great alternative to third party platforms like Patreon for bot developers.
Description
GET /sticker-packs returns a Content-Type header of application/json,application/json in all API versions except v9, which shouldn't be valid according to https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.1.
Steps to Reproduce
curl -I https://discord.com/api/v10/sticker-packs
Expected Behavior
A valid Content-Type header, i.e. application/json.
Current Behavior
$ curl -I https://discord.com/api/v10/sticker-packs
HTTP/1.1 200...
Appreciate the feedback! We have some things in mind down the road. :) Stay tuned!
We have plans to enable localizations for SKU names & benefits in the future. Appreciate the feedback 😎
We have plans to enable localizations for SKU names & benefits in the future. Appreciate the feedback 😎
Hi everyone,
Closing this discussion as this roadmap is years old and outdated. I'm happy that we shipped most of the things on this list! For feature requests and suggestions, please create a new discussion here: https://github.com/discord/discord-api-docs/discussions/ and upvote other posts that you agree with.
We've published a preview of OpenAPI Spec 3.1 for Discord HTTP API https://github.com/discord/discord-api-spec 🎉
We've published a preview of OpenAPI Spec 3.1 for Discord HTTP API https://github.com/discord/discord-api-spec 🎉
I think two things would be good for this
like a word or since
like 2 hours ago
2 hours later
but also the date time picker from events.
It would essentially allow the user to select any emoji from their emoji list to pass into slash command for stuff like image manipulation, emoji information or could even use to handle role making (default command on discord)
👋 this looks like a duplicate of https://github.com/discord/discord-api-docs/discussions/6537. Go upvote that request!
0a41b4c Bump actions/setup-node from 3 to 4 (#6498) - dependabot[bot]
well that was embarrassing.
Since the desktop fix is there and I still can't repro the mobile issue, I'm going to go ahead and close this. If the mobile issue is still a thing, please make a new issue for it, having separate issues for each bug makes it a bit easier to track.
duplicate of #3330 #3617 #3946 #4108
this would be for making roles via default slash command, and plus making it a lot easier for bot developers to parse default emoji and partial emoji.
Closing this out! Please upvote the others 🥳
Closing since this is a dup
Go vote for that one instead :)
Duplicate of https://github.com/discord/discord-api-docs/discussions/3456 :). Go vote that one up!
Best I can tell, we don't have this anymore. Regardless... sometimes we'll have tutorials for stuff not everyone loves. That's ok :) Closing this out.
Does anyone have a working IBM 5100?
On Fri, Nov 17, 2023 at 4:14 PM Ian Webster @.***>
wrote:
Hi everyone,
Closing this discussion as this roadmap is years old and outdated. I'm
happy that we shipped most of the things on this list! For feature requests
and suggestions, please create a new discussion here:
https://github.com/discord/discord-api-docs/discussions/ and upvote other
posts that you agree with.—
Reply to this email directly, view it o...
For example, someone messes up channels order, moves to different categories and etc, you can't even know who did it? Is it possible to add log for such action?
Something like:
[Channel update] User1 changed Channel1 position from 0 to 1.
Description
Normally you're able to set an embed image's url to attachment://filename in order to reference an image uploaded to the same message, making it appear inside the embed.
However as of a few days ago, some of the Message Create and Message Update events will randomly receive a follow-up Message Update event, which will move the image from the embed's image field to the message's attachments field, which causes it to appear outside of the embed until client resta...
Sadly no it does not allow that, I try to change the allow mention stuff as well nothing seems to work.
Description
Similar to issue: https://github.com/discord/discord-api-docs/issues/6539
When sending a message with an embed that has no pictures and editing in a picture URL after it is not displaying the picture.
Issues is reproducible on bots and webhooks.
Steps to Reproduce
1- go to https://discohook.org/
2- clear all
3- add any channel webhook
4- add a new embed
5-set title as "TEST"
6-send message
7-go to discord and copy message link
8-put message link on disco...
Update: Issue is happening on server 1076155409481601044, but it does not happen on server 1076430783792816188
From what a friend and I have gathered, any kind of message update that contains the content_scan_version property in the embed, will set the width and height of the embed image to 0.
@NurMarvin do you know what exactly is the content_scan_version? Do not look like it is related to automod
can you include the json payload of your activity update? I want to inspect it
Yeah I've seen this happen a few times with my bot. I had a user report it too today. However, they reported that it appeared duplicated on mobile but not on desktop.
Description
Our server has a few roles that can be assigned through onboarding but the client doesn't show the notice because the flags being transfered during connect on GUILD_CREATE are initially zero. Doing a request to guild/:id/roles the flag is correctly returned as IN_PROMPT, if applicable.
Steps to Reproduce
https://discord.com/api/v9/guilds/431908090883997698/roles
This is an example role where this happens: 431909457862066205
GUILD_CREATE
{
"ver...
With discord.py
Sometimes not show IDK how
Main
await interaction.response.defer()
await interaction.delete_original_response()
await interaction.channel.send(f"┌ {interaction.user.mention} used command `/register`",embed=register_embed)
Register embed
def register_info(title: str, discord_user: discord.Use...
The missing fields are global_name (?string) and avatar_decoration? (?string). While present in the docs, I could not find them in either the stable or preview specs.
This would be incredibly useful for my own projects. I currently need to have the user select a particular date/time to perform an action, the current ways of doing this that I've found are horrible with their user experience which are
- Have an external site dashboard hooked up, directs off of Discord
- Have a clunky embed with buttons
- Request a UNIX timestamp or similar, which is bad for the less tech-inclined
- Have users enter plaintext which I then try and parse a date and time fro...
@colinloretz the merge of this seems to have removed some information unintentionally:
- | message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of the first message in the forum/media thread |
+ | message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of...
Adds missing types to allow client generation by
openapi-generator.
To test:
docker run --rm -v ./:/local \
openapitools/openapi-generator-cli \
generate \
-g rust \
-o /local/output_directory \
-i /local/discord-api-spec/specs/openapi.json
@davegarred from the README fyi:
OpenAPI spec contents are automatically generated, and therefore we do not allow public contributions to this repo.
The spec is valid as-is. Apparently openapi-generator supports 3.1 only in beta (https://github.com/OpenAPITools/openapi-generator#11---compatibility), so that could be why it isn't working here.
Im curious, what error do you get?
That being said, I will have to close this PR because as already stated, the content is automatically generated so we cannot accept PRs.
Oh I'm just seeing the usual NullPointerException, nothing special for Java but always annoying (and debilitating)
Exception: null
at org.openapitools.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:1269)
at org.openapitools.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:1163)
at org.openapitools.codegen.DefaultGenerator.generateApis(DefaultGenerator.java:609)
at org.openapitools.codegen.DefaultGenerator.generate(DefaultGenerator.java:994)
at org...
@davegarred from the README fyi:
OpenAPI spec contents are automatically generated, and therefore we do not allow public contributions to this repo.
Yeah, totally understand the difficulty in working with outside CR's for a project sourced from an internal repo (literally dealing with that currently), but hoping this can point you in the right direction for a proper fix.
This permission shouldn't be existing in the first place! *Sigh* discord....
In the past i have made a server that you were unable to leave from as a proof of concept.
Using the guilds.join scope to be initially invited into the server, if the user ever decided to leave the bot would simply use the oAuth2 to invite them back. While you could revoke the application or just get banned from the server, it is certainly abusive and used more often than not for sneakily trying to add users to a guild. FiveM use to do this all the bloody time.
Awww man this is still not fixed.
I think it's safe to say that this suggestion is not going to get added.
I wanted to also suggest adding select menus and buttons to modals, both way overdue, but I expect the same none-response from that.
Discord has recently dropped the DX and support for bot API significantly, along with community communication, which saddens me. All they care about now is adding Nitro-only features and decorations in their "Discord Store" and frankly I don't believe anyone in-power from Discord will see...
I think it's safe to say that this suggestion is not going to get added.
I wanted to also suggest adding select menus and buttons to modals, both way overdue, but I expect the same none-response from that.
Discord has recently dropped the DX and support for bot API significantly, along with community communication, which saddens me. All they care about now is adding Nitro-only features and decorations in their "Discord Store" and frankly I don't believe anyone in-power from Discord will see...
@yonilerner has the documentation of these events been added somewhere or is the list you posted here still valid?
I maintain a moderation bot written using DiscordPy for automating tasks in the servers I help manage for various livestreamers.
Some features introduced relatively recently by Discord are the flagging of accounts on the new Members tab:
- "Suspicious DM activity" flag added to the new Community "Members" screen.
- "Message hidden from likely spammer" from the welcome/messages they post and members tab
Right now there there is no way to catch or log this when it happens to users in a...
Spammer Flag is already exposed in the API, and has been for a while (it's in the User Object's flags field, as the 1 << 20 or 1048576 Flag)
Thats great! Guess I can rename the title to "Suspicious DM activity"?
Just a note that the 1 << 20 (SPAMMER) flag should be present only on disabled accounts (unless it somehow didn't get removed when an account was reinstated), so there is little to no reasons to implement support for it in bots. That's the reason for why it didn't get documented.
Description
Per the permissions, CREATE_GUILD_EXPRESSIONS "Allows for creating emojis...", however, this does not work. It only works if MANAGE_GUILD_EXPRESSIONS is granted.
Steps to Reproduce
- Create a server
- Remove all permissions except "Create Expressions" from the base role
- Invite a bot
- Run the following replacing
guild_idwith a guild id andwith a token:...
bots aren't on the new permission system yet
From asking around the "Spammer" tag puts a banner on top of your discord until you enter a captcha and verify your 2FA. After this the flag is removed.
The "Suspicious DM activity" flag however is never publicly disclosed outside of the "Members" tab to moderators who have the permission to ban.
this is occurring to me for commands too (not just subcommands) if it hasn't been used for a while. i spent a few hours trying to figure out why some command mentions simply didn't work, then if i ran that command once, it'll instantly work.
only seems to happen on desktop and not mobile.
It would be really helpful to be able to give a user a specific list of users to chose from without using choices when registering the command.
Bump.
As of November 2023 discord still does not support the audio component of the Open Graph protocol.
Work around.
They do not support audio only tags, but they do support video.
Use ffmpeg to make your audio into a tiny video. I found 250x100 makes an ok sized video
(you can actually make the video 1x1 with ffmpeg and render it as 250x100 with the media tag, but we'll keep 250x100 for the sample)
<br>
ffmpeg -loop 1 -i coverImage.jpg -i audio.mp3 -c:v libx264 -c:a aac -stric...
Description
Ok, The best way too describe this would be via images, but ill give a nice explanation to the best of my abilities.
Uploading via the attachment system works, but when you put the attachments in out of order, the images are now out of order.
With this as the order:

Fix doc regression for forum/media channels.
Thanks to @lukellmannhttps://github.com/lukellmann for the catch! #5478 (comment)<https://github.com/dis...
| embeds?\* | array of [embed](#DOCS_RESOURCES_CHANNEL/embed-object) objects | Up to 10 `rich` embeds (up to 6000 characters) |
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg
From: Luca Kellermann @.>
Sent: Monday, November 27, 2023 7:36:39 PM
To: discord/discord-api-docs @.>
Cc: Miami87 @.>; Comment @.>
Subject: Re: [discord/discord-api-docs] Fix thread/forum channel docs regression (PR #6546)
@lukellmann commented on this pull request.
In docs/resources/Channel.md<https://github.com/di...
Hey, I'm building a dashboard for my bot, and I need to send messages as Bot that contains components and content. I'm "createMessage" rest api to send the message but the components are empty in the response just like @CheesyGamer77 mentioned.
Channel for the message is selected by user and could be anyone from the guild.
how implement this ? do I need to create webhook everytime? where can I learn more about application-owned webhooks?
@splatterxl @yonilerner
The list here is still valid
Is this ExampleGenerator used by the generate command in your initial post?
The validator we use is https://github.com/stoplightio/spectral
I haven't had a chance to look into this yet sorry.
@harshpandey002 Please open a new issue and include the exact request (with secrets removed) and response you're using
Description
Only on my original oldest bot token, "RoboSinc#7351", when I request a list of roles with the C# library Discord.net using the user.Roles function, the discord API returns nothing. It also does not return any errors, implying that the request succeeded, and the user really does have no roles. This is false, however, as the user has many roles.
Crucially, a restart would often fix this. Same code, just close and restart the bot instance, and it suddenly worked fine. No rea...
Is this ExampleGenerator used by the generate command in your initial post?
That's correct, the command I used above calls ExampleGenerator and produces the stack trace shown.
That being said, upon further review this definitely appears to be a bug in openapi-generator. A rather big one at that, but I'm guessing no one else is using an empty properties field (I certainly did not realize that was allowed).
Ah nice. I do think that is the fix here actually. Its unfortunate that we have empty schemas but there are a couple corners of the API that are incredibly tricky to type correctly
- Documents discount for developer team
- Clarifies usage for creating and deleting Test Entitlements in development
- Confirmed List Entitlements - GET
/application/{application_id}/entitlements - Confirmed Create Test Entitlement - POST
/application/{application_id}/entitlements - Confirmed Delete Test Entitlement - DELETE
/application/{application_id}/entitlements/{entitlement_id} - Confirmed List Skus - GET
/application/{application_id}/skus
For library developers, the `/e...
Following feedback on Premium App Subscriptions, we've made it easier for developers to test their app subscriptions. The goal is to provide you with flexibility during testing and prevent you from having to use live payment methods.
Description
Description
Only after some time of my bot being online and connected to the Discord API, when I request to remove a role with the RemoveRoleAsync(role) function in the Discord.Net library, it fails to remove any roles from any users. This only happens after some period of uptime. A reboot (reconnect to API) fixes this immediately for another 2-14 days or so before it happens again. This has been getting slightly more frequent over the last 6 months or so, and the resu...
This issue is not representing the problem accurately and I have created a new more accurate issue here:
https://github.com/discord/discord-api-docs/issues/6549
removing roles is a rest operation and has nothing to do with your bot's websocket gateway connection (which is the only thing affected by uptime). the issue you're describing sounds like an issue with your library's caching.
Hey, i have the exact same issue. This seems to be the case for all files. Discord doesnt match the files by the field they were uploaded, instead of it uses the order. I have tried with 4 attachements, and the first file i upload, no matter which field always ends up in the first option supplied.
+1 to @advaith1's comment, I'm leaning on this being either a bug in the bot's logic or the library's caching.
As for the HTTP 507, as far as I know, we don't emit this status code from our API nor have I seen other users report this before. My best guess is this is being emitted from some layer between your bot and our servers (proxy server?). If you're seeing this regularly, it might be useful to inspect the response headers/content to get an idea of where this came from and why.
Description
There exists a bug within the Discord API that allows users to bypass the set character limit for guild descriptions. This issue might let people write more than they're supposed to in guild descriptions, breaking the limits set for the text length.
Steps to Reproduce
`curl --request PATCH
--url https://discord.com/api/v10/guilds/{guild_id}
--header 'Authorization: Bot TOKEN'
--header 'Content-Type: application/json'
--header 'User-Agent: Insomnia/20...
apparently @yonilerner wasn't joking
Description
Some message types are not deletable.
This includes:
- Automod alerts
- User was removed from thread
I haven't gone through and checked all of them, but these are the ones that I commonly run into.
Steps to Reproduce
Trigger an automod alert, try to delete the message it created.
Expected Behavior
You should be able to delete the automod alert message like any other message type. (Message pinned, user joined, etc.)
Current Behavior
The API disallows ...
This is intended behavior, and documented in the "Deletable" field on the docs.
Thanks for both of your inputs. Gradually this issue is demystifying. The 507 explanation makes sense as it only happened once. I'm also checking with discord.net devs to see if they can identify a problem in their library.
Do you see MESSAGE_UPDATE events for these messages that include the duplicated embeds?
Never. The only event associated with the message is the initial MESSAGE_CREATE, which as above shows the intact message as originally sent, not the mutated version. If the message is subsequently included in a different gateway event, eg. INTERACTION_CREATE, it appears as the mutated version, but there is never any MESSAGE_UPDATE sent.
I suspect that the initial MESSAGE_CREATE event being sent normally is why the commenter above mentions that their affected messages were only appearing as m...
Ya Im just grasping at straws right now. This is incredibly difficult to reproduce, and there's nothing obvious in the code that could cause this to happen, even if i imagine worst possible eventual consistency or race conditions. Will keep investigating
It seems pretty cursed. Unfortunately, the behaviour's still persisting. Happy to send you some affected message IDs if it'd help to take a look at what's actually being stored.
probably not really related to the API, client feature requests go to https://dis.gd/feedback.
also, there is already a pop-up when holding a mention (not really what you want, but there are some info)

Ill take those thanks :)
@advaith1 User apps are a second-class, third-party self-botting. What I proposed is more akin to Guilded's flow bots.
Automated messages from user accounts is certainly something I wouldn't want to see in Discord.
Are there plans to also publish a spec covering the API used for the interactions request-response?
Discord's reporting system has a huge flaw where it doesn't account for required immediateness of the action. For example, if malicious users join your game community server that has lots of minors in it, and then start spamming explicit or violent content that Discord systems unfortunately still cannot filter, you as moderators have to ban and delete these messages as soon as possible to ensure safety of your members, which means skipping reporting, because it takes a lot of precious time th...
@colinloretz @shaydewael Can you add the "localization" label?
Description
`{
"application_id": "936929561302675456",
"channel_id": "1107138916760424501",
"data": {
"application_command": {
"application_id": "936929561302675456",
"description": "Create images with Midjourney",
"dm_permission": true,
"id": "938956540159881230",
"name": "imagine",
"nsfw": false,
"options": [
{
"description": "The prompt to imagine",
"name": "prompt",
"required": true,
"type": 3
}
],
"type": 1,
"version": "1077969938624553050"
},
"id": "9389565401...
We should consider changing this behavior.
any update on this one?
Once this information is published, we will provide developers with a substantial timeframe to implement end-to-end encryption when interacting with voice and video.
6365529 Changelog: Experimenting w/ E2EE Voice & Video ... - colinloretz
After every issue related to ipv6 support was either closed or locked, I have made a post here to discuss this topic. See #5545 and #5120
IPv6 has been a standard for at least 5 years, and server providers are now charging for using ipv4 addresses. See Amazon's article and Hetzner's pricing page.
Messages with duplicate message attachments and embeds (CHANNELID/MESSAGEID):
- 838167632841801768/1173213494762541198
- 1159329635612495911/1180187275821330454
- 676103614099488788/1179061671910719548
Description
the dev portal crashes when opening the rich presence visualizer
Steps to Reproduce
- go to dev portal
- click an app
- click rich presence
- click visualizer
Expected Behavior
it shows the page
Current Behavior
it crashes :(
Screenshots/Videos
Client and System Information
Chrome 121.0.6159.0 on Windows 11 26002
We have no plans for ipv6 support at this time.
We have no plans for ipv6 support at this time.
Perhaps this issue should have stayed open until it is actually resolved?
#6473 should still be fixed, but hopefully documenting this will help.
The spec is missing types 33-44:
a[a.PRIVATE_CHANNEL_INTEGRATION_ADDED = 33] = "PRIVATE_CHANNEL_INTEGRATION_ADDED",
a[a.PRIVATE_CHANNEL_INTEGRATION_REMOVED = 34] = "PRIVATE_CHANNEL_INTEGRATION_REMOVED",
a[a.PREMIUM_REFERRAL = 35] = "PREMIUM_REFERRAL",
a[a.GUILD_INCIDENT_ALERT_MODE_ENABLED = 36] = "GUILD_INCIDENT_ALERT_MODE_ENABLED",
a[a.GUILD_INCIDENT_ALERT_MODE_DISABLED = 37] = "GUILD_INCIDENT_ALERT_MODE_DISABLED",
a[a.GUILD_INCIDENT_REPORT_RAID = 38] = "GUILD_INCIDENT_REPORT_...
[discord/discord-api-docs] Pull request opened: #6558 Document AutoMod incident action message types
incident actions fully released months ago, and the support article says "This feature is available to all servers!"
also, GUILD_APPLICATION_PREMIUM_SUBSCRIPTION was marked as undeletable, but it is deletable so I fixed that
I didn't document types 33-35 and 40-44, because either they are dead/unreleased or I don't know the status of the feature
The Follow Announcement Channel endpoint, like the Create Webhook endpoint that it essentially is, supports the X-Audit-Log-Reason header; this is not currently documented.
Same issue it's 2 days now. fix it
Same issue it's 2 days now. fix it
Have patience, it's the weekend currently so there's (usually) hardly anyone in the office. They'll probably notice this when they come back in Monday onwards.
Any new word on this? I think this is a very important feature to have.
API updates in general have been very much lacking lately, not sure why that's happening
not much communication either imo
What's the status here, will this become usable?
turns out I asked for this back in July and it was added, but it was never announced or documented
applied_tags can now be set on Execute Webhook: #6560
Description
If you send any component with a Unicode surrogate character in its custom ID, it results in 500 Internal Server Error.
Steps to Reproduce
- Create a button with the Custom ID:
asdsadasd\ud800 - Send a message with this button.
Expected Behavior
400 Bad Request
Current Behavior
500 Internal Server Error
Screenshots/Videos
.
please, increase this limit to 6-8k, or decouple it by subcommand or subcommand group:
it's incredibly inconsistent with the rest of the limits:
- user inputs in modals can have 6k characters.
- you can have 25 subcommand groups and 25 subcommands, i.e. 625 subcommands per command.
- you can have 2,048 characters in your footer's text
yet, you can't have more than 4,000 characters combined across all subcommands.
i'm now forced to either split some of the settings off to a seco...
Confirmed.
I've got a fix that'll roll out over time.
I've also been getting reports of messages that are sent to the API with 2 embeds but only get posted with 1. Discord occasionally will only show 1 embed when the message was posted with 2.
Channel 838167632841801768
Message 1181642782222323736
In this instance, the buttons are added to the message in an edit after posting and the second embed is added in the same message payload as the buttons. So the request is definitely being made. It's not a channel permissions issue and it's not my code.
Description
I have a bot installed in multiple guilds. I am creating a nextjs dashboard for server admins who can send messages with components and embeds to any channel in their guild through my bot.
When I try to send message with components and embeds, the message only shows up with the content and not components or embeds.
The response from /channels/{channel.id}/messages contains empty components and embeds.
Steps to Reproduce
- Create a bot
- Install it in your dis...
Have you tried sending json instead of urlencoded form data?
Fix for this is merged, however you may continue to see problems until your guild node is reloaded. As the nodes are rolled over in the coming days/week the problem should naturally repair itself.
That's great to hear, thank you.
<!--
Before opening a new issue, please search existing feature requests: https://github.com/discord/discord-api-docs/issues?q=is%3Aissue+label%3A"slash+commands"+
-->Description
it would be nice to allow users to specify a Date or time delta. Discord already has a date picker (though possibly not a date & time picker) would be fantastic if we could use that.
Why This is Needed
Lots of commands schedule things it'd be very useful for those. For exampl...
Thank you. We're continuing to investigate, these have helped
8+ hours of debugging and this was the issue, this is the reason I don't get hired 😭
Thank you @MinnDevelopment so much!
Description
Images being uploaded are not embedding and are appearing as attachments
Steps to Reproduce
Upload an image as an attachment.
Expected Behavior
It embeds and shows the beautiful photo
Current Behavior
It displays like any other attachment.
Screenshots/Videos
Client and System Information
Canary 252063 (954ac98) Electron 22.3.26Chromium 108.0.5359.215Host 1.0.226 x64 (40991) Windows 10 64-Bit (10.0.19045)
I'm also experiencing this
Stable 251818 (f71d50a) Chromium 119 OS X 10.15.7 64-Bit
it got fixed for me after do cntrl+R, wait to come up and send again.
it got fixed for me after do cntrl+R, wait to come up and send again.
It's been on and off, still experiencing it.
Description
Link fails to be masked when the to be displayed text starts with an ordinal number followed by a period and a space. I did not find the answer in similar issue.
Steps to Reproduce
this do not work:
curl -H "Content-Type: application/json" -d '{"content": "[1. text]()"}' https://discord.com/api/webhooks/
this works:
` curl -H "Content-Type: application/json" -d '{"content": "1.text"}' https://discord...
We think we've identified the root cause and have put some temporary mitigations in place while we work on a long term fix. Im going to close this for now but let me know if it comes up again. Thanks for all the help debugging!
That's great to hear. I did see this happen just an hour ago though so just wondering when this fix went out?
This should be fully resolved, there was some transient issue with the service that computes image metadata.
Description
On iOS, sending an application directory link results in a permanently loading embed. I know this is technically app behavior, but Jake requested I open an issue here to be tracked 👍
Steps to Reproduce
Post an application directory link
Expected Behavior
An invite embed appears
Current Behavior
No invite embed appears
Screenshots/Videos
Cli...
Description
Hello,
When trying to log in to the Developer Portal on the website, the page keeps refreshing and logging out. Sometimes the page loads but does not log me into my account in any way.
Thank you,
Türker (Discord ID: 162740870607536128)
Steps to Reproduce
- I logged in to the Developer Portal via the website.
- I logged in via "Passkey
- I logged in via Authy, this time with the "2-Factor Authentication" code.
Expected Behavior
I should have been able to...
We've not seen any further instances.
Sincere thanks for taking the time over this.
Passkey authentication is currently not supported for the developer portal https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Multi-Factor-Authentication
It is strange that you were unable to sign-in with a regular MFA code, but I would recommend retrying with a clean reload and without attempting passkey authentication.
Passkey authentication is currently not supported for the developer portal https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Multi-Factor-Authentication
It is strange that you were unable to sign-in with a regular MFA code, but I would recommend retrying with a clean reload and without attempting passkey authentication.
I was able to log in with passkey 4-5 days ago.
In addition, I would like to say that I can log in to Discord normally, but I cannot log in to the Developer Portal in any way.
@appellation Do you have any idea about this problem that has occurred?
Added the invite type based on the api response for guild, group and friend invites
Both additional invite types are not relevant for bots
Both additional invite types are not relevant for bots
depends on the bot... you could say that about enough other things as well
Stuff usually doesn't get documented when it's not for bots.
I think there were a few prs trying to document it in the past, not sure tho anymore.
What about moderation bots which filter out certain invite types (disallow guild invites but allow friend invites) only? This is just one out of many use cases for this option.
Hey @afgiel , this started happening again today on my server 1076155409481601044
This PR looks great to me!
@Lulalaby You should clarify that what you say is strictly your opinion, this is data returned from an endpoint which bots most definitely use, it's useful as stated above.
The documentation proposal is fine as is. Like @quinchs said, you can access this information from a public endpoint. That's a valid enough reason to document it, regardless of whether bot developers will use it or not.
this field should be documented, but for some reason, it was previously rejected in #4334 and #4746
can we get clarification on what happened there, and can this field get documented?
Description
There is no more Error Codes page, so it returns a 404
Steps to Reproduce
Search Error Codes using the Search button
Expected Behavior
The page for the result doesn't exist
Current Behavior
You are shown a 404 page
Screenshots/Videos
##...
Description
I was trying to find the documentation for entitlements and it did not find the right page.
Steps to Reproduce
Open the api docs, search for "entitlement".
Expected Behavior
It should show Entitlement Object in the results.
Current Behavior
It does not show it. I'm assuming the entire monetization section is unindexed.
Screenshots/Videos

Description
So, I just found out i got a duplicated command name which cannot be happen based on Discord API documentation.
I got 2 resume commands in my Application, and all of those working as expected
Steps to Reproduce
I dont know, i just realized it, if I'm remember the first resume command its registered using API v9, and the second one is registered using API ...
Description
Similar issue to #6540
When sending a message that contains an embed with a picture URL thru webhooks, half of the time the image does not load.
Issue also happen when editing the embed and adding a new picture URL.
Editing the message and sending the same content again is a workaround to make the image to display.
The issue on 6540 was happening also with bot messages, it is fixed. But, now the issue persists with webhooks.
Steps to Reproduce
1- go to https:/...
We are having a very similar issue for the past few days where webhook posts do not show the images loaded via URLs. We also cannot turn off the explicit image scanning as we have enabled "Community" in our server...
Description
We are trying to implement the following process: create a new channel in a private category (inheriting permissions from the category) and immediately after that add a member to this channel with an additional peremission_overwrite request with read permissions. Most of the time this works well, but sometimes (about 5-7% of cases) new permissions don't work at all.
When does this happens we can observe setted permissions by API request to channel and check that they are p...
Description
Forced downgrade creates a very obvious vulnerability
Steps to Reproduce
Connect to a voice channel
Expected Behavior
Bots properly negotiate keys for the E2EE channel, or, if they fail to do so, whole voice chat gets disconnected
Current Behavior
Voice channels will automatically downgrade to currently documented, non-e2ee protocols when a bot user joins the channel.
Screenshots/Videos
No response
Client and System Information
Any
downgrades will only happen during the migration period.
Make it so when bot goes offline, all commands get unregistered.
When I switched my bot to discord.js it always had slash commands from old bot in nextcord, my old bot was not running.
That's a lot of duplicated requests for something that should be persistent 99% of the time.
Your edge case is easily resolved by cleaning up after yourself.
Same issue here, incognito mode, VPN, different browser etc all does not help. You guys use a pretty broken captcha provider it seems, with this issue reappearing (or never really solved) for years. Strangely I never faced similar with hCaptcha anywhere else.
@turkwr It means its on our issue tracker
This issue has been fixed, but may require a hard refresh or a clearing of browser cache to resolve for some users.
This issue has been fixed, but may require a hard refresh or a clearing of browser cache to resolve for some users.
Problem solved, thank you. ♥️
Preferrably, the e2ee voice channels should have been opt-in in a per-channel basis, then every bot developer/guild moderator/calleee would have been able to evaluate the impact of using or not using MLS on their own. Forcing silent upgrades and downgrades is regardless a bad design here.
Additionally, non-MLS channels would have been able to enjoy other specific benefits, such as ability to perform auto-moderation and latency compensation on the voice channel traffic.
It looks like these two commands were created at pretty close to exactly the same time which is probably why this happened. You can safely delete one of them to resolve the duplication
To be clear: Im closing this because fixing this race condition isn't much of a priority
Even after refreshing the app, that member doesn't appear in the channel permission overrides?
Even after refreshing the app, that member doesn't appear in the channel permission overrides?
Yes, even after that. Caching was the first thing we checked. I spend about three weeks trying to deal with it. User permissions not present in any client
I have some theories about this behaviour:
The first one: maybe permissions subsystem cant get in time and dont know the channel already exist in moment of permission overwrite request. As a result it don`t create a task to applying p...
It's getting very annoying. It's like 50/50 if the embedded image will show up or not. Wish there was a way to disable the content scanning for verified bot or host or something like that.
@aalhitennf as a workaround for now I am making all my webhook embeds send and edit after 1 second :/
Is the API enforcing the permissions correctly even though the UI is incorrect?
The behavior youre seeing is likely because the guild processed the channel and permission override events in the incorrect order. This likely wont be fixed given the nature of our system. A couple possible solutions for you to consider:
- Use private threads
- Only create the permission override when you receive the
CHANNEL_CREATEevent
Only create the permission override when you receive the CHANNEL_CREATE event
TY. We are already change our flow some days ago to use payload with all possible permissions in channel creation request and get rid of inheriting and now testing the result.
I considered it necessary to report about unexpected behavior of the system.
Is the API enforcing the permissions correctly even though the UI is incorrect?
In such cases, the API showed that permissions were present (in my screenshot), but they did not work (which corresponded to what was shown in the UI in another screenshot). And this was strange for me, because if they were not present in the response or response give me an with an error, I could have reschedule request.
- Only create the permission override when you receive the
CHANNEL_CREATEevent
Is CHANNEL_CREATE not corresponding with api response in /guilds/{guild.id}/channels POST request?
Await was implemented everywhere in api requests, no parrallel execution, because we need channel ID from creation response to make a permissions request.
I've been dealing with this problem for quite some time now. I create channels (voice channels) in the same way and immediately create perms overwrites with the next request. But in my case, in about 70-80% of cases, perms overwrite applied incorrectly. As far as I know, POST /guilds/<id>/channels has the permission_overwrites parameter. However, I never tried to use it. Maybe this can fix the situation.
@Thorvarium Thanks i could try that too. One workaround is to add the urls as attachment and then use it in embed url "attachment://filename", but this breaks the message and shows the attachments as normal content if the message edited afterwards. For non-interactive messages it works.
Description
Maybe this occurred around #6303, but user is now nullable. This is a breaking change as it is not documented to be nullable.
Steps to Reproduce
Create an interaction response, then fetch the webhook replacing webhook_id with the webhook id and webhook_token with the webho...
I've been dealing with this problem for quite some time now. I create channels (voice channels) in the same way and immediately create perms overwrites with the next request. But in my case, in about 70-80% of cases, perms overwrites applied incorrectly. As far as I know, POST /guilds/{guild_id}/channels has the permission_overwrites parameter. However, I never tried to use it. Maybe this can fix the problem.
It's a relief to hear that I'm not the only one who faced this issue.
Thanks...
This is a bug, but perhaps not in the way you were expecting. This route should be a 404 for type 3 webhooks.
I haven't tested this in a while, but can anyone confirm it still works this way? I will do some tests soon to make sure.
Description
This pull request addresses the recent addition of a new language option for Spanish speakers in Discord, referred to internally as es-419. The proposed change adds documentation for this language option. For visual reference, check the Discord UI screenshot provided in the pull request.
ChangeLog
- Added the new language field to
Reference.md
Unresolved...
Is CHANNEL_CREATE not corresponding with api response in /guilds/{guild.id}/channels POST request?
No. CHANNEL_CREATE indicates that the guild process has processed the new channel, whereas the API may respond earlier than that.
We understand that this behavior is unintuitive but unfortunately there isn't really anything that can be done about it. The solutions I mentioned above could be tried, or maybe setting the overrides when creating the channel, which appears to be available per https://discord.com/developers/docs/resources/guild#create-guild-channel
The existing behavior for MANAGE_GUILD_EXPRESSIONS and MANAGE_EVENTS will not be changing. These permissions will continue to allow your bot users to create, update and delete expressions/events. No action will be needed if you plan to continue using these permissions.
CREATE_GUILD_EXPRESSIONS and CREATE_EVENTS as documented today are permissions available to users and roles but are not yet available for apps. We will share a follow up changelog once they are available.
@Thorvarium Is the behavior still occurring for you at the moment?
Excuse my, but why did you close it? I get that my code flow was incorrect, but the second part of bug still present - api request returns incorrect permissions state.
@evanshrestha looks like it is fixed now thanks! And the images are loading much faster
Its not the API that has the incorrect permissions state, its the guild that does.
Its not the API that has the incorrect permissions state, its the guild that does.
Ok, I get it, you don't plan to do anything about it because it is initially incorrect sequence of requests. The sad thing is that i cannot trust api responds in this case, especially if I don`t controll external bots.
Anyway thanks for your time and clarification
It is unfortunate that you cant trust the API response here. This is an implementation detail of guilds, in that the guild maintains its own state, and that can sometimes get desynced from the "real" data in the API. And the discord app uses the guild state rather than data from the API
Thx, I get it. Maybe there is some another accesable source of true state?
Thanks for this PR. Already documented in #6305 and developer guidance added to changelog in #6578
I get this sometimes too?
<ClientResponse(https://discord.com/api/v10/interactions/1184495279228076082/aW50ZXJhY3Rpb246MTE4NDQ5NTI3OTIyODA3NjA4MjpQS2Z4SXo5Y2cwS2wwZVVvUDhtNlRGQnJYdk1NbHFhYTBNaGcxNlRtc1FPTWhZNHNiVmVsSmRmUzZEQkFONDdYWjIwT2hKTFNWQ3NIbHdBZkVoVEwwTzlEdGp0SjBZYlltaWgycTBsUkc1MDloWjBKeUtnQ0lyVGp6TnpUdHE0UQ/callback) [507 Insufficient Storage]>
<CIMultiDictProxy({'Date': 'Wed, 13 Dec 2023 14:01:21 GMT', 'Content-Type': 'text/plain', 'Content-Length': '53', 'Connection': 'k...
Got the same problem. I also noticed some discussion around this issue in the discord.js repo.
Apparently, this issue has been going on for over a year. But I'm glad to see that we finally have some traction on it over here.
@yonilerner, @appellation This problem still seems to be recurring...
Has this been patched? I am still encountering this issue.
Hello! I recently began localizing my discord bot, and this has caused problems
I've been having problems recently localizing my slash commands and then using command snowflakes.
I use the Fluent framework to localize my discord bot. In Fluent, each string has an identifier (such as join-cmd for "join" in English, etc.) The problem is that when I try to create a command snowflake, unless...
Description
Similar to #4196 and #6320, another :__struct__ field is being leaked by the gateway, Guilds.Models.RecurrenceRule this time.
Steps to Reproduce
Currently unclear, I'm guessing this field is part of a GUILD_UPDATE event. It was reported for the Nostrum Library here.
Expected Behavior
No :__struct__ fields are sent as part of gateway events
Current Behavior
An event may include `...
Linked Roles allow a limited number of metadata fields, and each field requires the application to define not only the data type, but also the comparison (==, >, >=, <, <=) that can be performed. In my application, users are assigned a numerical certification level. It's possible that some server owners may want to create one role for each level, while others may want to create a role based on something like "level greater than two". This isn't currently possible unless the applicat...
I gave feedback on this a year ago since this is related to Discord app client, but it still isn't resolved. So I decided to post this here.
In short, I have a command with 2 options, user and string with autocomplete. I receive partial values of other options in the autocomplete interaction, so I'd like to show items of selected user in the string option. But if I chan...
Discord embeds are lovely! But when you add an image to the thumbnail, they're suddenly not so lovely. All of the text content now has less space to work with. See the two pictures below.
Without thumbnail (pretty)
With thumbnail (ugly, awful to view on mobile)
...
So what are the rules for escaping link text for user controlled text now? I used to escape all markdown characters and it was fine, now it always prints the back slash.
But if I don't escape, stuff like [test**test**](https://google.com) will make it bold, with seemingly of no way for me to prevent it?
I've added global_name but I don't think we document avatar decorations anywhere. The change will be visible with the next deployment.
[discord/discord-api-docs] Pull request opened: #6584 Getting Started (DE) has been corrected a bit.
Some text has been changed, but most importantly everything that is a (button, buttons) has been changed to (Schaltfläche, Schaltfächen) as these words are used to name a button.
Adds changelog and documents more explicit limit for embed fields
Related to #6437
[Embed objects](#DOCS_RESOURCES_CHANNEL/embed-object) are now limited more explicitly to 25 [embed fields](#DOCS_RESOURCES_CHANNEL/embed-object-embed-field-structure). If you pass more than 25 fields within an embed's `fields` property, an error will be returned.
This is already documented in the Embed Limits table below (like the limits of other fields)
Documents the supported events based on https://github.com/discord/discord-api-docs/issues/6203#issuecomment-1608151265, and adds links to the tutorial and GitHub events docs
However, the provided list doesn't include star, but the webhook still sends star notifications; I just used the provided list, but it might be incorrect in this case.
What about avatar_decoration_data? avatar_decoration is what is currently documented, but there is a pull request to change that: https://github.com/discord/discord-api-docs/pull/6464
My discussion was closed despite there being clear interest in supporting ipv6. I agree with @meizuflym, although I think webrtc may not be using cloudflare. However that shouldn't prevent Discord from at least enabling ipv6 on the rest of the platform 😕
That is a response from a year ago with no update nor ETA.
That is a response from a year ago with no update nor ETA.
Well Discord doesn't like to give public ETAs, so don't hold your hopes up for that.
A fix for this has been merged. It will make its way out to Web canary in a few hours, and out to mobile clients after the winter break.
This is done, more info here: #api-announcements message
From: Yoni Lerner @.>
Sent: 20 December 2023 22:14
To: discord/discord-api-docs @.>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] Embeds with excess fields do not fail (Issue #6437)
This is done, more info here in DDevs: #api-announcements message
—
Reply to this email directly, view it on GitHub<https://github.com/discord/discord-api-docs/issues...
I originally submitted this as a Discord ticket but they directed me here. I don't believe this is the appropriate place but here goes...
I recently subscribed to the Discord statuspage (on Atlassian, discordstatus.com) webhook notifications so that I can detect incidents and adequately respond. During the incidents on Dec. 15th, it became obvious that the incident status' are not always sent through a POST update. I reached out to Atlassian about it and they s...
this should now be fixed, going to close this out but feel free to comment if there are still issues
Can confirm this is still an issue.
A fix for this has been merged, however its release will be delayed as we have frozen deployed for the holidays.
Expect to see this out in early January
I am trying to use the Button component to provide some time options for users to pick for a meeting, but given I don't have access to the user's current timestamp, I can't format it into the proper string to show the times. I've tried using the Discord default timestamp format as well, but it doesn't get formated.
It would be interesting to support this for all message components.
[discord/discord-api-docs] New comment on discussion #4914: Allow to disable commands for admins too
i want this so much, i keep using the wrong commands because if i leave on mobile while writing a command because i wan to double check the user, when i come back another bot has been selected to perform the action. If i go to integrations and disable commands i should not have to see them.
This is now supported by bots.
route = discord.http.Route("PUT", "/channels/{channel_id}/voice-status", channel_id=1097935888748662854)
payload = {"status": "hello"}
ret = await guild._state.http.request(route, json=payload)
voice status seems to be unavailable in servers with hang status (at least the GUI is) - tbd if that replaces it, I suppose
It still exists in the context menu and is shown if we're on the voice call screen for the channel.
But it's not shown under the channel name anymore.
Description
I have invited midjourneyBot to the new server, but I cannot find the robot in slash. nijibot is working normally, other servers are also normal, and private chat is also normal.
Steps to Reproduce
only one server can Reproduce
Expected Behavior
can work
Current Behavior
not found midjourney slash in server group
Screenshots/Videos
Client and System Information
Chrome 已是最新版本
版本 120.0.6099.129(正式版本) (arm64)
have you reloaded your Discord client?
Yes, I logged in again using the browser’s incognito mode. I think I triggered a discord or Midjourney bug.
Description
It doesn't look like Discord supports raw IPv4 & IPv6 addresses when sending outbound requests. Embed Debugger (and normal link embeds) cannot connect to raw IP addresses without a domain (ex. https://1.1.1.1). IP addresses also don't work for interaction endpoint URLs.
Steps to Reproduce
Description
I have a discord bot (discord.js) with a slash command that takes in an attachment option. Sometimes when I try to use the command and attach a file, the discord app acts as if no file has been attached.
The slash command is as simple as:
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('sdbattle_submit')
.setDescription('submit!')
.addAttachmentOption(option =>
opti...
Have been experiencing this myself. A quick fix for me, in an app that only needs to show information to the user, is to open a popup modal with the information in the value fields for the text inputs.
IMO it'd be very useful if the ephemeral message either showed up directly below the original message, or if the ephemeral message showed up via a popup (like in the 'delete message' modal).
[discord-api-docs] New discussion #6592: Upload APP assets via API or load images from local for RPC
Is it possible to upload some images as assets to an application via API? It would be a better use for RPC. And also (if it is possible) loading images from local is also a good idea I think.
I found this feature request was first been put forward in #2778 in Apr 2021, and it seems that it has not been implemented. Would this feature ever be implemented, or it's easily not in considerations or not possible due to security / technic problems.
The RPC allows external urls for image assets when setting the Rich Presence.
Just pass the URL instead of the asset-name.
The RPC allows external urls for image assets when setting the Rich Presence.
Just pass the URL instead of the asset-name.
To prevent people writing client libraries that crash when they encounter responses with additional properties, Discord REST and gateway responses should include random additional properties, with meaningless values. This is the same anti-ossification strategy used by TLS 1.3.
Wait... is it April 1st already? 😂
Yhis sounds like a great way to waste bandwidth and CPU on Discords side. if someone makes a library that crashes on extra fields, they will find out the minute discord makes a change and adds a field. sounds very much like a "them problem" that it isn't in the remit of Discord to guard against to me.
The fixes for this problem are called competent library design and the openapi schema that discord has been working on for like a year now. Adding random nonsense data achieves nothing but waste more bandwidth and break all libraries that do have this issue.
Ah alright, thx for your response!
Why stop at adding random properties? The properties should also randomly change types, or be completely removed without any version bumps. That will keep us on our toes!
nah this feature is not required as this is how discord changes already work. best read the change log because there's no such thing as a minor version!
Yeah, @braindigitalis is right. Discord suffers from #6207.
i think folks will definitely appreciate the tutorial ! just want to highlight the initial question did include "without first wrapping it in a video file" so discord staff don't consider this an answer
For me it's a 401 when I try to use a bot's token with this request with cURL.
When I copy the request exactly and use cURL to do it (with my user's token, not my bot's) then it goes through fine.
So I suppose it is not meant to be a bot-exposed API feature yet.
Can anyone please advise what the next steps are to move this forward? When was the "planned" tag added?
You know it's 2024 already
Need to keep the license up-to-date ;P
P.S.
Happy New Year everyone
you could do start year of discord api docs to Present
Description
I recently noticed timestamps are not correct for one of my two bots, both have the same exact code. I already asked Discord Support, but they could not reproduce my issue and said to go ask in the Discord Developer server, I asked there and we got to the conclusion that in the server where my bot was hosted had the wrong time, I asked in my bot's hosting support server and they could also not reproduce it, they even tried on the same node as my bot.
Steps to Reproduce
...
All discord does is display the timestamp you give us. Any issue with the timestamp value is on your end.
You're most likely experiencing clock drift on the server and need to resync your ntp time.
The issue here is, both bots have the same exact code, however 1 of them is showing incorrect information.
You're most likely experiencing clock drift on the server and need to resync your ntp time.
How could I do that?
I couldn't repro with the repro steps you provided. Can you provide additional repro steps to help us narrow this down?
Description
So, I'm assuming when you attempt to set an interactions endpoint url. Discord runs some kind of internal check to make sure the url is valid. It does this by sending some kind of tester request to said url. But when doing this, for some reason the request body is totally corrupted. I noticed this at first when my verifySignature function was failing when I had seemingly identical code to the ones in the docs.
Discord does not send a body of [object EventEmitter]. Can you come up with less complex repro steps so we can eliminate all of these frameworks?
Ive tested this out without hono just using raw nextjs api functions and still got the same result, going to test it out with the default bun server next
Bun.serve({
fetch(req) {
console.log('content-type', req.headers.get('content-type'))
console.log('body', req.body)
console.log('method', req.method)
return Response.json({
test: 1
})
},
port: 3000
})
Still gives the same response:
For some reason discord is giving back a ReadableStream thats lit...
Can you please provide the actual text of the body? A ReadableStream is expected.
This is the expected behavior, since Bun uses the Web specification of Request. So Request#body is of type ReadableStream.
If you want the JSON body of the request, you must use [Request#json](https://developer.mozilla.org/en-US/docs/Web/API/Request/js...
This fixes it, so i'm assuming this isn't a problem with discord, probably hono/nextjs. Thanks. (ill post edit this post with a solution if anyone else encounters this)
Certain ISPs are now IPv6 only.
the content gets analyzed with different levels of sanitization, including a "raw" level where there is almost no sanitization (it still does a small baseline amount of transformations though). this raw level still wasn't preserving newlines, which i think was the main issue here. If so I think this issue should be fixed now, let me know if you still notice a problem.
i think this issue should be fixed now. closing issue but feel free to comment if these regexes still aren't behaving the way you assume it should.
There is still an issue:
The original pattern should not match the text \# a but it still does with AutoMod.
Playground Link
There is still an issue: The original pattern should not match the text
\# abut it still does with AutoMod. Playground LinkEdit: Playground share links are not working for me right now so here's this if it's also broken for you:
use regex::Regex; fn main() { let re = Regex::new(r"(?m)^#{1,3}\s+.+?$").unwrap(); println!("{}", re.is_matc...
Yea that makes sense, I guess there's not an easy solution to this. Thanks for fixing the false negatives though.. that's a lot more important than the false positives!
Similar but not quite exact behavior for me with python 3.10 and pycord 2.4.1 using discord client Stable 256231 (96a39c5) Host 1.0.9028 x86 (41936) Windows 10 64-Bit (10.0.19045).
About 2 weeks ago using ctrl + v would work to paste images as attachments, but now it is being blocked as showcased by KuJu on discord api server.
Dragging the file in from a chrome browser window still works or selecting the file from explorer.
. this raw level still wasn't preserving newlines, which i think was the main issue here. If so I think this issue should be fixed now, let me know if you still notice a problem.
But it should also be considered a security benefit.
This still seems to fail if there is a space at the end of a line.
This does not get detected and posts a header avoiding automod
This is a
# test
But this with the space after "a" removed does get detected and blocked
This is a
# test
There also still seems to be an issue with detecting multiple newlines. Detecting a single newline is possible.
With the following regex pattern: \n.*\n
The following message will fail to be detected:
test
test
okay so, any update on the indonesian client language?
Read stories on the list “Reading List“ on Medium: https://medium.com/@muhammadijazk05/reading-list
You’ve been invited by Muhammad ijaz to get stepping. Climb the club - with Sweatcoin! 🏃🏽♀️ https://sweatco.in/app/c/thewalk/cp/bEln1krYw5
Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns
< 2024/01/07 00:26:11.000412809 length=130 from=394 to=523
01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22 ....z...{"cmd":"
47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50 GET_RELATIONSHIP
53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65 S","data":{"code
22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22 ":4006,"message"
3a 22 4e 6f 74 20 61 75 74 68 65 6e 7...
Description
Although the Discord Developers portal actually says that the about (description) section has a 400 character limit, this limit can be bypassed by making a request to the API.
Steps to Reproduce
fetch("https://discord.com/api/v9/applications/botid", {
"headers": {
"authorization": "your token",
"content-type": "application/json"
},
"body": "{\"name\":\"name\",\"description\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
I definitely see potential here with these features for modals. I already had ideas for chechboxes usage but was let down it's not implemented :( Just text fields for modals are boring.
Fix: Optional parameters
- Removed text "All JSON parameters are optional" and added info "All parameters for this endpoint are optional."
- Added
.at the end of the infos
| query | string | Query string to match username(s) and nickname(s) against. | |
| limit? | integer | max number of members to return (1-1000) | 1 |
The current UE4 cpp documentation is not very complete. I created a free, fully functional DiscordGameSample project including tons of documentation for how to use it.
This project makes it very simple for any dev to use Discord GameSDK.
This PR adds basic info and a link to the repository.
It would be interesting to see a datepicker in the modals
Description
Microphone does not work in background on android devices with Android 13 or higher. In Android 12 or lower works just fine.
Steps to Reproduce
Go on a call or enter a channel, then power off the screen or go to another app with discord in the background and the other person will not hear you, but you can hear them.
Expected Behavior
The microphone should work even though discord is in the background.
Current Behavior
It doesnt work when it's on background...
It would be good if you could also add an audit log for role position updates. Additionally, I think it would be beneficial to include more user information in gateway events. For example, in this event, add the object of the user who modified the guild member. If the user modifies themselves, leave it empty. The audit log already contains this information, and I don't understand why such details are not included...
Hey,
This repo is specifically for bug reports regarding our developer API, and the documentation surrounding it. As such, we do not take reports regarding other areas of the app here.
Feel free to reach out to support, here: https://dis.gd/support
We currently do not support raw IP addresses. Please use a domain name.
snek said he was working on a fix
I disagree with the discord documentation relying on your repository to exist.
third-party repositories should go in the Community Resources page
discord never does ETAs, plus they've claimed having no plans for modals
They have so much money, and they literally just do nothing at all. No new interesting features, client sucks etc.
Description
I have a discord bot (discord.js) with a slash command that takes in an attachment option. Sometimes when I try to use the command and attach a file, the discord app acts as if no file has been attached.
The slash command is as simple as:
const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('sdbattle_submit') .setDescription('submit!') .addAttachmentOption(...
They have so much money, and they literally just do nothing at all.
Understandable frustration from the outside looking in, but I believe that if you worked there you would feel very differently 😅
I would even like one in slash commands
+1 for this. Been waiting for over a year for more options in modals
Thank you both for your comments.
My intent in creating the example repository was to help the community. I spent a few days doing so and making it a complete, functional example that compiles and runs, complete with a lot of documentation and code comments.
If you don't want to link to an external repository, perhaps consider forking the repository into Discord's GitHub such that you are not reliant on a third party. The entire repository is the usage documentation. The high lev...
A similar issue happens for me too.
It was the same for my bot as for OP, but a later update fixed it. But with the fix came a bug when trying to attach an image using CTRL+V. Dragging and image into the image field otherwise works, just not from the clipboard, but it's still an inconvenience. Issue has been ongoing for over a week, happens on two of our household computers:
https://github.com/discord/discord-api-docs/assets/141376657/26d9a58b-5cc2-445b-b3bc-8477049a4183
Using the fol...
Description
Using https://discord.com/developers/docs/resources/guild-template#get-guild-template the guild template object, https://discord.com/developers/docs/resources/guild-template#guild-template-resource, has a field serialized_source_guild, which is a guild object: https://discord.com/developers/docs/resources/guild#guild-object
This object has a field system_channel_id of type snowflake
According to https://discord.com/developers/docs/reference#snowflakes, the API...
bump. This would be great.
Bump!
This functionality would solve several privacy issues.
Mainly for cases of some kind of complaint.
Please keep this issue discussion related to the original post. If you're experiencing a different issue, feel free to open a new issue.
Quoting my previous comment
This character limit also reduces user-friendliness when migrating all existing commands (no character limit) (e.g. /foo, /bar) to be under multiple command groups (character limit: 4000) (/game1 foo, /game1 bar) to accommodate other features due to functionality expansion.
Built-in auto-suggestion also does not work well for the mentioned **/con...
It's been 2 years. They don't care.
This issue may come back as we had to revert the this yesterday.
We will be bringing the fix back, but I wanted to mention it.
To add another use-case: I'm building a bot that allows users to authenticate to GitHub so that they can get server roles based on their GitHub Sponsorship. The user's link to GitHub is independent of any one server, and they may not even have write permission to any server channels without supporter roles, so it happens in DMs with the bot. When they have authenticated, the bot then needs to update the user's role in any servers whose roles are managed by the bot. While it could do this by w...
Description
As of SDK 3.2.1, after setting an Activity, later trying to ClearActivity results in the following internal Discord error:
ResponseError { code: InvalidPayload, message: "child \"activity\" fails because [child \"supported_platforms\" fails because [\"supported_platforms\" must contain at least 1 items]]" }
This error was previously reported in Feb 2021 in the now-retired gamesdk-and-dispatch re...
For now I #ifdefd out the ClearActivity code since it doesn't do anything other than generate an error.
You can see the exact code to repro here:
Description
When we try to add the INVITES_DISABLED feature to a guild which doesn't have the COMMUNITY feature, the Discord API returns an 401: Missing Access.
It is still possible to remove the INVITES_DISABLED if COMMUNITY feature was added before, and then disabled.
Steps to Reproduce
Run the following replacing guild_id with a guild ID, `` with a token, and add any other necessary features:
curl https://discord.com/api/v10/guilds/guild_id
--request PATCH ...
This works for me, POST /guilds/:id/members-search with your discord bot token. Could we see something in the websockets for on member join?
Hey @niridya! I took a look into this, and I believe this isn't a bug and is functioning as expected so I'll be closing this issue. Community servers can have the INVITES_DISABLED guild feature, but friend servers cannot.
Hey @niridya! I took a look into this, and I believe this isn't a bug and is functioning as expected so I'll be closing this issue. Community servers can have the INVITES_DISABLED guild feature, but friend servers cannot.
_Originally posted by @lmle in https://github.com/discord/discord-api-docs/issues/6613#issuecomment-1883720710_
Hey @lmle! Why friend servers cannot have the INVITES_DISABLED feature, while they can have temporary invite lock (Security actions)?
If temporary invite lock (Security actions) are available on all servers, isn't it smarter to allow lifetime lock for all servers too?
Most people would agree that 100 Bot commands is just far too little for complex bots, If you are able to increase the command limit to 200, I'm sure developers and the end user would at the end of the day be left much more satisfied.
Sorry but I need my rights
On Wed, 10 Jan 2024 at 1:01 AM Will Nelson @.***> wrote:
Closed #6614 https://github.com/discord/discord-api-docs/issues/6614 as
not planned.—
Reply to this email directly, view it on GitHub
https://github.com/discord/discord-api-docs/issues/6614#event-11435579729,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFC3B3TSANONTPPFSTBUOQTYNWVZVAVCNFSM6AAAAABBTWAGWSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNF...
Why friend servers cannot have the INVITES_DISABLED feature, while they can have temporary invite lock (Security actions)?
I'm not sure, but I'll reach out to some people who might know and ask if they can respond here with more context
There aren't really any genuine use cases for more than 100 commands, especially since you can have 100 global commands with 25 subcommand groups with 25 sub commands each, totalling 62500. Where you meet other limits before then.
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg
From: Oliver Wilkes @.>
Sent: Tuesday, January 9, 2024 10:53:13 PM
To: discord/discord-api-docs @.>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] Increase bot slash command limit to 200 (Discussion #6615)
There aren't really any genuine use cases for more than 100 commands, especially since you can have 100 global commands with 25 subcommand groups w...
Definitely +1 on this, would love to at least have select menus within modals, it was promised in this link but seems like nothing has happened and that was in May of 2022. Need a dev to respond to at least one of these threads
They have so much money, and they literally just do nothing at all.
Understandable frustration from the outside looking in, but I believe that if you worked there you would feel very differently 😅
Not my problem they have shitty management. Implementing such stuff is easy
I wouldn't say it's easy. But it is certainly possible. I think that's the argument that most of us are making.
I wouldn't say it's easy. But it is certainly possible. I think that's the argument that most of us are making.
No, adding new elements already to the modal is very easy. They either have shit management, shit or lazy Devs
I wouldn't say it's easy. But it is certainly possible. I think that's the argument that most of us are making.
No, adding new elements already to the modal is very easy. They either have shit management, shit or lazy Devs
we all know they're too busy making changes and adding features no one asked for, they've gotta save the actually wanted features for last!
I wouldn't say it's easy. But it is certainly possible. I think that's the argument that most of us are making.
we all know they're too busy making changes and adding features no one asked for, they've gotta save the actually wanted features for last!
I would also love this. Plenty of discussion around bots sending video, but I’m interested in streaming video from a discord channel into a custom client.
I’d love to write a client for my TV to watch a friend streaming in our discord server.
Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns
< 2024/01/07 00:26:11.000412809 length=130 from=394 to=523 01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22 ....z...{"cmd":" 47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50 GET_RELATIONSHIP 53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65 S","data":{"code 22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22 ":4006,"message" 3a 22 4e 6f 74 20 6...
Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns
< 2024/01/07 00:26:11.000412809 length=130 from=394 to=523 01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22 ....z...{"cmd":" 47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50 GET_RELATIONSHIP 53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65 S","data":{"code 22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22 ":4006,"message" 3a 22 4e 6f 74 20 6...
@afgiel Thanks for your help! Did you have a chance to look into the JSON payload?
GET_RELATIONSHIP requires the relationships.read oauth scope
just deployed a fix that should address both issues above. Since newlines are so important to regex, the change should now protect all newlines and no longer lump them in with other whitespace that might get consolidated.
the GameSDK runs unauthenticated and this worked before, so that is a breaking change and completely breaks the gamesdk relationships functionality, especially since that is a private scope and all gamesdk functionality is public.
Just to add to this, the initial report only specifies one snowflake field in the serialized_source_guild as impacted, but it seems like most, if not all, snowflake fields are returning numbers instead of strings.
This behavior is intentional, but it's true that the docs are incorrect here.

