#github-notifications

1 messages · Page 16 of 1

chilly siloBOT
#

Hi @ssesfahani,

Thank you for the report. Unfortunately the message link and direct video URL are expired, so I'm unable to repro. I did make an attempt on a Galaxy S8 with a my own hosted video inside a simple message component container, but I did not encounter the issue.

Can you share the JSON body for your message component? If this only happens with certain kinds of videos, could you also provide an example video url (and instructions on how to get more if the urls are signed/expire)?
...

chilly siloBOT
#

Hi Discord ❤️ ! We would really appreciate having this on v2 components.

I know the biggest issue with embed "inline" property was mobile compatibility - but smart developers made it work, and bot users happily (or blissfully obliviously) lived with it for years. Right now, we need to use weird text alternatives like " | ", " / ", "--"... I even made an emoji that is just a blank square with the background color of the message (doesn't work properly across all media sizes)..

The point ...

#

I have a similar issue on one of the servers I develop on, and as a workaround - the server admins made a "Slowmode Permit" role which overrides slow mode via permissions, and every time the bot has to reject a message from a user, it gives the user this role (so they could continue sending messages) until the user sends a message that is accepted by the bot and kept on the channel. Then, the bot removes the role from the user, and the user can't send more messages.

#

Hi @HamzaAtDiscord,

Ah yeah, Instagram URLs do expire it seems. Here is an output JSON:

{
  "type": 17,
  "components": [
    {
      "type": 9,
      "components": [
        {
          "type": 10,
          "content": "**[@livinlavitalexi](https://www.instagram.com/livinlavitalexi/)**"
        },
        {
          "type": 10,
          "content": "I’ll be in tropical paradise in a week, but somehow I can’t stop thinking about how much I’ll miss her 🥺 \n\n#Blacklab #blacklabrador...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Discord, please don't just left some stuff for us devs when publishing new updates and features. I expected more data from Server Profile (not per-server profile for nitro user and bot user) such as banner solid colour HEX, server traits (equivalent to application tags), games, and more.

Might also implement a way for us to fetch some data from the Server Web Page (if possible) along with the social links (I know this feature specifically is still in BETA, but I'd like to access st...

#

It'd be neat to have AutoMod integrated with custom apps for helper. Felt like having to only be handled natively by Discord and using apps as the tool to only forward the request on behalf of user is not enough. Have the bots ability to integrate its own rule to the native AutoMod and could use features including [but not limited to]:

  1. Message blocking
  2. Ephemeral block response (footnote)
  3. Logging (alert)
  4. Different type of rules

I'd like to also request more customability o...

chilly siloBOT
chilly siloBOT
#

Description

Detailed Problem Description
Application slash commands utilizing subcommand groups (.addSubcommandGroup()) are not being registered with, including explicit return statements for each group.

  • File Deletion: All old command files (poker.js, chess.js, etc.) were physically deleted from the project directory.

  • PM the expected nested structure (e.g., /game poker create). Instead, they are being registered using a deprecated, concatenated2 Cache Purge: The ...

chilly siloBOT
chilly siloBOT
#

I noticed that the GET /invites/{code} endpoint has included a profile field for a while now, but it hasn’t been documented yet. This PR does exactly that.

Additionally, there’s an endpoint not accessible to bots: guilds/{id}/profile. I assume it returns the same information, which is why I think the object belongs under guild rather than invite.

This is my first contribution here, so any feedback or guidance would be ...

chilly siloBOT
#

Hmm I can't seem to reproduce this either on desktop or web using global commands. The new command payload is fetched and the next run works successfully.

@AlmostSuspense if this is still an issue - I have some Qs to help narrow this down:

  • what platform is this not working for?
  • are these global commands or guild commands?
  • if hitting the API directly, please let me know which endpoints you're using to create/update the command (PUT vs PATCH/POST), and provide example payloads for ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Getting some weird behavior where it is working when I type the emojis manually (pic 1)

but when I pull in from an api the hyperlink breaks but the emoji is still showing correctly (pic 2)
<img width="542" height="318" alt="Image" src="https://github.com/user-attachments/assets/ba72515b-26fb-44b0-9759-4569ff8c21c8" />

<img width="396" height="80" alt="Image" src="https://github.com/user-attachments/assets/ab8fe10a-3a36-41ce-b0d6-05533538a95d" />

I'm using discord.js
Tester Command embed +...

chilly siloBOT
chilly siloBOT
#

Currently, the Discord API does not expose the nsfw field for thread channels. Instead, this information can only be inferred from the parent channel’s nsfw property.

This creates a limitation when using the REST API in contexts where only the thread object is provided (e.g., in interaction payloads from message commands). In these cases, the thread channel object looks like this:

{
  "id": "1413248532516700202",
  "guild_id": "219974358674833408",
  "parent_id": "31588959...
chilly siloBOT
#

The fates of hang status and vc status are not decided yet, since hang status has a partial rollout and may fully replace vc status, so we won't be documenting vc status until we are confident it's sticking around.

@advaith1 What's the status of this feature? It still seems to be in the client, but its not documented for bots, so it just seems to exist in the typical Discord Limbo.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I'm not sure exactly what the issue being reported here is, due to the wording of the report being unclear. But subcommands and subcommand groups have never been registered in tree format (i.e. only the root command is visible in the slash command selector). It's always been the full list of subcommands included. So that isn't a bug as far as I can tell.

The rest of the complaints do not seem to be relevant to this repo.

chilly siloBOT
#

Description

Receiving pings as notifications has regressed in utility when invoked from within cv2, due to the loss of message content.

Steps to Reproduce

Mention a user or role within a component, with someone on the receiving end getting a push notification for it.

Expected Behavior

When I posted bout this in DDevs showcase thread, advaith said would you just like the text displays concatenated together like we do for Copy Text in the client?, and while I personally don't...

chilly siloBOT
#

In the over two and a half years since this issue was reopened, the only significant change I've been able to determine is that now a 504 Gateway Time-out (as opposed to a 502 Bad Gateway) error is returned when attempting to fetch the prune count for large guilds.

Given this is consistently reproducible, a more helpful error message & perhaps a note on the documentation page itself (e.g., https://github.com/discord/discord-api-docs/pull/5912) would be nice to have!

chilly siloBOT
#

Forgot about this issue, but now recall there is actually a workaround for being able to view this information, maybe it’ll be helpful to some who find themselves here.

Viewing your Server Insights on Discord’s Developer Portal shows you quickly and easily.

Link: https://ptb.discord.com/developers/servers/<YOUR_SERVER_ID>/analytics/engagement

I wonder if Discord can solve this issue by using the same endpoint or logic that the Dev Portal’s Server Insights works on, unless that value on...

chilly siloBOT
chilly siloBOT
#

Description

In some cases, accepting an invitation should not open a window with a form to fill out

Steps to Reproduce

To get started, set up "Apply to Join" access on the server
And there are two options to reproduce this error

First, "Existing Member"

  1. Create an invite
  2. Accept the invite on the test account
  3. Submit the completed form and approve the application
  4. Confirm the invite on the test account (Notification of application approval)
  5. Accept the invit...
chilly siloBOT
#

I have the same problem with Media in Component V2.

ProxyUrl is fine, but they sometimes show in the UI as loading and the height and width are null.
If I try to open the ProxyUrl it's working just fine.

If I edit the message, sending exactly the same components again makes the image load this time.

This happens in both Thumbnails and in the Media Gallery. It's very hard to reproduce because it is sporadic.

chilly siloBOT
chilly siloBOT
#

Experiencing same issue - all generated access token are invalid, that is result in 401 response where trying to access API endpoints. Token rotation using refresh token works as well, but returned access token is still invalid.

If it'll help, can send app info and user nickname - tried with 2 different apps on local machine using Ngrok to proxy traffic to localhost.

#

Description

I don't know why, but when bots delete a message, it doesn't create an audit log entry
However, if a human deletes the message, that action will be recorded

Steps to Reproduce

Delete another user's message using the endpoint /channels/{channel.id}/messages/{message.id}

Expected Behavior

An audit log entry is created

Current Behavior

No audit log entry was created

Screenshots/Videos

No response

Client and System Information

Linux
Discord-API v10

#

Description

There is an incorrect link in the developer portal inside the Monetization Settings of an app

Steps to Reproduce

  1. Navigate to your desired app
  2. Go to Monetization -> Getting Started
  3. When the button "Setup payouts" appears on the Eligibility Requirements steps, click that

Expected Behavior

The button should link/redirect to the correct payout-settings page at https://discord.com/developers/teams/{your_app_id}/payout-settings not to the main discord.com page
...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Discord recently made a change that prevents following of an announcement channel if the server name contains a term that's usually not allowed in a webhook name. This, in turn, has also broken the claim active developer endpoint as it tries to follow the announcement channels from Discord Developers.

Steps to Reproduce

  1. Attempt to follow an announcement channel from Discord Developers
    OR
  2. Attempt to claim the Discord Active Developer badge

Expected Behavior

I...

chilly siloBOT
chilly siloBOT
#

Description

{
   "default_values":[
      {
         "id":"702574561857896569",
         "type":"user"
      }
   ],
   "min_values":1,
   "custom_id":"editors",
   "max_values":25,
   "disabled":false,
   "placeholder":"Klicke hier, um die Editoren auszuwählen",
   "type":5,
   "required":true
}

Any ideas why that here is happening?
I can only open that menu when I
a) remove an entry
b) double click...

Steps to Reproduce

Create a modal with the following components:
...

chilly siloBOT
#

Description

Since #7807, bots can now set per-server avatars, banners, and bios. However, when opening the profile of a bot in a server where that bot has set a custom profile, there is no "View Main Profile" button available like it is for user profiles, thus leaving users unable to view the original profile of the bot. As of now, with a fully customized server profile with a custom avatar, banner, and bio, the only information linking back to the original bot is the small username.

##...

chilly siloBOT
#

Vertical Separator Component for Containers/Sections

Does the team plan to add a vertical separator component for containers or sections?

I think this would be a valuable addition:

  • It improves visual spacing and makes containers look cleaner and more polished.
  • It opens up layout possibilities such as tables, split sections, and side-by-side content (max 2 due buttons and thumbnails).
  • It gives developers more flexibility in building structured UIs without h...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Hi, this happens both on desktop and iOS (and maybe android too but i don't have one to test), I've only tested with global commands. I'm using a library, but it internally uses the PUT overwrite endpoint. The error looks like this now:

<img width="441" height="292" alt="unknown integration error" src="https://github.com/user-attachments/assets/dfe1d71f-782a-4135-a945-f2eefbf81dd9" />

#

Hi @Auralytical, this happens both on desktop and iOS (and maybe android too but i don't have one to test), I've only tested with global commands. I'm using a library, but it internally uses the PUT overwrite endpoint. The error looks like this now:

<img width="441" height="292" alt="unknown integration error" src="https://github.com/user-attachments/assets/dfe1d71f-782a-4135-a945-f2eefbf81dd9" />

chilly siloBOT
chilly siloBOT
#

To avoid requiring us to download the current file, find what the file hash is, delete from our local machine (if already exists in our database), it would be nice to be able what the attachment hash is from discord directly.
The usage for this would be for security purposes (in case it's not in the database, we'd then need to upload to a malware detector to detect if that file is or isn't one), which honestly is excessive for a lot of us, especially when you are expected to have a lot of me...

chilly siloBOT
chilly siloBOT
#

Overflow Component

I would like to propose an Overflow Message Component.
This component would function similarly to a string select menu, but with a more compact UI and the restriction of only allowing a single option to be chosen at a time.

Appearance

A perfect example of this behavior already exists today: on every message on desktop, on the far right side, there is a [...] button that reveals additional actions when hovered over ([video](https://images.soheab.com/JsMyYO...

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

Description

Set VC Status has been out for so long, it's still not in the dev portal, i have to use devtools to modify the request and add that to my bot's installation.

Steps to Reproduce

Visit Discord Dev Portal
Choose an application
Go to "Installation" tab
Select Discord Provided link
Select Bot and/or application.commands
open permission selector menu
look through all the permissions

Expected Behavior

"Set Voice Channel Status" is available in the permission selector,...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I am using `` Discord Timestamp in my Embed

The timestamp sometimes pauses/stucks at time 59 seconds

Although the timer itself still counting down and do the expected action when it reaches 0 seconds but it doesn't show me the exact seconds like 59 -> 58 -> 57 ...etc

Library used: Discord.py

Steps to Reproduce

  1. Create a Discord.py bot
  2. Create an Embed with a timestamp:
  3. Check the timer when it is less than 1 minute

Expected Behavior

I expect the timest...

chilly siloBOT
#

Server Web Page

This feature is still in Beta and undocumented, though I'm pretty sure it's been rolled out to several servers for quite some time now.

  • [ ] Published Page URL
  • [ ] Category
  • [ ] Subcategories
  • [x] Discovery listing cover image
  • [x] Server Description
  • [ ] Reasons to join your server
  • [ ] About your community
  • [ ] Social links

[!NOTE]
Ticked points are functions connected to the [Server Profile](https://github.com/discord/discord-api-docs/discussions...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The issue is happening on mobile aswell (IOS) (I see this since around june something like that)
App version :
300.0 (85590) ptb
Its happening on stable aswell

This was stuck at 7mn and when the time is reach its stuck at same time
The timestamp is correct with t:R
<img width="395" height="117" alt="Image" src="https://github.com/user-attachments/assets/df4e0d8c-676b-4fef-bed4-38687de17265" />
Its only working if ur restarting ur app and u never switch (channels/or even messages)

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

I am guessing this is caused by a timestamp that starts at >5m in length.

We try to limit the amount of updates that are rendered for timestamps. As such, unlike the relative values that are sub 60s and update every second, values that are closer to 5 minutes get an update every minute. The larger that diff gets, the longer the update interval becomes for performance reasons.

However it looks like we don't change the update interval as the diff changes over time.

So if you view a timestam...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

When I posted bout this in DDevs showcase thread, advaith said would you just like the text displays concatenated together like we do for Copy Text in the client?, and while I personally don't know what the most correct solution would be, that suggestion is probably the most obvious way about it.

Speaking only for my use case here, but I'd prefer this to be more along the lines of "only the first text display in a message is used for the notification content" (or anything to that effect,...

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

Description

https://github.com/user-attachments/assets/de70c138-4e55-4dcd-9086-073bc3904081
they also appear even without GPU acceleration

The effect is even worse without it.

Steps to Reproduce

just click on it many times.

Expected Behavior

I don't know, but it disappears when I minimize it, but it stays when I drag it

Current Behavior

Just an artifact

Screenshots/Videos

Client and System Information

stable 453248 (0a497ab) Host 1.0.9210 x64 (69976) Bui...

chilly siloBOT
chilly siloBOT
#

Speaking only for my use case here, but I'd prefer this to be more along the lines of "only the first text display in a message is used for the notification content" (or anything to that effect, really), so that I have more control over what the notifications say, as opposed to concatenating everything together, which could lead to undesired content from a later text display being included.

Part of me is wondering if we could have a component which doesn't render and is ONLY used for the n...

chilly siloBOT
#

I would like to add to this, that the same thing seems to occur with the @everyone role for guild templates.

{"id":0,"name":"@everyone","permissions":"2222085119528512","color":0,"colors":null,"hoist":false,"mentionable":false,"icon":null,"unicode_emoji":null}

The colors object, is shown as always having a value, however the role object shows that it cannot be null.

This however does not se...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

As the title says, labels containing either text inputs or select menus will have their label text and description missing when a modal response is submitted to the application. This seems unintended, especially because the label field is marked non-optional in the docs.

Steps to Reproduce

Create a modal interaction with a label inside it, with the label text and description set:

"components": [...
chilly siloBOT
#

Description

When creating a test entitlement for a guild, the user_id field should not be provided. However, after creating a test entitlement for a guild, the resulting entitlement includes a user_id field set to the app's id. This behavior is not documented and does not seem intended, since entitlements for guilds should not be associated with a user. The user_id field should only be present for user (test) entitlements, not guild entitlements.

Steps to Reproduce

  1. Use the...
chilly siloBOT
#

Summary

Adds documentation for the new /provisional-accounts/unmerge/bot endpoint that allows unmerging provisional accounts using just a bot token and external_user_id.

This endpoint provides the same guarantee as other unmerge methods: an identity can always be removed even if you no longer have access to the user's external auth token. This is particularly useful for bot-based authentication flows where maintaining access to external auth tokens may not be practical.

Changes

  • ...
chilly siloBOT
chilly siloBOT
#

@AlmostSuspense While I wasn't able to reproduce this for other kinds of changes, I did by using PUT to change command names but not including the original command ids in the payload.

When command ids aren't included, we determine what commands needs to be created/updated/deleted based solely on the name. Changing the name this way causes the original command to be deleted and a new one created with a different id. This results in an "Unknown Integration" error on the client (rather than t...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Just adding context: apps like PreMiD appear to have access to these scopes, but third-party developers who want to build competing or alternative experiences are not allowed to use them. I even opened a support ticket requesting access and was explicitly told access is not granted.

If these scopes are effectively restricted/allow-listed and not available to the developer community, they should be removed from the public documentation and from the OAuth flow (or at least clearly marked as in...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Summary
There is currently no way for an application to know if a user is active in any voice call (guild or DM) without joining every guild and listening to gateway events. DM/private calls are not exposed at all.

What we need
A minimal endpoint that returns only:

  • If a user is in any voice call (active/inactive)
  • If the user is muted

No channel IDs, no guild IDs, no participants. Just a simple active/mute status.

Why this matters
We are building MetaGuard...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Overview

As the name suggests, apps unable to send attachments with special characters like users do. Even when utilizing URL encoding (e.g. %20 to space character), Discord treats them literally. As Discord expects similar name as with the URL, it's impossible to send attachments with special characters due to the block.

Steps to Reproduce

Request attachments from Discord apps with special characters.

Code snippet:

if (shouldMoveToAttachment) {
...
chilly siloBOT
chilly siloBOT
#

It seems bizarre this hasn't been implemented yet given the API endpoint has existed since Sept 2023 - over 2 years ago! Perhaps Discord haven't officially documented the endpoint yet idk but given how simple it is to implement using the REST client...

client.rest.put(/channels/${channel.id}/voice-status, { body: { status: status } });

and that other clients such as discord.py have it implemented, it seems it would be v easy to add a method to the VoiceChannel object. I don't think ...

chilly siloBOT
chilly siloBOT
#

Description

The page which lists JSON error codes, is missing the error code 50168, User must be in voice channel to send voice channel effect.

This error code is seen from hitting /channels/:channelID/send-soundboard-sound for a Bot which is not in that voice channel, or any voice channel for that matter.

{
    "message": "User must be in voice channel to send voice channel effect",
    "code": 501...
chilly siloBOT
#

Dear discord dev team,

Hey discord dev team I wanted to say that I love your app and I have been using it for 3 or 2 years it's fun and the webhooks and how easy it is to make discord bots and apps it amazing thats why I love your app so much and I wanted to say it that please add account token as a way for Developers to express themselves like make automations and things but I understand you guys don't want to because of spams and things but u can add rate limiting and account token for any...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Allow bots to perform a bulk deletion of all messages in a channel through a single command or API call, rather than deleting messages individually or in small batches.

Problem:
Currently, Discord bots can only delete messages using:

The Bulk Delete, which is limited to messages younger than 14 days, and

Individual message deletions, which are inefficient, rate-limited, and resource-intensive when clearing large channels.

Benefits:

Greatly simplifies cleanup automation for b...

#

I have a discord bot where it will display 5 dropdown boxes for user to choose from. It works without issue in the past but suddenly on one day, those boxes only 3 of them can be displayed. However on the desktop version, or in the Web version or in the iPadOS, it still behave normally with the 5 dropdown boxes appear.
I did multiple test, it seems it is related to the
await interaction.response.edit_message(embed=embed, view=view)
if I do send_message, the issue will be gone.

Upon f...

chilly siloBOT
#

Description

Buttons / drop down boxes that use
await interaction.response.edit_message(embed=embed, view=view)
will half render in iOS on iPhone. The same code in MacOS, iPadOS, Windows, Mac or Web version will render properly.

Steps to Reproduce

Component that use edit_message will not render properly.

Expected Behavior

UI with buttons or dropdown boxes will render

Current Behavior

Component that use edit_message will not render properly.

Screenshots/Videos

...

#

Limits on bots make sense without some sort of paid usage, but I don't understand a rate limit for a premium paying server owner who is just using the service normally. Wouldn't the easiest solution be to allow upload of multiple gifs at once instead of having to select each gif one-by-one? This would remove real-world usages being rate limited.. I just created my server recently and I can't even use discord as a normal server owner (non-automated activity).

chilly siloBOT
chilly siloBOT
#

This pull request updates the documentation for message and modal components to directly link to the relevant Discord developer documentation, making it easier for users to find more detailed information.

Documentation improvements:

  • Added a link to the official Discord documentation for the Message object in the message components overview section.
  • Added a link to the official Discord documentation for the Modal interaction response object in the modal components overview section.
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I am trying to set assets in the activity of a discord rich presence, which causes a hard crash.

Tried setting all these which causes a crash:

  • Large image, Large Image Description, Large Image Url
  • Small image, Small Image Description, Small Image Url

I have uploaded all assets to the discord developer portal in my application and other features works as intended + i have checked the keys that they match what is in the developer portal. Also tested that they are being ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Non-clickable buttons in a locked threads
I have administrator permissions, but the button is not clickable
Related issues: https://github.com/discord/discord-api-docs/issues/6907

Steps to Reproduce

  1. Create a thread
  2. Lock the thread
  3. Send a message with interactive components

I used to respond to the command:

{
	"components": [
		{
			"type": 1,
			"components": [
				{
					"type": 2,
					"style": 1,
					"custom_id": "ping",
					"label": "Ping"
				}
...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Hello after a few days it's been 3 days that my bot in its Cmd after a little while marked a key in place of the translation this does this on my 3 bots except it has always worked well and it is not on my side the problem I have an image of the key that it displays after a certain time more to put the translation back I have to launch a music and if I stop the translation comes back in place of the key so problem somewhere on the discord side I think because I modified 1 of ...

chilly siloBOT
#

Ce n'est pas une erreur d'API Discord

Do you know what you know then? Because on my side nothing has been changed yet on the 1 bot I modified so I could have thought that there was only him but my 2 other bots which were not modified background the same for 3 days there translation is displayed then after a certain time of inactivity the raw key is re-displayed in place of the translation moreover I have to restart music to be able to display it again which seems strange to me

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#
Edit a previously sent message. The `content`, `embeds`, and `components` fields can only be edited by the original message author. Other users can only edit `flags` and only if they have the `MANAGE_MESSAGES` permission in the corresponding channel. When specifying flags, ensure to include all previously set flags/bits in addition to ones that you are modifying. Only `flags` documented in the table below may be modified by users (unsupported flag changes are currently ignored w...
chilly siloBOT
#

I'll bump this as I'm trying out modals and see the same 3-year-old issue.
Modal inputs' native validation is limited, and if there is a need to have a deeper validation, for example, checking if the text input contains a specific phrase, then both options to do so are bad:

  1. Send a reply to the modal interaction so it closes and the user sees the message. However, the modal fields are now reset.
  2. Send a follow-up to the original interaction ONCE so the modal fields persist. Howev...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

After going through the Oauth process. I am not being redirected to the set redirect URL.

The generated Oauth link I am using:
https://discord.com/oauth2/authorize?client_id=1324025532182036542&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3001%2Fauth%2Fcallback&scope=identify+guilds+guilds.members.read

Steps to Reproduce

  1. Create application
  2. Create Oauth redirect URL (ex. http://localhost:3000/auth/callback)
  3. Generate Oauth Link
  4. Proceed through ...
chilly siloBOT
#

Description

In Modals when i Copy Paste a Screenshot, it will paste into the chat behind the modal.

This is not part of the bug but would be very much appreciated:

  • It would be insanely beneficial if you could focus file upload components in modals, to copy paste files into it from clipboard.
  • currently, especially when talking about screenshots, it is very bad to use the modals, because users always need to save the files before they can actually upload it.

Steps to Reproduce

O...

chilly siloBOT
chilly siloBOT
#

Description

Currently, it is not possible to set the IS_COMPONENTS_V2 flag on a deferred reply. This means you have to set it on the subsequent edit request, if you intend to use components v2.

Steps to Reproduce

Reply to an interaction with this callback response:

{
  "data" : {
    "flags" : 32768
  },
  "type" : 5
}

The resulting message has flags 128 (LOADING) but not IS_COMPONENTS_V2. According to [the docs](https://discord.com/developers/docs/interactions/...

chilly siloBOT
#

Description

When a file upload is requested for a slash command, the option name in the drag & drop box is using the unlocalized name of the option, not the localized name.

Steps to Reproduce

Have a bot with a command that has a file upload option that is localized
Set your client language to a language with that localization
Open the command input with the file upload option selected (assuming the option is not a required option)
Observe the unlocalized label at the top right of t...

#

Description

It is no longer possible for applications to own a guild. When Discord migrated ownership of application owned servers to real users, the application_id was not set to null in the process.
I expect this issue to be present on all servers that had ownership forcefully changed by Discord from a bot to a user.
I am unable to confirm whether or not this also affects servers that voluntarily chose a real user to own the server before the deadline.

Steps to Reproduce

GET /gui...

chilly siloBOT
chilly siloBOT
#

Bumps actions/setup-node from 5 to 6.

Release notes
Sourced from actions/setup-node's releases.

v6.0.0
What's Changed
Breaking Changes

Limit automatic caching to npm, update workflows and documentation by @​priyagupta108 in actions/setup-node#1374

Dependency Upgrades

Upgrade ts-jest from 29.1.2 to 29.4.1 and document breaking changes in v5 by @​dependabot[bot] in #1336
Upgrade prettier from 2.8.8 to 3.6.2 by @​dependabot[bot] in #1334
Upgrade acti...

chilly siloBOT
#

I have a suggested behavior here that I think is very elegant, and would resolve the ambiguity around what to show nicely.

I would suggest Discord does the same thing that Slack does when using their rich "Blocks" concept (akin to Discord's COMPONENTS_V2). Slack has a top-level field called text which is ordinarily used for message contents in non-rich messages. However, if you are using Blocks, that value is used as the text for the notification (or for any other surfaces where the rich...

chilly siloBOT
#

Description

Here is how things currently work:

  • ApplicationCommand.nsfw = true, Guild.nsfw = true, Channel.nsfw = true - Command Allowed - Expected
  • ApplicationCommand.nsfw = true, Guild.nsfw = true, Channel.nsfw = false - Command Restricted - Unexpected !!!
  • ApplicationCommand.nsfw = true, Guild.nsfw = false, Channel.nsfw = true - Command Allowed - Expected
  • ApplicationCommand.nsfw = true, Guild.nsfw = false, Channel.nsfw = false - Command Restricted - Expect...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

In Members section of a Discord Server, there is a "Signals" functionality where you can check for suspicious activity in certain members.

Currently there is no API endpoint for it. Having such endpoint would be very useful in automatization of Anti Spam Bots with multiple layer verification if a member is a spamming bot, stolen account or just a troll (since many servers forbid sending such links).

#

I am experiencing the same issues. For me it happens with both the new components and old embeds. It also happens regardless of buttons or other interactive elements. Simply editing text is enough to cause a bad re-render on phone (i have an iPhone as well). These have worked perfectly before and no code is changed on my bot - so definitely a bug introduced by discord.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When pasting a slash command with all arguments pre-fill out and auto-complete is enabled, it sends the name of the auto-complete argument instead of the value. If you instead type everything out or click on the auto-completed options and click the option from the list of options (above the textbox) it will send the correct value.

This problems seems similar to https://github.com/discord/discord-api-docs/issues/4556 and has existed for a long time. Was never really able to c...

chilly siloBOT
#

This is just a speculation, but when you copy and paste, you aren't choosing an option, you're merely just inputting your own value. So even though the label is the same as the input, it doesn't necessarily mean you're choosing that option. This is different from the issue you linked as users actually selected an option, not just copy and pasted the command with the input.

#

Yes, that sounds about right. I wasn't 100% sure and that's why I mentioned it seems similar. Still interesting that the valid input check still sees it as a valid options but this could be because the name is only validated to an existing auto-complete option.

So it's sees it's a valid option but the option maybe not actually selected.

chilly siloBOT
#

Description

The member flag, rejoin seems to reset if the user did not rejoin the guild within a certain period of time. And I believe this flag is for the 'new member' leaf thingy if that even changes anything (souji and [advaith](#api-chat message) mentioned this part).

If intended to be reset, I feel like it should be stated in the docs

Steps to Reproduce

Join and Rejoin a guild after a few months

Exp...

chilly siloBOT
#

So I was thinking, it’d be super useful to have a copy button for code blocks inside message components.
When using containers (CV2 components), you can’t long press to copy stuff, which makes it kinda annoying when you just wanna grab a bit of code or text.

A small “copy” button would fix that and make it way easier to use.

Thanks!

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

Description

Messages which only contain the Separator component (used to separate content posted by other users) are not rendered on desktop, but show normally on mobile (at least iOS)

Steps to Reproduce

Send a message with only a visible Separator component (either spacing options work):

{
  "flags": 32768,
  "components": [
    { "type": 14 }
  ]
}

Expected Behavior

It should render properly, just like it does on mobile

Current Behavior

It is not rend...

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

Hey @advaith1 i would really love this feature

The only way to get around this is really not ideal, you would have to fetch the messages and manually delete it, as you pointed out yourself would a simple flag to not send the pin notification be perfect as it would require even less calls (you wouldn't have to delete the message and the message would not be send)

Also @night i would like to note that 1, the message does not seems to be type 6 anymore, they seems to be type 0

  • Listen after a...
chilly siloBOT
chilly siloBOT
#

Description

so i found a way to be in 3 diffrenet vcs on the same account at once i dont know if thats supposed to be a thing but i figured it out. also i joined a locked vc by accident and i dont know how i did it

Steps to Reproduce

to join multiple vcs you have to be on different platforms and different devices and you cant be in the same vc

Expected Behavior

multiple calls at once

Current Behavior

multiple calls at once

Screenshots/Videos

i dont have any

...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

What i mean with this is a command option that for an example is default False but when it's added to the slash command will it be True

And example of this would be:
ephemeral = default False
/ = ephemeral False
/ ephemeral = ephemeral True

This would make it super easy to add boolean options instead of having to set either a True or False

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Member profile is not being updated even the app doesn't exist on the server but client forgets to update metadatas of member in x-y server.

Steps to Reproduce

Go to x server and go to y server.

Expected Behavior

Displaying X app's metadata on user's profile for x app and vice versa.

Current Behavior

Shows x app's metadata on Y server even though x app is not existing on Y server but only x server.

Screenshots/Videos

https://github.com/user-attachments...

chilly siloBOT
#

No, you're completely missing what i'm saying, i'm not requesting boolean options, i'm requesting a way to NOT have options / choices in an boolean option, from my understanding is that not supported by discord, if it is then please show me where i can read more about it

This is what you get when using a boolean option, i DO NOT WANT the True and False options (or any options)...
<img width="421" height="265" alt="image" src="https://github.com/user-attachments/assets/e6033932-b9d7-4446-b...

chilly siloBOT
chilly siloBOT
#

Description

If a user has created a poll but is timed out, they can still send an API request to end the poll now. This allows them to send a message in a channel they temporarily don't have access to send messages in.

Steps to Reproduce

  • start a poll
  • Time out a user
  • have that user end the poll early

Expected Behavior

User cannot end the poll early while they cannot send messages in a channel

Current Behavior

User can end the poll early

Screenshots/Videos

_No...

chilly siloBOT
chilly siloBOT
#

Can you help me understand how this would work in a multi param command case?
/cmd boolArg, textarg Would the boolArg just be assumed if I just enter the text? i.e -> /cmd hello world = /cmd false hello world
/cmd2 boolArg1, boolArg2, choice, autocomplete -> /cmd2 choiceA autocompleteChoiceC

Do you think on larger param commands this might confuse users a little bit? Because when submitting the command you are just outright not passing anything to several parameters so it wou...

chilly siloBOT
#

Can you help me understand how this would work in a multi param command case? /cmd boolArg, textarg Would the boolArg just be assumed if I just enter the text? i.e -> /cmd hello world = /cmd false hello world /cmd2 boolArg1, boolArg2, choice, autocomplete -> /cmd2 choiceA autocompleteChoiceC

Do you think on larger param commands this might confuse users a little bit? Because when submitting the command you are just outright not passing anything to several parameters so it...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

It would be cool if we could specify the requested files size in the FileUpload components, while remaining within the limits imposed by Discord.

Use cases:

  • An attachment is uploaded in server1/channel1 and must be reposted in server2/channel2, we need to ensure that the bot can repost it.
  • I have a modal that allows the user to upload a txt file with some data, but I want to restrict the maximum size for two reasons:
    • The file will be uploaded on my server and more than `25...
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
#

Description

When writing markdown, the parsing is not how it should be. Specifically, when writing a bold line and a list afterwards.

Steps to Reproduce

Write the following markdown in the long description of the bot:

**Something bold:**

- list item 1
- list item 2
- list item 3

Expected Behavior

It should render as

Something bold:

  • list item 1
  • list item 2
  • list item 3

Current Behavior

It renders as

Something bold: - list item 1 - list item 2 ...

chilly siloBOT
chilly siloBOT
#

I am struggling to understand what is wrong but I want to help.

In particular, I do not quite understand your explanation in conjunction with the video. What would be particularly helpful is if you could provide a comment annotating what is happening in the video and what you would have expected to happen instead.

From what I saw in the video, it looked like you were just jumping between servers and looking at a user's profile, but i have no context as to what is wrong at all.

chilly siloBOT
#

I am struggling to understand what is wrong but I want to help.

In particular, I do not quite understand your explanation in conjunction with the video. What would be particularly helpful is if you could provide a comment annotating what is happening in the video and what you would have expected to happen instead.

From what I saw in the video, it looked like you were just jumping between servers and looking at a user's profile, but i have no context as to what is wrong at all....

chilly siloBOT
#

I am struggling to understand what is wrong but I want to help.

In particular, I do not quite understand your explanation in conjunction with the video. What would be particularly helpful is if you could provide a comment annotating what is happening in the video and what you would have expected to happen instead.

From what I saw in the video, it looked like you were just jumping between servers and looking at a user's profile, but i have no context as to what is wrong at all....

chilly siloBOT
chilly siloBOT
#

This PR updates what fields a resolved channel object has, or in this case what fields that are always missing.
I added the '(always)' because certain channel types do not have a field that other channel types have, but that doesn't mean it's always missing.

ForumChannel

{
  "type": 15,
  "topic": "..."
  "theme_color": null,
  "template": "",
  "rate_limit_per_user": 10800,
  "position": 18,
  "permissions": "2258386414333638",
  "parent_id": "1141177805753815180"...
chilly siloBOT
#

Description

When deploying an HTTP interactions bot on Cloudflare Workers, making a fetch() request to Discord (using the POST method) from a worker does not resolve. The Promise returned by fetch() hangs indefinitely - even though the request is sent (e.g. deferring results in the user seeing the loading state).
This means, for interaction callbacks or any other Discord requests, the callback must be the last line in your worker's fetch() handler, or Cloudflare Workers cannot be...

chilly siloBOT
#

Update:

I found out you have to do your logic like this, for it to actually work.

// Worker fetch handler
fetch(request, env, ctx) {
  /* Validation here */
  ctx.waitUntil(
    new Promise(async function (resolve) {
      // Do deferr or reply and it's non-blocking
      return resolve(undefined);
    })
  );
}

return Response.json({}, { status: 202 });

This works now because we accept the interaction first, but then in the background we do something in that promise.

I would l...

chilly siloBOT
#

Description

My website (https://scrapmechanictools.com/) is not embedding in Discord if I post its URL.

I checked the server's access log and it appears as if there is no request coming in from Discord.
However, if I post the URL with HTTP (no S) or post the IP directly, there is a request - it still does not embed (probably due to a redirect to HTTPS) but it shows that my network is not blocking the bot.

I also tried using the Discord embed debugger, but it only shows "internal er...

chilly siloBOT
#

Next Generation Docs Project

We're excited to announce the launch of our Next Gen Docs project! This initiative aims to improve the way developers interact with Discord's developer documentation, making it more accessible, comprehensive, and user-friendly.

Our Goal

The Discord API has evolved far beyond its origins as a platform for bots. Today, we're a comprehensive developer platform supporting:

  • Discord Apps and Bots - The foundation of our ecosystem, extendi...
#

We are officially migrated to our new docs platform, Mintlify! (details in #7938) 🎉

This is just the first part of our project to improve the docs. We needed to get our content moved over to Mintlify before we can continue with the changes we want to make next.

🎨 Design Tweaks and Bugs

We didn't want to tackle moving all the content and redesigning things too much so we tried to stick to our previous design for the migration. You might encounter a few design and styling bugs, we w...

chilly siloBOT
#

Description

When I tried to open the docs running on the new docs engine (the intro page) on a phone with a slow internet connection I noticed it took quite a while until the page became interactive (ex. I couldn't open the side menu, etc)

poking it with dev tools later I confirmed it takes it ~4MiB of data to be loaded until the scripts get fetched & the page becomes interactive.

After messing with it a bit more I discovered that the page l...

chilly siloBOT
#

Heyo - thanks for flagging this. Definitely something we want to keep an eye on.

For transparency, here is our current information / philosophy on this...

  1. We're currently running the Mintlify recommended caching setup which favors page freshness over long cache life. I expect we'll keep this for the first few weeks of the new docs site as we expect to be iterating on small (CSS) quirks and would prefer pages to lean fresher. However we'll almost definitely lean towards more aggressive ca...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

This PR updates what fields a resolved channel object has, or in this case what fields that are always missing.
I added the '(always)' because certain channel types do not have a field that other channel types have, but that doesn't mean it's always missing.
Same as #7935 but with the new docs so its easier for staff

ForumChannel

{
  "type": 15,
  "topic": "..."
  "theme_color": null,
  "template": "",
  "rate_limit_per_user": 10800,
  "position": 18,
  "permissions"...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

It also seems that due to rencoding, that the file looses its selected compression settings, for example pixel art using the icon preset in krita become blurry when otherwise they wouldn't be:
https://beefox.xyz/post/webp-test

This image is an animated image with a semitransparent section and uses the "icon" compression of webp, when embeded by posting the link to discord, you can see the highlighted issues.

chilly siloBOT
#

I would expect that searching exactly for a heading in all lowercase (for example "create message") would return said heading and section as a search result.

Interestingly enough, after looking at the mintlify/trieve docs and starting to play around with queries, i cannot find any route or query parameter that returns this (not even demanding it to be the top result, but surely it should be anywhere, somewhere?)

The AI assistant knows about it as well:

{
	"query":...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I’m trying to duplicate my server and for some reason, it’s not showing me the server template…possibly a bug?

Steps to Reproduce

Not able to see the server template button

Expected Behavior

I expected to see the button since everyone else could see it

Current Behavior

Not able to see the “server template” button

Screenshots/Videos

No response

Client and System Information

I’m using the browser on my computer and it’s been updated, I checked mu...

chilly siloBOT
#

You can find the Server Template settings at the bottom of Server Settings if you have appropriate permissions:

<img width="254" height="108" alt="Image" src="https://github.com/user-attachments/assets/73870285-f584-4edc-958b-8d84426013aa" />

If you need more help, then contact support - this issue tracker is only for API and bot-related issues, not for general Discord support.

chilly siloBOT
#

Description

En el issue #5558 del repositorio oficial discord‑api‑docs se describe que, al responder una interacción, el bot ve un error “Unknown Interaction”, aun cuando el mensaje efectivamente se mostró al usuario.

Steps to Reproduce

En el issue #5558 del repositorio oficial discord‑api‑docs

Expected Behavior

Que no tire error , el bot ve un error “Unknown Interaction”, aun cuando el mensaje efectivamente se mostró al usuario.

Current Behavior

un error “**Unkno...

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

Description

Certain media, in this case an mp4 video, will fail to render intermittently. Screenshot:

Failing

Working (same payload)

Steps to Reproduce

I don't have a consistent way to repro as the issue is very intermittent. What I can say is that the issue has become more prevalent in the past few days, so maybe it's related to a recent update that was pushed out?

If it is helpful, here is a message link to the not working message and the working one below that: ht...

chilly siloBOT
chilly siloBOT
#

Hello! If I understand your report correctly, this is the same issue as https://github.com/discord/discord-api-docs/issues/5558 with the additional detail that you're building your app using Bot Designer For Discord.

I'm going to close this as a duplicate of that earlier issue, but thank you for writing! It is helpful to know devs are still seeing this issue. Feel free to add additional details in the other thread.

chilly siloBOT
chilly siloBOT
#

Description

For a few days now, most video links from https://link.issou.best/ and https://ordr.issou.best/watch/ have stopped embedding properly in Discord. These are websites that I operate.

Nothing has changed on my server's end, and based on my web server logs, I can confirm that Discord link retrieval bots (user agents Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com/), and Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0) are s...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Bit of a convoluted one, talked with @advaith1 in the Discord Developers server before coming here.

If you invite a bot with the both bot and applications.commands scopes from a browser on Android, the page redirects to the app which returns a message saying "Invalid scope: bot+applications.commands."

The issue does not appear if +applications.commands is removed from the invite URL.

Steps to Reproduce

  1. Open "https://discord.com/oauth2/authorize?client_id=361...
chilly siloBOT
chilly siloBOT
#

Description

The accordion for the file upload examples isn't displayed.

https://github.com/discord/discord-api-docs/blob/main/discord/developers/docs/components/reference.mdx?plain=1#L2030

Steps to Reproduce

  1. Go to https://discord.com/developers/docs/components/reference#file-upload and scroll down to the Examples subheading
  2. Try to find a way to extend the accordion or even try to find the accordion

Expected Behavior

The accordion should be displayed like the accordion ...

chilly siloBOT
#

Hello. Please give us an ability to predefine media item width/height so It can hold layout size stable while still loading an image. It works well when you put image as attachment of response (because discord knows about image size), but it doesn't work if you pass Media Gallery with just URI link. This way discord embed / V2 layout is getting shrinked and big again after image load, and there are no magic http headers or anything that can help with it

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Currently ETF encoded gateway events are sent with the d, op, s and t fields in arbitrary order.
In practice, I always encounter the fields in the d, op, s, t order.
Because the type of the d field can only be determined by the op and t fields, decoding of the event requires skipping the d field (possibly transcoding it into a temporary representation), then reading the op and t fields, only to then decode the d field once more with actual type info.
This makes decoding rather wasteful, be...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The docs are correct there - "Manage Permissions" and "Manage Roles" are indeed the same permission, and the client shows different names depending on whether the user is looking at a guild or a channel context.

The restriction on setting the overwrite is also intentional:

Setting MANAGE_ROLES permission in channel overwrites is only possible for guild administrators or users with MANAGE_ROLES as a permission overwrite in the channel.

https://discord.com/developers/docs/change-log#change-...

chilly siloBOT
chilly siloBOT
#

Ok perfect, I think I understand you now. Basically, the bot can't add the permission, but if the bot have the guild-wide MANAGE_ROLES permission, will it be able to change role/channel permissions as it wish?

I think throwing a missing permissions error is a bit misleading here, since you would expect it to be handled the same way as any other permission (It has the perm, therefore it can add it)

Adding that context to the API docs might also be a good idea since the `"Manage Permissio...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Sometimes when an embed in a message is edited, the embed will update, then immediately revert back to its original state, before the edit.

The example in the provided video shows no delay before editing the message after the message was sent, but this does still occur when short delays are used.

Sometimes you will just not see the embed update at all. The message will change to say edited, but the embed doesn't visually change.

Steps to Reproduce

Send a message with ...

chilly siloBOT
chilly siloBOT
#

Bumps js-yaml from 4.1.0 to 4.1.1.

Changelog
Sourced from js-yaml's changelog.

[4.1.1] - 2025-11-12
Security

Fix prototype pollution issue in yaml merge (<<) operator.

Commits

cc482e7 4.1.1 released
50968b8 dist rebuild
d092d86 lint fix
383665f fix prototype pollution in merge (<<)
0d3ca7a README.md: HTTP => HTTPS (#678)
49baadd doc: 'empty' style option for !!null
ba3460e Fix demo link (#618)
See full diff in compare view

[![De...

chilly siloBOT
#

Hi,

I am developing a bot and for one of its features I would like it to connect to a voice channel and broadcast an application.
Unfortunately, I can't find any options for this.
Can you tell me if I've missed something? Or could you include it in one of your future developments so that I can use it?

Thank you in advance.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Issue: import.meta.dirname does not exist

import.meta.dirname is not a standard Node.js feature.

Issue: fs.readdir does not support { recursive: true }

Node’s standard fs.readdir does not support recursive listing

Unclear variable name: bail

bail likely means “exit on first error,” but the variable name is not immediately clear. Consider renaming to something clearer:

Missing: Filter out directories before path.extname

If recursive directory walking is implemented, direct...

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

Description

When creating an AutoMod rule using the Discord API, the REST endpoint intermittently rejects valid trigger_type values. I am sending the same request each time, yet the official API replies with a validation error stating that trigger_type must be 1, even though 4 is a documented and valid trigger type ("Keyword preset").

The exact same request succeeds on the canary API hostname, but fails randomly or consistently on the normal API (https://discord.com/api/v10). This incon...

chilly siloBOT
chilly siloBOT
#

~Я тоже сталкивался с этим, создал публикацию на форуме api-help, но мне так и не ответили Вот мой форум: https://discord.com/channels/613425648685547541/1431647827855016108~

I encountered this too, and I created a post on the api-help forum, but I still haven't received a response Here's my forum: https://discord.com/channels/613425648685547541/1431647827855016108

I also posted that on that forum - https://discord.com/channels/613425648685547541/1437478948606054500

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I’d love to request an optional parameter for the Pin Message endpoint that prevents Discord from sending the automatic system message.

Why? (Context)

At https://github.com/TicketsBot-cloud, have i been working on allowing the welcome message to be pinned when a ticket is created. The problem is that many users find the system message pinned a message to this channel. See all pinned messages. very spammy and annoying. And honestly, I understand why.

Current Workarounds (No...

chilly siloBOT
chilly siloBOT
#

Next Gen Docs Staging PR

  • Nov 7: We merged and migrated to our new docs platform on November 7th
  • Nov 12: We rolled this back on November 12 to refactor some things
  • Nov 19: We are resetting main back to before the migration so we can continue to ship our docs while we refactor some docs before we turn them back on

[!IMPORTANT]
This branch will be our staging branch to roll out the new docs again. Any PRs merged to main will also get rebased into this branch.

What ar...

chilly siloBOT
chilly siloBOT
#

Bumps js-yaml from 4.1.0 to 4.1.1.

Changelog
Sourced from js-yaml's changelog.

[4.1.1] - 2025-11-12
Security

Fix prototype pollution issue in yaml merge (<<) operator.

Commits

cc482e7 4.1.1 released
50968b8 dist rebuild
d092d86 lint fix
383665f fix prototype pollution in merge (<<)
0d3ca7a README.md: HTTP => HTTPS (#678)
49baadd doc: 'empty' style option for !!null
ba3460e Fix demo link (#618)
See full diff in compare view

[![De...

chilly siloBOT
#

Been playing with automated webhooks recently; and was wondering where expiration or retention field parameter was.

Speaking with on the discord devs, discord, it was suggested that I start a discussion to see if others would find use or value in this feature request.

There's a niche case for expiring webhook messages: with my experience most of the webhook messages are status messages or automatic information (commodity price fluctuations, system statuses, temporary conditions, in-game...

chilly siloBOT
#

In 2023, we had introduced permission splits for guild expressions (custom emoji and stickers) and scheduled events. These changes were made to give server administrators more granular control over who can create content in their communities. Read the change log.

Today, we are announcing that these permissions are now available for bot developers to use and will be required for...

chilly siloBOT
#

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an [ignore condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-upda...

chilly siloBOT
#

Description

  1. Singe-line code block formatting (`) works weird on containers for mobile app, and has some spacing issue
    making it unable to replicate what is seen on web/pc discord ui.

  2. Hyperlinks with any emotes break when forwarded from inside a container.

  • a. Hyperlinks with emotes don't get markdown enabled, unless you use an interaction (such as slash cmd/ui click callback).
  • b. When hyperlinked successfully, it breaks when the message is forwarded.
  1. Containers see...
chilly siloBOT
#

1 - discord.py | discord.js | Bots - My Feature Requests.
So firstly, I would like to recommend that discord's API has a feature where the bot is able to report users to Discord's TOS. This is because discord doesn't seem to have an option to report people in their ticket systems, and people can quite literally just delete rule-breaking content.
Direct microphone input from users: Bots should be able to access live user audio streams for features like transcription, real-time translation, ...

chilly siloBOT
#

A few things. Firstly discord.py and discord.js are 3rd party libraries and not managed by or affiliated with Discord itself. Second you should put separate suggestions in separate discussions.

Receiving live voice packets is already possible and mostly documented here https://discord.com/developers/docs/topics/voice-connections

You should elaborate on what you mean by message updates being limited. What are partial edits?

I believe that this is what you want for the audit log: https...

chilly siloBOT
#

So firstly, I would like to recommend that discord's API has a feature where the bot is able to report users to Discord's TOS.
IMO - allowing bots to submit T&S reports would probably lead to a very high influx of false or spammed reports by malicious users.

This is because discord doesn't seem to have an option to report people in their ticket systems
Discord only uses in-app reporting (and has done for a couple years at least) now for reporting users/messages/servers.
See https://...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Allow devs to disable their application commands

I’d like a built-in way for developers to disable specific application commands without deleting them. The current situation forces devs to soft delete, hide, or return errors. This isn’t a good UX and it becomes confusing for users.

Behaviour

  • Add a per command toggle that marks the command as disabled. Then either
    • A: disabled commands do not appear in the client
    • B: disabled commands appear but are grayed out with a tool...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Currently, when a bot or normal user account tries to DM someone who has DMs blocked, the Discord API returns a 403 Forbidden (discord.Forbidden in discord.py). There is no way to check ahead of time whether a DM is allowed, forcing developers and users to rely on exception handling whenever a DM is sent.

Example Scenario (Bot):

try:
    await user.send("Hello!")
except discord.Forbidden:  # 403 Forbidden from API
    print("Cannot send DM to this user")...
chilly siloBOT
#

Firstly, it's not always more efficient either. (check -> send vs send) Secondly, there's nothing wrong to rely on error handling here so...

You’re right that in some cases just sending and handling the error is fine, and efficiency gains might be minimal.
My main point is more about developer experience and clarity. Having a dedicated way to check DM capability would make code cleaner, easier to reason about, and reduce “expected” 403s in logs.

Even if the efficiency isn’t a huge ...

#

Description

Currently, when a bot or normal user account tries to DM someone who has DMs blocked, the Discord API returns a 403 Forbidden (discord.Forbidden in discord.py). There is no way to check ahead of time whether a DM is allowed, forcing developers and users to rely on exception handling whenever a DM is sent.

Example Scenario (Bot):

try:
    await user.send("Hello!")
except discord.Forbidden:  # 403 Forbidden from API
    print("Cannot send DM to t...
chilly siloBOT
chilly siloBOT
#

This could be part of the Create DM endpoint, which I just found always returns the channel with minimal information about the user.

This endpoint could return a 400 if the user's dm aren't open and a 403 is blocked (like sending currently). Maybe even specific JSON codes to determine whether the user doesn't share a server/app or not open in general.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

We have introduced a new permission: BYPASS_SLOWMODE. This permission allows designated roles or users to bypass slow mode restrictions in channels.

  • The BYPASS_SLOWMODE permission (1 << 52) is being split from MANAGE_MESSAGES, MANAGE_CHANNEL and MANAGE_THREADS.
  • Note: This primarily affects users, as bots are not affected by slowmode restrictions.
  • Starting on February 23, 2026, users will need the BYPASS_SLOWMODE permission to not be affected by slowmode restrictions.
#

We have some important permission changes that will take effect in February 2026.

The introduction of the following permissions were non-breaking changes.

However, the breaking changes described below - where the old permissions will no longer grant these abilities - will take effect on February 23, 2026. These changes involve a few permissions that we split from their original permission to provide more granular control over bot and user actions.

What's Changing?

**1. Pin ...

chilly siloBOT
#

Bumps actions/checkout from 5 to 6.

Release notes
Sourced from actions/checkout's releases.

v6.0.0
What's Changed

Update README to include Node.js 24 support details and requirements by @​salmanmkc in actions/checkout#2248
Persist creds to a separate file by @​ericsciple in actions/checkout#2286
v6-beta by @​ericsciple in actions/checkout#2298
update readme/changelog for v6 by @​ericsciple in actions/checkout#2311

Full Changelog: https://github.com/a...

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

Let me clarify a little bit of what I'm trying to do:
I have an interactions endpoint that checks for commands, which avoid using Message Content Privileged Intent. I want the bot to be online when my interaction endpoint url is online, and vice versa. I don't think there is a way to set presence with NodeJS interaction endpoint, so I also use discord.py to change the presence whenever I turn the interaction endpoint on or off.

It's a bit weird I have to remove the Interactions Endpoint U...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Documentation around the guild_scheduled_event_exceptions field for scheduled events is currently missing.

Steps to Reproduce

  1. Create a scheduled event with a recurrence rule either via the API and the client (the effect is the same).

  2. Cancel a single "occurence" on the scheduled event that was created. A GUILD_SCHEDULED_EVENT_EXCEPTION_CREATE event is emitted, when the client calls:

https://discord.com/api/v9/guilds/{guild.id}/scheduled-events/{event...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Bumps mdast-util-to-hast from 13.1.0 to 13.2.1.

Release notes
Sourced from mdast-util-to-hast's releases.

13.2.1
Fix

ab3a795 Fix support for spaces in class names

Types

efb5312 Refactor to use @imports
a5bc210 Add declaration maps

Full Changelog: https://github.com/syntax-tree/mdast-util-to-hast/compare/13.2.0...13.2.1
13.2.0
Types

24f4576 Add type for data.meta on elements to hast

Full Changelog: https://github.com/syntax-tree/mdas...

chilly siloBOT
#

Description

Autocomplete options fail to load choices when other options have invalid input.
While it is somewhat expected, the UI still shows a misleading message.

Steps to Reproduce

When using a / command with an autocomplete option and any other option with validation (e.g. min_length, etc.) and after filling in the other validated option with an invalid value (e.g. 12 when min_value is `14), the autocomplete option will:

  • search for the autocomplete value in cache, sho...
chilly siloBOT
#

Description

Hello, I’m a bit confused because the event_webhooks_status should always be present and not None according to the docs.
However, when I try to access it from the /applications/@me data, I get a KeyError: ‘event_webhooks_status’.

Steps to Reproduce

get /applications/@me and see that its not part of the returned response

Expected Behavior

it should return a event_webhooks_status equal to one of them 1, 2, 3

Current Behavior

event_webhooks_status is...

chilly siloBOT
chilly siloBOT
#

Hello Discord API Team,

I wanted to suggest an update to the Apply-to-Join system. Right now, when someone applies to join a server, they don’t show up as a guild member until an admin manually approves them. Because of that, bots can’t fetch the user, can’t receive a member add event, and can’t interact with their application at all. This makes it impossible for bots to help with screening or automating any part of the approval process.

It would be really helpful if bots had a way to see p...

chilly siloBOT
#

Hey there, I tested this with my own bot (not using a library) and I'm not able to repro what you're seeing. I see the "No options match your search" error when the options are empty and the options when they're returned.

<img width="656" height="345" alt="Image" src="https://github.com/user-attachments/assets/f7dd5339-6742-4465-bb89-f15d4ca7b9a4" />

Does your option with validation also have autocomplete? It might be something failing within your autocomplete interaction handler.

chilly siloBOT
#

Since the removal of developer badges, we’ve lost a reliable way to identify who actually builds the bots and apps we use daily. This isn't just about vanity; it’s about safety as well.

Right now, anyone can claim they own a popular bot, and "provide help and information" about it, and without digging through external links or support servers, it’s hard for the average user to disprove them or know any better.

While I will gladly admit the badge we lost was pretty easy to get for non-d...

#

How does this solution fix the problem? I can go create a bot with any name I want right now and "verify" it within a couple clicks, then add it to my hypothetical profile showcase. People who are mentally capable of verifying the identity of someone will check the support server or any other official channels/resources regardless, people who are unable to do so will blindly believe the big "mee6" icon on my profile.

And don't even get me started on the abuse potential of people adding ea...

chilly siloBOT
chilly siloBOT
#

Unlike the original 2 responses I will provide actual, non sarcastic input.

I do not think that putting this on a user account is worthwhile. However I think that putting this information on the bot profile would work well.
<img width="592" height="768" alt="image" src="https://github.com/user-attachments/assets/8141d32b-cf34-4dcc-85d6-83e6ca94f897" />
Putting another tab where the green rectangle is that shows all members of the team the bot is on would be pretty cool. I do think t...

chilly siloBOT
#

First, thank you to the Discord team for continuing to evolve the developer ecosystem and for being transparent about changes to developer recognition. Many of us care deeply about building for Discord, and visible recognition helps make that effort feel meaningful. Having to manually write “developer” in a bio doesn’t quite replace that feeling, it turns recognition into decoration, and makes profiles feel less special and less fun to personalize.

With that in mind, here’s a simple propo...

chilly siloBOT
#

Generally I don't think a badge is needed at all; it just causes more slop bots on the platform. If anything, I'd want to see something like what was posted here: https://github.com/discord/discord-api-docs/discussions/8017#discussioncomment-15178216

Plus, generally I don't think it works like you might think it does:

  1. Was the active developer badge not fully automated? If Discord had issues with people contacting support for a badge like that, this wouldn't be any better.

  2. See p...

chilly siloBOT
#

I don't like the idea of it showing all the team members, for 2 reasons mainly

  • You might have users that's a part of the team that you don't want to show on the bot (having it being optional who to show could solve this i guess)
  • This might also lead to scammers specifically targeting the owners account or increase the impersonations of the bot owners
    (like they don't need to know who the owner is to figure out who, they would just have to look at the bot and know exactly who to go afte...
chilly siloBOT
chilly siloBOT
#

Your first point is valid, ideally this would be solved by each team member toggling if they want to show on the bot profile, but that makes a simple solution much more complicated to implement.

I believe your second point is going to hold true for any way that this information is displayed.

Also I was not referring to your comment when I was talking about sarcasm. Only the first 2 replies in the thread.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I think I get permanently blocked to go on this server, I created a fake server with the same name, I think the server was deleted

Steps to Reproduce

The bug started when I leave a funny comment on the server, and I think the server was closed/deleted

Expected Behavior

My behavior is to make fun with people and they're sad instead of happy on my mind

Current Behavior

mrmissingno10 blocked me to join on this server

Screenshots/Videos

C2A

Client and...

chilly siloBOT
#

I would love if that could also be added to the Rich Presence invite embed. Right now does it show the install count.

Install count:

Actual server count:

As you can see from my screenshots above, using the "approximated" install count can be very inaccurate and gives a misleading impression of how many servers are actually using the bot. Showing the actual server count (the same number that’s visible in the developer portal https://github.com/discord/discord-api-docs/issues/780...

#

Also just to add, this can also go the other way, i have another bot that says the install count is 173 servers, while the actual server count is 182 servers

Install count:
<img width="851" height="121" alt="image" src="https://github.com/user-attachments/assets/26a85047-22b8-4ed1-a0b2-351cf2370e1f" />
Actual server count:
<img width="859" height="81" alt="image" src="https://github.com/user-attachments/assets/a780b102-83d0-4551-8b03-7ca615ca422d" />

Generally speaking is the install...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

今はgif画像で代用していますが、gif画像だと音声が入らなかったり、シークバーを移動させることができないためとても不便です。
動画を添付ファイルとして送信するのも、動画のサイズがembedとくらべてアンバランスになったりするため、やりたくありません。
どうかEmbedApiアップデートのご検討おねがいします。

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

Description

The only top-level components allowed when creating modals are Action Row (deprecated), Text Display, and Label. However, the docs for which components will appear in the modal data received by an application lists Select Menus, Text Inputs, and File Uploads alongside the other ones, despite the fact that these components are required to be...

chilly siloBOT
chilly siloBOT
#

Navigate to the modal component docs at https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-component-interaction-response-structures, and take note of which components are listed.

This is a list of all components that are allowed in modals.
If you go to String Select, for example, you will see the following:

<img width="1029" height="224" alt="Image" src="https://github.com/...

chilly siloBOT
chilly siloBOT
#

Description

The API seems to register the custom audit log reason, though it doesn't seem to be loaded in the client's audit log UI.

Steps to Reproduce

Register a slash command that deletes a channel via the DELETE /channels/ API with header reason
(d.js v 14.25.1)

/* ... */
       .addSubcommand(subcommand =>
            subcommand
                .setName('delete')
                .setDescription('Delete a category and optionally its channels.')
            ...
chilly siloBOT
#

I am in need of an API to acquire specific users in a guild. Right now, the best approach is to fetch all users, however with guilds over 1k, this requires pagination and weighing which route is better.

I'd imagine this would still be restricted by privileged intents, if anything based on the count requested (i.e. 5 required).

Example:

Say I need 7 specific users in a guild that has 8315 users. That's either 7 individually targeted user calls, or up to 9 pagination API calls (could...

chilly siloBOT
#

Have you tried Request Guild Members with the user_ids parameter?

Can't use this as I am not operating a gateway bot. This is a webhook/slash command bot. This feature doesn't exist for those, however it's similar to what I'm looking for (although it states it will keep sending events until you get the ones you're looking for, essentially pagination like I mentioned, so not really any different). I can m...

#

IDs are cached as part of the bot's main feature.

Basic flow is:
Guild admins add bot and configure who can use command
Command is used to create role, user of command is listed as the role "owner" (hence the max being 248* users: 250 roles, minus the bot's and Nitro Booster as they're integrations and unable to be "custom managed roles" given out, leaves up to 248 potentially unique owners).
Said "owner" may want to "transfer" the role to a different target user. That's good and resolv...

chilly siloBOT
#

I'm currently still pending approval for said intent. It was denied as they considered it not needed for the former action I described, despite adding the latter action where it actually needs it. I'm assuming it was half read and denied from that, so hopefully they re-check it and it gets approved.

I definitely have "Manage Roles" since it's a bit required for this bot (and enforced to use since it's kinda useless without). I did see the search API too, but didn't know it included IDs. I ...

chilly siloBOT
#

Summary

Add API endpoints to verify if a user owns or has access to a Discord application, enabling developers to build tools that require application ownership validation.

I wanna bump this topic into existence because I'm building something that should verify ownership of an app before accessing some things.

Motivation

Currently, there is no straightforward way to verify through the Discord API whether a user owns or has access to manage a specific application. This limitation...

chilly siloBOT
#

Description

https://discord.com/developers/applications/:applicationId/discovery/status fails to load.

Steps to Reproduce

Open discovery settings of an application.

Expected Behavior

It loads.

Current Behavior

Error: Minified React error #130; visit https://react.dev/errors/130?args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at nn (https://discord.com/assets/index.8acac3d639f2...
chilly siloBOT
#

Bumps @actions/core from 1.10.1 to 2.0.1.

Changelog
Sourced from @​actions/core's changelog.

2.0.1

Bump @​actions/exec from 1.1.1 to 2.0.0 #2199

2.0.0

Add support for Node 24 #2110
Bump @​actions/http-client from 2.0.1 to 3.0.0

1.11.1

Fix uses of crypto.randomUUID on Node 18 and earlier #1842

1.11.0

Add platform info utilities #1551
Remove dependency on uuid package #1824

Commits

See full diff in compare view

Maint...

chilly siloBOT
chilly siloBOT
#

Description

I’ve run into a persistent issue when uploading a GIF avatar or banner for my bot through the Discord Developer Portal. The upload works, but once the image is processed on Discord’s side, the final result appears heavily corrupted or glitched.

The GIF itself is valid and displays correctly everywhere else:

  • It looks normal when used as my personal profile picture or banner
  • It displays correctly in external editors and on Discord clients
  • Only bot avatars/banners process...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

docs/resources/message.mdx and docs/resources/guild-scheduled-event.mdx mention the concept of a "lurkable" guild. However, I cannot find anywhere in the documentation where this concept is defined.

What is a lurkable guild?

Steps to Reproduce

  1. Read documentation for message objects.
  2. Encounter the sentence "Only textual channels that are visible to everyone in a lurkable guild will ever be included."
  3. Get very confused about what this could mean.

Expected...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When you use a slash command with a user option of a user-installed app and select a member having elevated permissions the resolved member in the interaction payload shows a wrong value in its permissions field.

From testing it seems that all permissions that would require MFA on the account (if needed by the guild) are not present on the string containing the permissions bitfield.

This does only happen if the app is not installed as bot on the guild. The permissions...

chilly siloBOT
#

Here's several things I found, all issues affects bot avatars and banners:

  • On the dev portal, setting GIFs result in severe artifacts
  • With the API, setting GIFs works.
  • On the dev portal, setting animated WebPs results in a static image
    • Original image:
      Image
    • Result (these aren't artifacts, it's just that the original is very small and then upscaled):
      <img width="401" height="163" alt="I...
chilly siloBOT
#

I would like to ask an additional question: has the selected user enabled multi-factor authentication?
I was able to reproduce the error only with the account that didn't have multi-factor authentication enabled
My main account does have multi-factor authentication enabled, so when I selected it, the bit field in permissions returned the correct value

chilly siloBOT
#

I would like to ask an additional question: has the selected user enabled multi-factor authentication? I was able to reproduce the error only with the account that didn't have multi-factor authentication enabled My main account does have multi-factor authentication enabled, so when I selected it, the bitfield in permissions returned the correct value

fwiw, I don't think this is a bug with the interaction data resolution. If a guild requires MFA for moderation actions (this is in the gui...

chilly siloBOT
#

Description

When I go to https://discord.com/developers/applications/[application id]/bot, it gives a long page saying "Minified React error #130"

Steps to Reproduce

Create an application, and go to the bot tab.

Expected Behavior

It should show the correct bot screen.

Current Behavior

It shows a react error with nothing else.

Screenshots/Videos

Client and System Information

I am using Firefox 144.0 on Linux

#

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an [ignore condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-upda...

chilly siloBOT
chilly siloBOT
#

I would like to ask an additional question: has the selected user enabled multi-factor authentication? I was able to reproduce the error only with the account that didn't have multi-factor authentication enabled My main account does have multi-factor authentication enabled, so when I selected it, the bitfield in permissions returned the correct value

So, I screwed up twice in the previous test.
First, I didn't grant administrator rights to my role; I simply assigned the old role to my se...