#github-notifications

1 messages · Page 6 of 1

chilly siloBOT
chilly siloBOT
#

No. All data from a user profile should be accessible by bots for review and moderation concerns.
The server I moderate, which is a support server for a software service managed by the company I work for, CONSTANTLY has an influx of scam account pretending to be tech support.
As it stands, right now there is NO WAY for me to detect this user account unless I monitor literally EVERY SINGLE JOIN EVENT which is simply not acceptable.
![image](https://user-images.githubusercontent.com/90...

chilly siloBOT
#

Ephemeral Message Color

It would be nice as visually pleasing whenever interaction is failed, or it took longer than 15 minutes; it would be great if the color tone of ephemeral message is red instead blue — blue is for information — while red is used for errors.

A better visualisation of ephemeral messages, which is changeable!

If we think the sub-title above this sub-title could be a bad idea; then, making users to able to set ephemeral message is highlighting to specific color...

chilly siloBOT
#

The idea that I am here to propose is related to applications. If a developer wants to use emojis in his application, the most common thing is for him to create a private server with the emojis and it can be tedious.

The proposal is to add a section only visible to developers who have a Developer Badge in the user configuration. Through that badge, being able to obtain the application (or applications) that has and being able to add a much higher number of emojis but only available for the...

chilly siloBOT
#

Description

I have a webhook that sends embeds with links in them. Inside the link I usually use escaped brackets like so: [user \[id\]](https://example.com)

The new markdown changes have broken new messages and also previous messages, so that the text shown results in user \[id\] instead of the correct user [id]

Steps to Reproduce

  1. Send webhook with embed containing [foo \[bar\]](https://example.com)

Expected Behavior

The link should show like this: [foo [bar]...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

This is a great idea.

My bot has a feature that runs a game and I would love a slash command button to add to the final winning message to prompt the user to start another game.

Using a regular button interaction can't replace this because the game command may require args as mentioned above, but also because Discord collects slash command usage statistics to display the most popular ones on your bot's Discord profile on desktop, and on your bot's App Directory page if you have one.

Using ...

chilly siloBOT
#

This endpoint does not use json_payload form key.
The docs indicate the 4 required keys to use in the formdata.
Also, all images have thier type included. Not a big thing to pass the type.

form.append('name', `${params.data.options[1]?.value}`);
form.append('desc', `${params.data.options[3]?.value}`);
form.append('tags', `${params.data.options[2]?.value}`);
form.append('file', new Blob([newBuffer], { type: `${type}` }), `${sticker.filename}`);
chilly siloBOT
chilly siloBOT
#

This should help:
toBase64 gets an image from url, in this case the url from the attachment I used.
Returns a string simliar to: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH4AAACACAYAAADN
I split off the content and create a buffer. <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 7e 00 00 00 80 0
This buffer matches what you would get from reading a file using FS. (file contents)
The buffer then gets put to the blob with its type. ( type = sticker.con...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When saving the following regex to an automod rule:
([^A-z~!#$%&*()+@0-9-={}|;':\u{22},./<>?\n ‘’“”§×•÷√△£¢€¥°✓\[\]][\s\S]*){3}
The API returns the following:

{"message": "Regex validation service unavailable. Please try again later.", "code": 200002}

Steps to Reproduce

Save the regex pattern to an automod rule, can be done through either the API or the client

Expected Behavior

The rule to save correctly

Current Behavior

503 Service Unavai...

chilly siloBOT
chilly siloBOT
#

After a bit of discussion in DDevs, it would appear there are new validation requirements for markdown links within embeds that will not be rolled back. I'm requesting documentation for this new behavior. Markdown is generally agnostic to the content (title) and link in [content](link) so it's necessary for Discord to communicate what restrictions it places on these and where in order to prevent confusion.

Gotten any news as too what the restrictions are?

chilly siloBOT
#

Hey @sportshead! You actually don't need to escape the characters in your example. You should be able to send [foo [bar]](https://example.com) (instead of [foo \[bar\]](https://example.com)), which would get displayed as foo [bar].

Yeah, I can tell that's how this new behavior works. My issue is that this isn't backwards compatible - I'd like the embeds already sent to still display as they did before.

chilly siloBOT
chilly siloBOT
#

Description

The new markdown changes appear to have broken existing link previews for bots that use the existing (bot-only) link format [Click me](https://example.com "I am a link preview").
I was told to make a new issue in #6138 and personally I think this belongs here as its bot-only functionality instead of general client functionality for the user.

Steps to Reproduce

Send any embed with a link using format [Click me](https://example.com "I am a link preview")

Expecte...

#

Thank you for the response @DV8FromTheWorld, and sorry about #6144, my browser didn't load your comment when I made it, then I came back to this issue in a new tab and it loaded :(.

I completely understand that, security was actually what I was using the previews for (to display the URL they would link to). Is it at all possible to just have the previews be ignored and links rendered as if they didn't exist? As it stands all previously sent embeds (going back months or years) now just disp...

chilly siloBOT
#

Description

When I try to open a WebSocket connection to wss://gateway.discord.gg (the URL I get from the Gateway Bot REST endpoint) via the standard new WebSocket() client, I immediately get an error event that says:

Failed to establish the WebSocket connection: expected server to reply with HTTP status code 101 (switching protocols), but received 401 instead.

401 is of course UNAUTHORIZED, but IIUC, opening the Gateway WS connection doesn't require any authorization. The bo...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Yoo, thanks for reporting this. What strings would trigger this regex?

The regex should match strings with 3 characters that aren't included in the following:
A-z~!#$%&*()+@0-9-={}|;':",./<>?\n ‘’“”§×•÷√△£¢€¥°✓[]

Also, with further testing, it seems that it's a combination of two regexes,
(<a?:[a-z_]+:[0-9]+>[\s\S]*){3} (3 emojis) or the aforementioned regex
Here's a full payload:

{
  "id": "1105649123039907970",
  "name": "Block Custom Words 5",
  "guild_id": "605...
chilly siloBOT
chilly siloBOT
#

Might I add: not allowing bots to access the endpoint fails to stop malicious users from accessing it, because, not being afraid of breaking the ToS, they will just create a bunch of alts and selfbot the endpoint.

Also, if you are someone that actually uses discord privately, and only ever joins private servers with their IRL friends, then chances are that message history is far more sensitive than the about me section.

If the discord team doesn't want to let bots access the endpoint ...

chilly siloBOT
#

Description

From testing, this endpoint only seems to require the id field, while the other three (position, lock_permissions and parent_id) are optional.
However, those are not documented as such, which has led some libraries to implement it incorrectly and thus produce 400's when updating channels (e.g. the API disallows setting parent_id for multiple channels at once).[^1]

[^1]: See k...

chilly siloBOT
chilly siloBOT
#

Description

Links with hovertext where the hovertext value is the same as the hyperlink value are not being rendered on mobile.

This is a change in behavior from how these links used to work.

NOTE: This may be related to #6088, but am calling it out separately due to the difference in rendering of links between mobile and desktop.

Steps to Reproduce

  1. Create a message from the following embed:
{
  "title": "Reproduce markdown bug (hyper link hovertext)",
...
chilly siloBOT
chilly siloBOT
#

Makes more sense to add comments to existing already opened issues rather than opening a new one just because it's a tiny variation.

Not if those issues are already closed as non-issue/won't fix.
In this case there is a behavior difference between Mobile and Desktop, so something is clearly broken.

The team can make the determination about whether it should be rolled in or not.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I'm guessing the reason the Markdown renderer no longer allows using a hyperlink as the "hover text" value is for security, as you could trick users into thinking the link points to one thing when it really points to another.

If this is the case, it would be preferable during on-hover that Discord would display the underlying hyperlink, where currently it just uses the same value as the display text.

Showing the same value as the display text is not helpful to the user; showing the UR...

chilly siloBOT
chilly siloBOT
#

I have a server with 26 integrations and I'm unable to use slash commands for some of the bots because not all of them show up due to the sheer number of them. Many bots share commands, like "help" and having everything forced to the same prefix of / is causing problems and it's honestly frustrating. Having custom prefixes prevented this. Could more types of commands be available to resolve this? So commands that start with ! and ? or whatever else, but still work without message intent like ...

chilly siloBOT
chilly siloBOT
#

Hey again Grady! Yeah - due to a layered security approach, we've intentionally prevented CF workers from connecting to our Gateway sockets. I'll try to see if we can update our documentation to include this information. Thank you for taking the time to report this issue, and sorry for the inconvenience around this!

chilly siloBOT
chilly siloBOT
#

Description

While playing around with the raw websocket API, we noticed that if we followed the example in the documentation for the identify command that it leads to a request that doesn't work. The connection is silently terminated with no error explanation.

What we found is that if we follow the example and use intents: 7, this fails. We tried intents: 512 and it works.

    // This intent...
chilly siloBOT
#

While I understand the change it is an unnecessary "fix". The #'s is what was unique and kept people from getting added by people they don't know and aren't in servers with which is allowing more cyberbullying, predators and hackers to find more people easier and it limits many people's abilities to have freedom and be able to create a username that they want. People are able to now get a username they want even if other people have it because of the discriminators which allow more people to ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Would be very useful if I could use the api auto kick people like this guy before they cause harm. Earlier today this guy stream porn in one of my channels. Would've been very preventable incident if we had api access to the about me.

<img width="345" alt="Screenshot 2023-05-13 at 7 55 58 PM" src="https://github.com/discord/discord-api-docs/assets/44308312/30445d0a-e679-4e07-8ef3-736d8b4e1369">

chilly siloBOT
#

Description

I have been facing a problem that has been makiing me annoyed this problem is that there are no servers that i can add in support server therefore i would like to ask you to check it out if there are any problems or is it just me whose bot is bad or im doing doing something wrong please kindly respond
image

Steps to Reproduce

I got a message that says that says claim...

chilly siloBOT
chilly siloBOT
#

Description

Hi! i code bots using discord.js v14.11.0. My bot works well after starting, however, after 5-7 hours it is slow as hell. Nothing works well, it answers after 20seconds. i have to restart it to work well again. I asked in the djs server but got ignored, and idk what to do anymore.

Steps to Reproduce

I'm not sure what can i put here, there are no errors in console whatsoever so idk what causes it.

Expected Behavior

The bot to work fast and well.

Current Behavi...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When unpublishing a Guild Webpage, the "GUILD_WEB_PAGE_VANITY_URL" is not removed from the guild. This issue, linked with #6085 can cause you to lose the vanity for a server, as the grace period is not active when webpage is enabled.

Steps to Reproduce

On a guild with webpage enabled:

  1. PATCH /api/v9/guilds/:guildId/discovery-metadata with {..., "is_published": false}
  2. GET the Guild, observe how the GUILD_WEB_PAGE_VANITY_URL feature persists.

Expected Beha...

chilly siloBOT
#

Currently, the only way to validate the value of a modal text input is by setting minimum and maximum character limits. This limited validation capability has discouraged me from using modals. However, I suggest that additional validation options, similar to those used in slash commands, be added. This would allow for fields to be restricted to certain data types, such as numbers, booleans, integers, and more. For instance, boolean inputs could be represented using checkboxes, while choice in...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

This boils down to replicate the tenor & giphy in-built command behavior.
You type in a query and the application can dynamically return a list of attachments the user can pick from.

I assume the current implementation of the tenor / giphy commands are pretty stiff, considering the way they work is to display the list of attachments and once you choose a picture, it immediately submits the command and you cannot use them at all on mobile..
which might mean that it's quite hard / impossib...

chilly siloBOT
chilly siloBOT
#

This issue still affects masked protocol links. For example, [Authorized Apps](discord://app/authorized-apps) previously worked but does not anymore, even in interaction responses and embeds.

If they aren't going to fix protocol link hyperlinks in bot embeds, they should at least make them render as plain text so existing messages don't continue to be broken, instead of failing altogether.

chilly siloBOT
#

Description

Basically im from my phone device on call and when he uses soundboard i get kicked from call and i join automatically again call, look at the video i got

Steps to Reproduce

i dont understand

Expected Behavior

i dont understand

Current Behavior

i dont understand

Screenshots/Videos

https://cdn.discordapp.com/attachments/812057439901712444/1107712069387690084/RPReplay_Final1684030050.mov

Client and System Information

Stable 198192 (4b4afd8) Host 1...

chilly siloBOT
#

Description

When using the iOS discord application with browser set to "In App Browser", clicking a oauth2 link correctly shows a dialogue that asks me to authorize, but on confirming authorization, the redirect uri opens the browser for about 1 second before the browser closes itself and appears to crash. Visiting a plain link without a redirect_uri works, but it seems that when the redirect_uri is invoked that the in app browser crashes.

Steps to Reproduce

https://discord.com...

chilly siloBOT
#

For example, opening context menu by right-clicking message author in channel would include message_id

But opening menu from member list or mention would not include it (current behavior)

End users often don't really know the difference between the two, so it would be helpful for example, for reporting bots to be able to know the source message that user has been reported ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I also noticed this is an issue with GC's too, I often like to add people to a GC but when someone I add spams stuff we don't like or isn't acceptable, I have to delete the GC so we aren't associated with it. When I leave a GC and I am the last member to leave. Why aren't the attachments deleted? It also makes me concerned that the messages aren't deleted too, when obviously it makes sense to think that they should be when noone is left in there.

chilly siloBOT
#

why?

The tl;dr is security patches because now users can use masked links. Though I think it's more a matter of whitelisting as opposed to blacklisting, so steam:// may be something Discord is willing to allow.

Discord's probably not going to share any deets at all about what their validation is, particularly since it's been in flux since the change first occurred. There was an issue about it here: https://github.com/discord/discord-api-docs/issues/6088 with some back-and-forth, but...

chilly siloBOT
#

Description

Even if a bot have the READ_MESSAGE_HISTORY permission disabled, it can still read the message history on channels unless the READ_MESSAGE_HISTORY is explicitly specified in each channel.
If the channels doesn't overwrite the READ_MESSAGE_HISTORY permission and instead defaults to each user permissions, a bot can read the message history of a server, even the messages that were sent before the bot joined.

Steps to Reproduce

  1. Create a bot with no permissions.
    2...
#

Description

Hello everyone, I'm currently experiencing an issue while trying to update my bot's status through the API by sending an HTTP request directly to the API. Unfortunately, whenever I send the request, I receive a response with a status code of 403. I want to clarify that I have provided the correct token, and I'm certain that it is accurate. Additionally, the bot has all the necessary permissions required for this operation. Despite this, I'm still facing the 403 error

Ste...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

sticker object for a guild sticker is returning guild ID in pack_id field in sticker object rather than in guild_id field. This is absurd breaking change.
Endpoint: GET /stickers/:id

Steps to Reproduce

Try fetching GET /stickers/:id with a guild sticker ID and check the payload object and match the guild_id with what API returns for pack_id field value.

Expected Behavior

The payload object has guild_id field with the ID of the guild sticker is from.

...

chilly siloBOT
chilly siloBOT
#

Description

If you send a message with a leading minus sign on a new line, it turns into a bullet point.

I assume it's done on purpose, to make some nice formatted lists, but it breaks old behavior. You can mitigate it by adding a backslash to the minus "-", but that requires a code change.

Steps to Reproduce

Send a message starting with a minus sign, e.g. "- test".

Expected Behavior

Output: "- test"

Current Behavior

Output: "• test"

Screenshots/Videos

_No res...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

what will happen to old version of Discord apps which was released before API v8 was released which supports Android 4.1+. will they stop working? and also I prefer old version of Discord PC client used in 2019 (it doesn't mean client modification, official old version) it uses API v6 and if I make a proxy server which forwards API v6 requests to v8 the client crashes when viewing guild member profile and inline replies don't show at all because API v8 has a message type 19 while v6 has type 0

#

The decommission was getting rid of a lot of selfbots

self-bots are possible in API v8/v9 (I didn't try tho) & also the last version of Discord app that supports Android 4.1-4.4 is 9.x.x which uses API v6

stopping to support outdated and unmaintained applications

Discord app that supports Android 4.1-4.4 is 9.x.x which uses API v6 & there is no problem in basic usages of Discord like sending/receiving messages and doing voice calls. I do know that it doesn't support new features tho

#
  • the existence of old API versions doesn't even create issues to most of the other users/developers v6 is working just fine & just not adding newer Discord features like threads is only supported in API v9+ so discord devs didn't need to spend unnecessary time to implement threads on API v6. if you want newer discord features in the API using newer API version is enough without sending v6 to heaven (because it takes unnecessary times adding or fixing newer features on v6) & breaking old but ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

It is currently possible to send select menus with options that have no label set. The UI for this seems rather unintended and this also affects screen-readers negatively.

Steps to Reproduce

Send a select menu with options that have an emoji set and an empty label.

Expected Behavior

This should be an API error or the client should handle this more gracefully.

Current Behavior

Strange UI padding and oddly empty options.

Screenshots/Videos

Here are s...

chilly siloBOT
#

I'm currently working on a Discord bot which mainly uses role connections to function. Many people don't know how to properly set it up (or use it) and I'd like to add a /setup command.
Issue is, bots can't read/write to role links, which makes it harded to smooth out the setup process.

My suggestion is: include a links array for each role

GET /guilds/123/roles
[
    {
        "id": "456",
        "name": "example role",
        "color": 11537257,
        "hoist": fa...
chilly siloBOT
chilly siloBOT
#

Description

As of some time between 5:17 PM EST and 8:29 PM EST on Friday, May 19th, slash command image embeds seem to have stopped working. The

Steps to Reproduce

Send a slash command response with an Embed object containing an image URL or thumbnail URL.

Expected Behavior

Discord will display the image or thumbnail for the provided embed URL

Current Behavior

No image is displayed, despite the image URL being returned in the API response for the slash command respons...

chilly siloBOT
#

But for some odd reason, interactions.py == 4.3.4 able to send the embed with images. Asked the contributor of package, it seem they also confused

To note: I honestly don't think this has to do with the specific version, just some weird stuff going on in general. I was able to confirm 4.3.4 also has this issue. Note that followup posts do not have this issue - in 4.3.4, sending after a defer did a followup, while in v5+, it does an edit instead.

In fact, once the image is successf...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When using the Bulk Delete Messages endpoint I get a 204 response but the messages still persist. The messages are less than 2 weeks old.

Steps to Reproduce

curl https://discord.com/api/v10/channels/CHANNEL_ID/messages/bulk-delete -i -H 'Content-Type: application/json' -H 'User-Agent: DiscordBot' -H 'Authorization: Bot BOT_TOKEN' -d '{"messages":["MESSAGE_ID_1","MESSAGE_ID_2", "MESSAGE_ID...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I would like to suggest an idea, namely to enable server administrators to edit messages on the discord forum. Example: Participant (A) created a post with links to some interesting site, but the site changed its domain name and the link that was specified stopped working. Administrator/The moderator also wanted to change the link to a new one, but he did not succeed because there is no way to edit someone else's message (the main post) on the forum, there are functions to delete / close the ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Moving from defer -> modify to defer -> followup seems to fix this as a workaround for my bot as well (Discord.NET)

Seems to be an issue specifically around the modify original message call when adding an embed with images.

This fix did not initially work for me with image url in content and a text-only embed underneath it. After removing the embed and switching to a followup, images appear again.

chilly siloBOT
#

Description

There are several issues:

  • When deleting an active mention rule the api returns 404: Not found.
  • When deleting a disabled rule, the api returns 204, but the rule is immediately recreated. The gateway sends a rule delete event but not a create event.

Steps to Reproduce

  • Enable community in a guild
  • Go to Safety Setup -> AutoMod
  • Try to delete the rule by right-clicking -> "Delete rule"
  • A "404: Not found" popup will appear.

  • Disable the rule
    ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Its truley a discord moment just after the latest update, even before even using the slash commands or prefixes, when putting the website image url in the chat, i get , poor image, even though i open it in website loads fine, shows that the issue is due to discord api not the server i am loading the image from though
so the issue is not just slash commands, its even the websites attachment does not display after update even before using prefix or interaction
example used

https://ap...
chilly siloBOT
#

I have a bot that responds to an interaction with { content: imageUrl }, but it shows the URL instead of the image in the Discord chat. However, if I manually copy and paste the same URL in the chat, Discord will display the image. Interestingly, if my bot tries again now, the image will also be displayed correctly.

It is almost the same with embeds, except that initially it shows an empty embed without the url

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I have also noticed that when a bot is used to delete messages, none of those are ever in the audit logs either.
I am here for this, why is it that when bot deletes messages that is not theirs, it won't show up in the audit logs?
This is really bad if let say the admin invited malicious bot and has been deleting messages randomly and there is no way to trace back unless having a bot to watch for MessageDelete which is really counter-intuitive and not all admins on the platform are aware o...

chilly siloBOT
#

Hello,

eSound developers here (https://esound.app/).

We kindly ask Discord for the possibility of having access to the same APIs Spotify is leveraging for the Discord Rich presence and other features so that we can satisfy our user's request of having the same features which Spotify currently has and we cannot due to a special treatment for Spotify only.

In particular for the Rich Presence and other features we want to build something identical on what only Spotify currently has. Is ...

chilly siloBOT
#

Description

Hi,

I'm using the Game SDK 3.2.1 on Linux in Unreal Engine 4.27 with the Toolchain v19 (clang-11.0.1-based). When compiling the game I'm getting the following linker errors:

discord_game_sdk.so: undefined reference to powf@GLIBC_2.27 [--no-allow-shlib-undefined]
discord_game_sdk.so: undefined reference to exp2f@GLIBC_2.27 [--no-allow-shlib-undefined]

Is there any way to fix this ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Sorry for the delay here.

I don't know if these updates add much clarification—I'm happy to address certain points of feedback around these docs if you have them, but most of the wording updates make it a bit harder to understand when reading or add unnecessary context. If you still want these changes added, it may be helpful to break it up into separate PRs that are focused on specific improvements.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The first

In my opinion, having one exception doesn't really justify having an additional column given how little information it actually conveys. To me it felt rather over the top, I can see your point too, however, so I'd be open to further modifications (like putting the limitation in the description) / a revert there, depending on the consensus of a few additional opinions.
This wasn't the main point of my PR anyway but rather something that felt odd to me, when comparing the applic...

chilly siloBOT
chilly siloBOT
#

Description

Hello. I am facing a fairly unpleasant problem.

Starting the session and specifying intents via identify packet of the gateway. All is ok initially and intents work as intended.
The gateway periodically asks for reconnect and the client resumes the session successfully. Nothing special here too.
But after some unidentified period of time (usually a long time, it may be months of uptime), the session suddenly breaks.

It seems like after eventual resume, the ini...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The current state of these extended markdown features is effectively as follows:

  1. We have rolled out support for Headers and Lists to all servers as part of an experiment. We are letting that rest and are patching issues as we see them.
  2. We have not rolled out masked links for general messages to users. It is unclear if/when we will do this.
  3. We have made changes to masked links across the entire ecosystem based on security vulnerabilities found
    1. This includes restricting ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Recently, Discord made some changes to the HTTP header called "XRobotsTag." These changes have caused Discord invite links to disappear from search engine results, such as Google. Many Discord invite links have been removed from Google's index in the past week because the new XRobotsTag blocks search engines from crawling Discord invite links.

Although some Discord Invite links are still indexed on Google, the member count displayed on the search results page is not updati...

chilly siloBOT
#

Description

My discord bot send a url to channel. This url is a image. It will show the image preview in the channle before, but it can't show preview now.
I don't change my bot code.
Do you fix api?

Steps to Reproduce

.

Expected Behavior

show the image's preview in the channel

Current Behavior

only show image url in the channel

Screenshots/Videos

No response

Client and System Information

api :v8

chilly siloBOT
chilly siloBOT
#

Description

What I'm trying to do: I'm using discord.py to display an image inside of the embed with a button attached. Whenever the button is clicked, a function is called which is responsible for creating a new image, then a new embed is created to display the new image. Then the message is edited to replace the old embed with the newly created one to display the new image.

The code I'm using:

  • The function responsible for sending the message with the first embed:
    ...
chilly siloBOT
chilly siloBOT
#

Currently, it is very hard to get an overview of all bots in a server. Sometimes they are grouped in a role to display in the members list, but more often this is not the case.
What I imagine of a new entry in the server dropdown (where you can leave a server) is that you have an overview of all bots with their description and especially direct links to their ToS and PP to reduce the massive workload that is currently needed to gather this information.

chilly siloBOT
#

Description

Prior to these recent API changes, you could escape asterisks in a masked link. It seems that is no longer the case.

Steps to Reproduce

You can reproduce this by attempting to escape asterisks from a masked link like so:

[\*Test\*](https://www.google.come)

Expected Behavior

It is expected that asterisks can be wrapped in a link.

Current Behavior

You cannot wrap asterisks in a link.

Screenshots/Videos

Client and System Information

MacOS Ve...

chilly siloBOT
#

Currently, it is very hard to get an overview of all bots in a server. Sometimes they are grouped in a role to display in the members list, but more often this is not the case.
What I imagine of a new entry in the server dropdown (where you can leave a server) is that you have an overview of all bots with their description and especially direct links to their ToS and PP to reduce the massive workload that is currently needed to gather this information.

chilly siloBOT
chilly siloBOT
#

Description

Members who haven't passed the membership screening are able to interact with message components on the mobile version of Discord, while they are correctly disabled on desktop and web versions.

Steps to Reproduce

  • Have or create a guild
  • Send a button component in a channel which everyone can see
  • Have membership screening enabled
  • Join with an alt account
  • Observe behavior on desktop & mobile

Expected Behavior

On all devices and versions, pending membe...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Embeds belonging to interactions such as slash commands frequently do not have their contents indexed for search. This does not effect embeds produced by sending a message in a channel, only embeds in interaction responses.

Steps to Reproduce

  • Use a slash command that directly responds with an embed multiple times in a row, such as 10 times (for testing purposes to show how multiple embeds are not indexed. not necessary in practical application. still applies to intera...
chilly siloBOT
chilly siloBOT
#

Description

Myself and many other developers are running into with a common issue with existing bots and brand new bots on new accounts.

Everyone is being rate limited and cannot deploy new commands.

DiscordAPIError[30034]: Max number of daily application command creates has been reached (200)
    at SequentialHandler.runRequest (C:\Users\lost_\Documents\discord_bot\CaeChron\node_modules\@discordjs\rest\dist\index.js:933:15)
    at process.processTicksAndRejections (node:int...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Sending numbered lists in embed descriptions with numbers greater than 50 are not being rendered correctly in both Mobile Android Client and PC Client.

Attached below, I have a screenshot of an instance where I send a list of numbers in the format #. Text\n, and I have confirmed that this bug exists for any number > 50. The first 50 will list correctly, however any number greater than 50 will always be rendered starting at 50. However, bolding the numbers will prevent t...

chilly siloBOT
#

Description

As of recently, unverified bots now have the "Apply for Privileged Intents" box. This did not occur. Unverified bots can still flip the switches freely.

Steps to Reproduce

  1. Go to an unverified bot's page.
  2. Notice the obvious.

Expected Behavior

The apply box would not be displayed.

Current Behavior

The apply box would is displayed.

Screenshots/Videos

![image](https://github.com/discord/discord-api-docs/assets/76600137/2dcd018f-ef40-4de8-b379-2153...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The current application command format is (in my opinion), annoying to use and excessively verbose.

The current format

`` is not a great format for the following reasons:

  1. Getting a command id to construct a mention is rather annoying as it is not as static as mentioning a user or channel, you have to find the command id in internal state.
  2. The name part completely ignores localisation. I have tested `` which has a localisation of color for en-US, yet switching to `Englis...
chilly siloBOT
#

haven't been able to repro this unfortunately. There are some roles that are managed and can't be deleted, like the role that is assigned to users that boost the server. But attempting to remove these is supposed to return a 403 and not 200's like you mentioned. Is there any additional info or maybe a test server with example roles setup that I could look at where I can repro the issue?

chilly siloBOT
chilly siloBOT
#

I have been testing a few things with discord webhooks. Would it be possible to support base64 encoded images in multipart/form-data? This would really help speed up some of the development goals I have. Thanks for considering.
If this is already possible I would love to know more. In my testing this didn't work and I couldn't find this in the documentation.

--boundary
Content-Disposition: form-data; name="files[0]"; filename="myfilename.png"
Content-Type: image/png

[base64 string]

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Hey there=)

I would like to send little video clips with discord...

While in chat:
-Press the + Button
-Goto Camera tab
-Click on Video (currently missing)
-Record

Result:
-Discord records up to 8mb video and posts it
(video is automatically compressed within discord in an internal handbrake style process taking place between the recording and posting of said freshly recorded video via discord chat)

Thanks for your consideration and feedback=)
(And everything else;) )

W...

chilly siloBOT
chilly siloBOT
#

While using webhook api for a project I noticed that the styling was not lining up with the same post of what a bot/user would post. The title field on the embed was wrapping well before the end of the embed due to a styling added of min-width: 0; I would like to see embeds for webhooks match the output of what a bot/user is able to output as this styling for the embed using a webhook is not pretty at all.

Original Webhook Output: https://media.discordapp.net/attachments/76137108893191374...

chilly siloBOT
#

Description

When posting an embed through a webhook, the title field is wrapping well before the edge of the container where it meets the thumbnail. This is being caused by a styling of "min-width: 0; " on the embedTitle-2n1pEb class.

Steps to Reproduce

`{
"content":"@everyone HyFlicker is now live! https://twitch.tv/hyflicker",
"embeds" : [
{
"color": 5793266,
"author":{
"name" : "HyFlicker",
"url" : "...

chilly siloBOT
#

Description

It is not possible to set someone's nickname to their username. With display names, if a user has no nickname on the server, the display name is shown as if it were a nickname.

This leads to an interesting issue where if nickname perms can effectively be bypassed.

Steps to Reproduce

  1. Create server, remove change nickname perms from @everyone
  2. Create/update alt with username of choice, for example, User
  3. Set alt display name to desired display name, e.g. ...
#

This impacts one of the servers I manage, a partnered server who utilizes a bot to synchronize member's names with their in game name for the game the community is based around.

If a user's Discord username matches their IGN, their display name is now shown, allowing them to effectively override the IGN as display name enforcement. As the synchronization is automatic, creative solutions aren't able to work. We are exploring updating the bot to workaround this by adding extra content to mak...

chilly siloBOT
#

Description

Requesting dm_channels.read as a scope results in invalid_scope error

Steps to Reproduce

Use the oauth2 auth code with the dm_channels.read scope (with or without other scopes) results in an error 100% of the time.

Expected Behavior

The authorize flow completes correctly or the API is updated to inform the user that this is not a valid scope (the url builder produced the url that is failing)

Current Behavior

Instead of a token, an error is returned cla...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Voice messages are not being able to be recieved in dms, and it's a recurring issue even after clearing cache or data.. rather than showing the voice message it shows a "something went wrong here" message on android discord app, but works fine in the desktop app.

Steps to Reproduce

Record a voice message and send it in dms, on receiving the voice message on android discord app, an error is shown and voice message can not be accessed

Expected Behavior

The voice me...

chilly siloBOT
chilly siloBOT
#

Description

My discord channel not receiving a worflow events sent by github webhook. These events are sucessfully sent with response status code 204, but my channel don't received it.

Steps to Reproduce

Here is one of requests send by github for worflow_run.completed event:

HEADERS:

Request URL: https://discord.com/api/webhooks/1114528013481169008/jv_XKVg0d5vcQ58sZ6AbUNAqGKwPEPSccPGn9ytCKiET1Fj7e3xq1RDCv4Vt0SWzempA/github
Request method: POST
Accept: */*
content-type:...
chilly siloBOT
#

When receiving an interaction via a gateway event, you respond to it using an HTTP request to Create Interaction Response, which allows you to upload files.

However, when responding to interactions received via an HTTP request by Discord, it is apparently not possible, currently, to upload files in response. In contrast to Create Interaction Response, you cannot respond with `multip...

chilly siloBOT
chilly siloBOT
#

As the title say, make a "game asset" or "bot asset" that allows bots that have custom emojis (and alot of them, not just 50, not emojis for fun but emojis for actual items icons etc for the game bot), even if only those bots can use them.

I am making a creature-taming bot game on Discord and I am having custom emotes issues, as I try to make each creatures icons and item icons as emotes, I am forced to create useless servers, make my bot join them, just so that the bot (and I emphasize th...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Discord,

We've switched our site hosting service to Hostinger's VPS and since then, our site, https://arclightbase.com/, has lost it's message embeds. We've ran down the list of issues that might cause this issue, including...

  1. OpenGraph tags being broken. We've ruled that out by using OG checkers and a temporary hosting service to make sure embeds display
  2. SSL chains now working properly. Using SSLLabs we've ruled out our chains not behaving as they should be
  3. ...
chilly siloBOT
chilly siloBOT
#

Description

The X-Signature-Timestamp header seems to be a handy way to discourage replay attacks and make old signatures worthless after enough time has passed. I'd love to verify that the timestamp is within an acceptably recent duration to prevent an old signature from passing verification again now. However, there doesn't seem to be any description of how to use it. What's a good duration after which to declare a timestamp too old? What format should I expect to receive the timestamp...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I was trying to do something funny with the Discord Gateway and I received this weird event


{"t":"SESSIONS_REPLACE","s":2,"op":0,"d":[{"status":"invisible","session_id":"session id here","client_info":{"version":0,"os":"other","client":"web"},"activities":[]}]}

It is not documented on the official Discord API. I have been searching for this event and I have found nothing. I think I might be the first person to notice about it?

No

chilly siloBOT
#

Hello, person who made this event many years ago here.

As others have mentioned, this is a user specific dispatch event, and not received by bots, and only user accounts (which means you are probably using a user token to connect to the gateway I assume via unofficial means.) I would avoid doing that as it could lead to our systems flagging, and potentially disabling the account.

For those who are however curious, SESSIONS_REPLACE essentially sends an update to your client of your other...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

**Description: **
when writing in short type of text input inside the modal it gives some events to the bot like normal auto complete and gives us the auto complete choices.
(normal autoComplete but inside Interaction Modal Components not Slash Command Interaction)

**Why? **
this is very helpful
for example:
searching when writing in the short text input and show some suggestions when writing and grammar fixes.
or
writing and search for some data and select one of the choices f...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Are you using a particular library for these connections? Can you show us some sample code?

It is a custom implementation, example can be seen here.

No one else has reported this, and the behavior youre describing does not seem possible, so any information you can give us might help debug.

I know, such behavior may seem very strange. And considering that particular conditions are unknown, it is impossible...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I have a bot in Discord.js V14. Since I turned it on about 3 weeks ago it worked perfectly but since about 3 or 4 days ago it takes a long time to respond to messages.

The bot receives the interaction/message/reaction almost instantly and processes and responds in just a couple of ms, but from the time the bot sends the reply/deferReply until it is displayed in the discord app it takes almost 2 seconds. I have more bots on the server (not mine) and they all work normally e...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Im not able to reproduce this. My command handling code is copy/pasted straight from https://discordjs.guide/creating-your-bot/command-handling.html#command-categories and my command handler looks like this:

module.exports = {
    data: new SlashCommandBuilder()
        .setName('ping')
        .setDescription('Replies with Pong!'),
    async execute(interaction) {
        await interaction.deferReply();
        const reply = await interaction.fetchReply();
        const ping =...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

The GitHub avatar in embeds is no longer present. Even previous messages no longer have them render.

Steps to Reproduce

  1. Set up a GitHub webhook
  2. Invoke an action with a user associated (push, star, issue, ...)
  3. Observe no author icon is present

Expected Behavior

The user's GitHub avatar would be present in the embed "author" icon.

Current Behavior

That is somehow missing.

Screenshots/Videos

![image](https://github.com/discord/discord-api-docs/...

chilly siloBOT
#

Description

When you try to enforce usernames in a guild by changing the nickname of a member to the username, the API instead sets the nick to null.

This username check might have made sense prior to global names being added, but since the nickname now overrides the global name, you should be able to set it to the username.

Steps to Reproduce

  1. Change the global name to something other than the username
  2. Set the nick of the member to the username

Expected Behavior

The...

chilly siloBOT
#

Hi, is the default avatar changing for all users or just those with this new username system? This PR seems to contradict itself on this and I didn't get a response in DDevs :(

for the ones with the new username.
if you try the way for ones with discrim, the generated avatar differs from the one in the client.

so if user has discrim: discrim % 5
if user has new username: (id >> 22) % 5

Now it is (id >> 22) % 6 because of the new pink default profile picture

chilly siloBOT
#

@hemu

I think you can do the following to reproduce:

I'm not sure if this happens every time, but a coworker was able to replicate like this within a few minutes of trying. Good luck!

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Lets you have a multi-purpose bot with a ton of features/categories, but a certain guild only needs one feature. It would be useful for them to be able to hide the remaining commands they don't need to avoid clutter in the slash menu. This was recommended by one of my bot users, and I agree this would be helpful. As of right now, you can hide them from other members, but there's no option for server admins to hide them from themselves.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Github can view STL files, it would be cool if discord could too.
Please let STL file have a preview in the future (I don't really care about the other file types, just stl)
For 3d printing of course, not for furry erp.

thank you,
GameIsRigged

chilly siloBOT
#

Bu şimdi daha sık oluyor. Günde yaklaşık 20+ kez. Botum, toplam 127k Kullanıcı ile 41 Sunucuda . Esas olarak benim için showModal'da ve bazen de ApplicationCommand'da oluyor . showModal durumunda, hata atılsa bile, modal yine de son kullanıcıya gönderilir. Ancak, ApplicationCommand durumunda, tüm yanıtta doğrudan hata yapar.************

Yea I try fix it I change my host service but it doesnt care...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

@seailz mind commenting with why you added a thumbs down? If you have something that goes against the information in this PR, it'd be better to tell us about it.

If you think this field isn't present on all Guild Audit Log Entry Create events (in my experience, it is), then please let me know and I'll close the PR.

iirc, there was a line in the gateway events doc that said all guild-related events have a guild_id param

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

The official Getting Started guide appears to be out of date and completely non-functional. Following the steps to the letter gets the user stuck at the token generation step, since it's never explicitly stated that the user needs to reset their token to actually get one.

But even worse, the Glitch site is extremely unreliable. I've tried 2 browsers, a cache clear, and a restart, but it refuses to load the project that should be pulled up from the remix link.

The guide ...

chilly siloBOT
#

Description

The ETF gateway leaks a Guild.Models.IncidentsData struct under the incidents_data key causing Elixir's built-in enumeration to raise.
This field does not seem to be documented in the API so I believe this is a bug. See https://github.com/Kraigie/nostrum/issues/511

Steps to Reproduce

Currently unclear, I assume this field is sent as part of a GUILD_UPDATE or a new undocumented event.

A similar issue can be found at #4196.

Expected Behavior

No `:_struct...

chilly siloBOT
#

Unfortunately, Nextcord (Discord.PY) does not currently provide a built-in method to retrieve this universal display name directly. The available display_name property of the nextcord.User object returns the user's display name based on the current server context, which can be problematic, especially if the display name contains emojis. This affects images, for example.
So it would be very nice if you could add this permanently to make the universal display names usable!

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#
A `GUILD_MEDIA` (type `16`) channel is similar to a `GUILD_FORUM` channel in that only threads can be created in them. Unless otherwise noted, threads in media channels behave in the same way as in forum channel - meaning they use the same endpoints and receive the same Gateway events. More information about media channels and how they appear in Discord can be found in the [media channels Help Center Article](https://creator-support.discord.com/hc/en-us/articles/14346342766743)...
chilly siloBOT
chilly siloBOT
#

Description

When creating a new tag/release on a GitHub repository and sending the event to a Discord Webhook, if the version includes dots it will have a backslash in front.

It may occur with some other characters, haven't tested. It also wasn't the case before, it may be coming with those backslashes from GitHub - haven't checked.

Steps to Reproduce

  1. Create a GitHub repository
  2. Create a webhook
  3. Copy the webhook URL, add /github at the end and set in your repositor...
chilly siloBOT
chilly siloBOT
#

Description

The GitHub webhook system escapes (, ), - and many more symbols, which then display the prefixed \ in the ending output.

Steps to Reproduce

  • Create a GitHub webhook
  • Run a check with - in the name
  • Observe \- in the resulting embed

Expected Behavior

It to display (, ), -, ... as normal, without backslashes

Current Behavior

Backslashes display in many places.

Screenshots/Videos

![image](https://github.com/discord/discord-api-docs/...

#

Description

Previously, on the Discord desktop client, emojis were displayed in urls, but since then they're no longer displayed and it's their representation in url encoding that's displayed. I don't think this should be the case, on most browsers emojis in urls are displayed, and this should also be the case on Discord.

Steps to Reproduce

Send a link with an emoji inside like https://www.google.com/search?q=💖

Expected Behavior

It would look better if the link was displaye...

chilly siloBOT
chilly siloBOT
#

Description

Once an account sets their username, that username cannot be taken by any other account other than the original account (even if they change it).

It is interesting to note that changed usernames also have the same properties of being available only to the original account and no others. So an account that has changed its username 3 times will have 3 different usernames "reserved" for it.

Steps to Reproduce

  1. Have an account with a username, eg. bingus
  2. Chan...
chilly siloBOT
chilly siloBOT
#

Fwiw, I think this is an unreasonable claim to say that this is by design. If position is not unique then it's poor api design. Why can't the api resolve relative position and perform necessary sorting required to send back unique positions? This feels like it's leaking some implementation detail out to clients and having them deal with some weird nuance. I vote for this being considered a bug that should be fixed.

chilly siloBOT
#

Description

Emojis in large headers within an embed are displayed small (which should be large), while emojis in large headers in a normal post are displayed large (which is normal).

Steps to Reproduce

Put an emoji in a large header that is in an embed # :emoji: This is an emoji in a embed

Expected Behavior

The emoji should be displayed large like the text of the header

Current Behavior

The emoji is displayed small

Screenshots/Videos

![image](https://github.com/...

chilly siloBOT
#

The search bar IS accessible using an api. I used this api along with an alt with administrator perms to get total amount of messages a user sent. https://discord.com/api/v9/guilds/[guildId]/messages/search?author_id=[authorid] (must be sent with authorization. I used my alt)

Self-botting is against the TOS, is there anything else you’d like to tell us?

3.141592653589793238

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

As of the most recent API patch, Animated emoji's used as button emojis no longer play their animations. Instead the first frame of the animation is shown on the button. Before this latest API patch, animated emojis worked properly on buttons.

Steps to Reproduce

  1. Make a view
  2. Add a button
  3. Use an animated emoji as the button emoji

Expected Behavior

The button should play the animation of the emoji

Current Behavior

The first frame of the gif is d...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I find the activities.read scope to be completely unclear as well,

"activities.read | allows your app to fetch data from a user's "Now Playing/Recently Played" list — not currently available for apps"

does not imply to me any kind of whitelisting need, or that it is not a valid scope for me to configure in my app. Why does the portal even let me do that?

When does Discord expect to allow others to use the activities.read scope?

#

This change is worse than the original, by the way. It's completely confusing to anyone who doesn't know what "apps" means in this context, and while this says it's not available, I can still configure my scopes to request it, and it just doesn't work. Worse, the error just says it's unknown or malformed, of which it is neither, instead of saying something like "you may not use this scope."

"invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed."

chilly siloBOT
#

It's completely confusing to anyone who doesn't know what "apps"

Imo, if you don't know what an "app" is (in terms of Discord), it's unlikely that you're gonna be working with OAuth2.

Yet you let me configure and request the scope in the portal, so it's not clear to someone like me why it's invalid.

The thing in the portal is just a URL generator. It doesn't do anything, other than give you an ouath url so you don't have to do through the hassle of making one yourself. It doesn't "requ...

chilly siloBOT
chilly siloBOT
#

it would be useful to have texts that were connected to an external api, which would keep the text updated with special information.

this text would work like timestamps for example, receiving two pieces of information, label and description.

I think of two ways to make this work.

1 - next to the message object that we send the api, we add the "highlight text" parameter, which is an object containing 3 pieces of information: the initial label, the initial description and the link for...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

The Unban API does not seem to be unbanning the user ID i provide in my user option. However the Ban API does work.

Steps to Reproduce

Just use a user option - insert a user ID - run the unban API and the user ID who was inserted is still banned

Expected Behavior

The user with the inserted ID to be unbanned

Current Behavior

The user with the inserted ID stays banned

Screenshots/Videos

None

Client and System Information

Windows 11

chilly siloBOT
chilly siloBOT
#

Description

The author icon icons are not showing in embeds, sometimes they will show, and then disappear again.

Steps to Reproduce

Use a command that has an embed with an author icon. It may initially show, but if you switch guilds and come back at a later point, it will be disappeared again.

Expected Behavior

Author icon should always show.

Current Behavior

Author icon doesn't show

Screenshots/Videos

![image](https://github.com/discord/discord-api-docs/ass...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When I use a discord application to create an embed in a text channel without mentionning the author's url the following message create event contains "url": null.

However documentation (https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure) displays url as either missing or string.

It can lead to an error while deserializing a message with a non-null aware language as Kotlin (https://github.com/kordlib/kord/issues/838).

St...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

In the docs https://discord.com/developers/docs/reference#locales it lists Indonesian as a supported language however Indonesian is not a language in the language settings.

Steps to Reproduce

  1. Go here: https://discord.com/developers/docs/reference#locales
  2. Try to set your language to indonesian in the discord client

Expected Behavior

Your language should be set to indonesian

Current Behavior

You should be able to set your clients language to ind...

chilly siloBOT
#

Description

when getting a message with channelId and message.id the message cannot be edited if ephemeral. this only seems to be the case when using an message component interaction to get the old message and then edit it. but if you create a message from the initial interaction then use a messageComponenetCollector to respond to the component interactions you can edit and delete the Message

Steps to Reproduce

from command interaction I send a message containing buttons and an...

chilly siloBOT
chilly siloBOT
#

The current state of these extended markdown features is effectively as follows:

  1. We have rolled out support for Headers and Lists to all servers as part of an experiment. We are letting that rest and are patching issues as we see them.

  2. We have not rolled out masked links for general messages to users. It is unclear if/when we will do this.

  3. We have made changes to masked links across the entire ecosystem based on security vulnerabilities found

    1. This i...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The current state of these extended markdown features is effectively as follows:

  1. We have rolled out support for Headers and Lists to all servers as part of an experiment. We are letting that rest and are patching issues as we see them.
  2. We have not rolled out masked links for general messages to users. It is unclear if/when we will do this.
  3. We have made changes to masked links across the entire ecosystem based on security vulnerabilities found

...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Not sure if this was the right place to create the issue, or if it should be an issue.

Purpose of Issue

Posting this here to see traction and relevance before submitting a Pull Request with the features below.

Reason for Request

With the recent popularity boom in Community enabled Guilds, the features introduced are a well welcomed change. There has been a lot of confusion though on how to reference these resources in everyday channels. Adding the rel...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I'm guessing the reason the Markdown renderer no longer allows using a hyperlink as the "hover text" value is for security, as you could trick users into thinking the link points to one thing when it really points to another.

If this is the case, it would be preferable during on-hover that Discord would display the underlying hyperlink, where currently it just uses the same value as the display text.

Showing the same value as the display text is not helpful to the user; show...

chilly siloBOT
#

I have noticed that when using monitors/GPUs that support HDR or have those settings enabled, the image appears oversaturated in Discord streams, while it looks normal on the monitor itself. To test this, I streamed with two different accounts and checked how the stream appeared. (When viewing your own stream, everything is displayed correctly without compression, etc.) I encounter a similar problem with screenshots in Chrome, but there is an option to switch the color profile to sRGB, which ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

My server had access to this experiment early on, so it has some pretty old media channels. This doesn't apply to any new media channels I create, but older ones appear with type GUILD_FORUM with the flags field set with the 1 << 10 bitwise operator. Additionally, webhooks are fully functional in these older ones, and appear on the client, regardless if any are created. This is not true for recently created media channels.

#

Description

The active threads resource used to list applied_tags because it returns a list of channel objects. Instead of performing a single call to list all active threads with a certain tag applied we now have to perform N requests, where N is the amount of active threads.

Steps to Reproduce

list active threads https://discord.com/api/v6/guilds//threads/active

Expected Behavior

Expecting the body to contain applied_tags

Current Behavior

body does not contain appli...

#

Been writing a bot for a server that requires new member verification and one of the key elements to allowing a user to pass into the rest of the server is bio contents.
Malicious bots and scammers seem to have a way of letting us know what they are by putting certain phrases in the about me section (ie "crypto" this and "porn" that) and idealy it would be nice if a bot could access that and give a moderator a heads up about that user. We do this for the usernames/nicknames already.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Documents soundboard sounds and management. When a soundboard sound is used, Voice Channel Effect Send is emitted, which is documented in #6025

some notes:

  • Bots cannot use soundboard
  • Looks like GUILD_SOUNDBOARD_SOUND_CREATE, GUILD_SOUNDBOARD_SOUND_UPDATE, and GUILD_SOUNDBOARD_SOUND_DELETE are not tied to any intent currently, so they are sent to all bots
    • They should probably be tied to GUILD_EMOJIS_AND_STICKERS (1 << 3), which should be renamed to GUILD_EXPRESSIONS
  • T...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When a modal is created with 5 large paragraph components, it is incorrectly rendered, components overflow the modal boundaries. This is only the case on the desktop client.

Steps to Reproduce

  • Respond to an interaction with 5 large paragraph components
  • The modal cannot be submitted as components block the submit button

Expected Behavior

When the components are taking more space than the modal’s boundaries, it should either have a scroll wheel and the compon...

chilly siloBOT
#

My application uses private threads for a ticket/mod-mail system that doesn't require users to open their DMs.
Currently, this forces my bot to use the privileged message content intent to allow users to download a transcript of their ticket.

My idea is to allow applications to receive messages in threads they created themselves without requiring privileged intents. The thread could then display a warning similar to the "Clyde can read all messages in this thread" mentioned in threads Cly...

chilly siloBOT
#

I feel like it kinda defeats the point, it exists as an obtainable intent so legitimate usecases aren’t affected by the restriction around message content. Requiring privileged intents to work isn’t a bad thing on its own, or something to try to go around unless Discord doesn’t consider the usecase valid, but then they wouldn’t want to make the data non privileged anyway..

As for the argument that says it’s similar to DMs and mentions, as far as I know the reason those were exempted is bec...

chilly siloBOT
#

Thanks for the feedback!

I feel like it kinda defeats the point, it exists as an obtainable intent so legitimate usecases aren’t affected by the restriction around message content. Requiring privileged intents to work isn’t a bad thing on its own, or something to try to go around unless Discord doesn’t consider the usecase valid, but then they wouldn’t want to make the data non privileged anyway..

This proposal doesn't want to work around privileged intents. Its focus is to prevent ha...

#

The Least Privilege is a good point, but I’m not fully sure if giving more data to everyone is better (okay this isn’t really everyone since not all bots create threads) then giving even more data to a smaller number of bots… i guess Discord can figure that out with their analytics

Also side note but slash commands don’t need the intent, and receiving attachments via modals can be done with a link, or an attachment option in a slash command, so these wouldn’t impact the number of bots nee...

chilly siloBOT
chilly siloBOT
#

Ok, so Discord has announced the roll-out of links in messages on Thursday on their discord server and asked for feedback.
They broke masked links in embeds for mobile clients again (which is still not fixed, and we're going on weekends once again, like the last time). I pinged @jkcailteux as there seemed to be no reports of this. And today I'm no longer in the server, and can't join (aka. banned). No warning or explanation.

👏 👏 👏 Fantastic work from discord developers once again.

Excu...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#
Post a typing indicator for the specified channel. Generally bots should **not** implement this route. However, if a bot is responding to a command and expects the computation to take a few seconds, this endpoint may be called to let the user know that the bot is processing their message. The typing indicator expires after 10 seconds, you might call this endpoint again to maintain the typing indicator, a 5 seconds interval should be reasonable. Returns a 204 empty response on s...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Discord has made many intents privileged over the past few weeks. While some of them are obscure, the vast majority of them are for good reason.
While message content, the last largely controversial now-privileged intent, provided a minor degradation of the usability of the Discord API, it was made privileged to protect the privacy of users.
VOICE_STATE_UPDATE is a similar intent. It provides even more sensitive information. From my calculations, making it privileged would have an even sma...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

The recently introduced channel emoji experiment has introduced a new CHANNEL_UPDATE event, which fires directly after the channel is created. This causes problems when another update happens before that emoji is created.

This invalid state is cached persistently. You can fix this by editing the channel manually:

https://github.com/discord/discord-api-docs/assets/18090140/971cbfd5-40cd-4812-ac13-163953dcb91c

Steps to Reproduce

  1. Create a new text channel
    2...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

@TwilightZebby modals on mobile open in full screen and are scrollable (just like how it should be on desktop), not sure how lack of UI space on mobile is related to the limit 🤔
maybe the limit is there due to how modal interactions work, as after 15 minutes the interaction tokens expire, so maybe having many components to fill could take a while?
either way this expiration (for modals specifically), whether its related to the limit or not, is pretty stupid and should be removed

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

No plans to do so. If ETF does not work for you, please consider using JSON. Note that our gateway speaking ETF is an optimization, as it's faster to serialize due to being the native format that Erlang uses to communicate within its distribution. CBOR, like JSON would not have that benefit, and would add additional complexity to the system for little to no gain.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

X-Audit-Log-Reason header to delete request https://discord.com/api/channels/{channel.id} does not work

Steps to Reproduce

send API-request to https://discord.com/api/channels/{channel.id} with X-Audit-Log-Reason or try to delete channel with reason using library e.x. discord.py

Expected Behavior

reason by header in audit

Current Behavior

no additional fields in audit

Screenshots/Videos

No response

Client and System Information

wind...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The temporary workaround for me is to allow external emoji for @everyone, not really what I want but I guess it works for now

AHHHH @Tiffceet Thx a ton! I dealt with this prob for ages. Even started fresh on the new server but issue stayed. Setting @everyone's perms for external emojis did the trick. Not a big deal though since @everyone has no rights. Newbies get Members role, so it's all good.

chilly siloBOT
#

Description

HTTP only bots display in the online list without an indicator.

However, an issue arises when said bot POSTs to /channels/{channel.id}/typing. In the member list, the bot displays the offline typing status, and when it finishes typing, has the offline indicator, but remains in the online list.

The status will return to normal when switching channels.

Steps to Reproduce

  1. Set up an HTTP only bot, make sure it is responding to pings properly.
  2. Send a POST requ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I noticed something isn't working properly.
When you update a message via the interaction you need to provide the attachments or they get deleted however if you edit the message directly via the interaction message you don't need to provide the attachments (attachments don't get deleted).

Steps to Reproduce

I'm using the latest version of discord.py

await interaction.response.edit_message() # Need to provide the attachments

await interaction.message....
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When more than 50 50+1 requests are sent with the same Authorization Header (Same Token), the user is given a ratelimit, that is, the Authorization token, and the user receives a ratelimit. vanity-url endpoint ratelimit = Self-Authorization (User) Please switch to rate limit based on guild ID arrogant bastards curse discord api here Malicious people are creating multiple accounts and spamming using different tokens and sending too many requests to the API. As before, when 50 ...

chilly siloBOT
#

Description

Discord currently fails to embed additional text/media data for masked links which include any non-white-space character right after the closing ). This is because it's looking for a white-space character to mark the end of a URL which results into sending an incorrect URL. I first observed this on one of my own websites but this also affects others, e.g. Twitter. Interestingly it does not affect YouTube links because they are smart enough to know how long their video IDs a...

chilly siloBOT
chilly siloBOT
#

I, too, would love to be able to use markdown links in embed field headers. I don't understand why a use-case must be justified in the first place, but in my case I am writing a new Jenkins CI bot to post build statuses of build jobs. I'd like to be able to use the commit hash as a field header with a markdown link to the github page of that commit. there can be multiple commits per build, so it makes sense to use the embed fields for this exact purpose. I find it rather disappointing that it...

chilly siloBOT
#

The application can send as many events per second as it wants (on the same Discord Session) without being immediately disconnected from the Gateway, provided that the WebSocket Connection is connected and disconnected.

Please explain if using this behavior is considered abuse.

Do you mean by disconnecting and resuming on-purpose when being close to the rate limit to continue to send commands?

This is definitely against both the [Developer Terms of Service (2.b.c.iv)](https://dis...

chilly siloBOT
#

I'm trying to timeout user via the public Discord API

Im using this url /guilds/{guild.id}/members/{user.id}

  1. When I'm sending the request with {mute: true} parameter it works as expected (user got mute)
  2. when I'm sending the request with {communication_disabled_until : } and i got error in attachment 1.

Expected behavior:
Sending a request with communication_disabled_until parameter returns 200* code and user got timeout

Actual behavior
Sending a request with communication...

#

re: @Zoddo

Using the API in this manner doesn't access the APIs in any way that exceeds any API rate, call, or other usage limits Discord has set.

As you have stated, the rate limit is documented at "per connection": This language indicates that creating a new connection and adhering to its rate limit is valid.

Disconnecting and resuming to a WebSocket Connection while sending less than 120 events is adhering to the specified rate limits. So disconnecting and resuming to send m...

#

re: @Zoddo

I believe that the reason why this is documented as being "per connection" instead of "per session" is to clarify that commands sent out of a session (before a READY or a RESUME, like heartbeats) are still counted against the limit. They didn't document it that way to say "if this rate-limit bothers you, just disconnect and resume when hitting it lol".

We can personally speculate why certain language is included in the documentation, but that doesn't change what is actually...

#

Like I literally close the issue and then everyone starts replying to it.

I don't care about the answer anymore and don't want the employees to "feel bad" (like in #5557) just because I asked for clarification about something.

So I closed the issue.

No one cared about this issue before the issue closed.

Why do you care now?

Do your development work. Stop looking at closed issues!!!

![whbwa](https://github.com/discord/discord-api-docs/assets/81384235/ac718652-3c8d-44a7-b...

#

Not really sure why I've been mentioned here... I reacted because you closed the issue stating 'No one cares' when only 2 days have passed without an answer. People here wait for months sometimes to get [official] answers lol.
I am not a Discord employee, not sure what work I haven't done

Don’t worry, the OP has a long history of just junking up this github repo with useless messages and spam pinging every random user who does anything like reacting or commenting, as if doing so i...

chilly siloBOT
chilly siloBOT
#

Current vanity-url rate limit rule:= You are being ratelimited
(Authorization User Based)

I want, please update set to Guild Based Rate limit:= (The resource is
being ratelimited.) Server ID Based , Not bypassable

8 Temmuz 2023 Cumartesi tarihinde Ryan Broman @.***>
yazdı:

Respectfully what are you talking about?


Reply to this email directly, view it on GitHub
https://github.com/discord/discord-api-docs/issues/6278#issuecomment-1626376856,
or unsubscribe...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I agree with everything people are saying. I built an integrated dashboard for my bot with modals buttons and selects because the tools are so powerful. BUT, I was really restricted with modals. Everything else is great! I really feel like Discord should prioritize this. Bots are what make Discord a one-size-fits-all in my opinion, but in their current state, they're bulky to use. I think this would be a major step forward.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The Create Guild Emoji endpoint currently has a ratelimit of 50 requests per hour. This is (in my opinion) unnecessarily restrictive, especially for Nitro Boosted servers with more than 50 emoji slots. I have an application which bulk manages emojis, and this ratelimit is very prohibitive, especially in these boosted servers. Could the ratelimit on this endpoint be updated to 250 requests/hour to reflect the current maximum of 250 slots?

I found a [similar discussion](https://github.com/d...

chilly siloBOT
#

Description

I have a current (sub-optimal, but in theory correct) implementation, that quickly removes a role (DELETE https://discord.com/api/v10/guilds/$server/members/$member/roles/$roleAId) before adding a new role to a member (PUT https://discord.com/api/v10/guilds/$server/members/$member/roles/$roleBId). The request to add a new role is started immediately after the one to remove has been started, so its save to assume that they run in parallel.
The requests also return at relativ...

#

Yes, but he also said in [Discord](#interaction-modals message),

I think it's been longer than that (I don't mean this to be tongue in cheek - just that we do listen and hear it, and are aware of it). The short of it is we have two teams working on a lot of different projects, responsible for many different things. Features and requests get prioritized against other projects. Regrettably we just don't have time to do everything -...

#

Ok, so Discord has announced the roll-out of links in messages on Thursday on their discord server and asked for feedback. They broke masked links in embeds for mobile clients again (which is still not fixed, and we're going on weekends once again, like the last time). I pinged @jkcailteux as there seemed to be no reports of this. And today I'm no longer in the server, and can't join (aka. banned). No warning or explanation.

👏 👏 👏 Fantastic work from discord developers once again.
...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

there's been at least two ios client updates when this was reproducible, I manually check daily, so I'm confident I checked on the latest version available (both phone and ipad).

android version I only have on windows subsystem for android, and that one was freshly installed to confirm the issue on mobile clients, but I didn't check on android after the initial report, so I can't say if the client was updated since.

chilly siloBOT
chilly siloBOT
#

In general, many of our resources do not have explicit locks to prevent races. This is currently working as expected.

I would suggest that you await the completion of one request before sending the second request, thus preventing the race-condition from your own code.

Optionally, you could instead use the https://discord.com/developers/docs/resources/guild#modify-guild-member endpoint. In JDA, that would be Guild#modifyMemberRoles

chilly siloBOT
#

I just tested using your example case and a real token. After 50 attempts receiving a 403 + "Missing Permission", the 51st attempt received a ratelimit.

However, when using a different account that did have permissions to modify the vanity-url, I was able to modify the url. The bad actor account was unable to restrict a good-actor account from using the endpoint.

The endpoint already takes into account both user and guild for ratelimiting, so I think everything here is working as inte...

chilly siloBOT
chilly siloBOT
#

Problem and you didn't understand what I asked. Yes, RateLimit works, but (You are being ratelimited), so as you said, there is a user-based ratelimit, a transaction can be made to the same server with another account without being affected by the ratelimit (vanity-url)
What I want is (The resource is being ratelimited) to limit the yanj ratelimit directly to the server, not to the user, because if that's the case, malicious people (vanity snipers vanity f*ckers) use the same server with oth...

#

I just tested using your example case and a real token. After 50 attempts receiving a 403 + "Missing Permission", the 51st attempt received a ratelimit.

However, when using a different account that did have permissions to modify the vanity-url, I was able to modify the url. The bad actor account was unable to restrict a good-actor account from using the endpoint.

The endpoint already takes into account both user and guild for ratelimiting, so I think everything here is worki...

#

Problem and you didn't understand what I asked. Yes, RateLimit works, but (You are being ratelimited), so as you said, there is a user-based ratelimit, a transaction can be made to the same server with another account without being affected by the ratelimit (vanity-url)
What I want is (The resource is being ratelimited) to limit the yanj ratelimit directly to the server, not to the user, because if that's the case, malicious people (vanity snipers vanity f*ckers) use the same server with oth...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

4. In the case of webhooks/embeds, masked links should continue to work and should also continue to support allowing emojis in the title ([title](url))

Tried checking if this issue has been mentioned already but it didn't seem like it so I'm asking, this doesn't seem to be the case anymore, I tried to simply do [google](https://google.com/) in the embed title and it doesn't work but works in description

The JSON I tried: `{ title: "google", description: "[...

chilly siloBOT
chilly siloBOT
#

Description

When you go to https://discord.com/developers/teams/(TeamNumber)/information and go to add members onto the team, it requires the #number of the user, however with discord switching over to twitter/instagram style usernames we no longer have our discriminators.

Steps to Reproduce

Since some users still have discriminators, allow it to add users without them until all have been switched over.

Expected Behavior

Adding team members.

Current Behavior

Failure...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Context

Today, bots receive the local language configured on the Discord client when the user uses a command slash or interacts with a button. This is great, but it's only useful for ephemeral messages.

Proposition

Having the ability to set message internationalization for non-ephemeral messages would be desirable in many use cases and especially for international servers. Added to the ability to internationalize roles and channnels it would be perfect.

Why this is n...

chilly siloBOT
#
  1. In the case of webhooks/embeds, masked links should continue to work and should also continue to support allowing emojis in the title ([title](url))

Tried checking if this issue has been mentioned already but it didn't seem like it so I'm asking, this doesn't seem to be the case anymore, I tried to simply do [google](https://google.com/) in the embed title and it doesn't work but works in description

The JSON I tried: `{ title: "google", descri...

#

Do not hold me to this, but I think once we roll out to 100% of users and clean up, then it will work here @polyjitter.

any idea on when, or whether it will roll out or not? (why was it removed after the initial release? it worked one single time with me and within the same hour, it stopped working lol)

In general we don't give strong deadlines for deploy/rollout. For this in particular, even once we hit 100% this wouldn't be enabled immediately.

My suggestion would be to o...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I think they'd prefer if neutral assets were used instead, stripped of anyone's name except their brand characters

It is probably also better if the Screenshots are made on default browser settings (Color Scheme, no extensions) without being signed in to google as well. The screenshots should look the same as well and have no differences in the navigation bar for example.

#
- Endpoints to [retrieve](#DOCS_RESOURCES_USER/get-user-application-role-connection) (`GET /users/@me/applications/{application.id}/role-connection`) and [update](#DOCS_RESOURCES_USER/update-user-application-role-connection) (`PUT /users/@me/applications/{application.id}/role-connection`) a user's role connections, both of which return an [application role connection](#DOCS_RESOURCES_USER/application-role-connection-object) object.
#
- New endpoints to [retrieve](#DOCS_RESOURCES_APPLICATION_ROLE_CONNECTION_METADATA/get-application-role-connection-metadata-records) (`GET /applications/<application.id>/role-connections/metadata`) and [update](#DOCS_RESOURCES_APPLICATION_ROLE_CONNECTION_METADATA/update-application-role-connection-metadata-records) (`PUT /applications/<application.id>/role-connections/metadata`) application connection metadata.
#
- New endpoints to [retrieve](#DOCS_RESOURCES_USER/get-user-application-role-connection) (`GET /users/@me/applications/{application.id}/role-connection`) and [update](#DOCS_RESOURCES_USER/update-user-application-role-connection) (`PUT /users/@me/applications/{application.id}/role-connection`) an user's role connections, both of which return an [application role connection](#DOCS_RESOURCES_USER/application-role-connection-object) object.
chilly siloBOT
chilly siloBOT
chilly siloBOT