#github-notifications

1 messages · Page 3 of 1

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Maybe to combat this issue an application could register custom IDs that can be interpreted and executed in another property in the message payload in an allowed_mentions-like syntax?

e.g.:

{
  "content": "<interaction://test> (gets rendered and can be executed) <interaction://evil_custom_id> (isn't rendered and cannot be executed)",
  "allowed_interactions": ["test"]
}

Still, what if the bot developer is on vacation and doesn't have time to add t...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I have an access token for each user I add but this didn't work.
Also strange is that when I try to add 2 or 3 accounts in a row it succeeds, but when I try to add many accounts in a row it fails.
For reference, here is the code to get the access token.

request("POST", "https://discord.com/api/v10/oauth2/token", {
         headers: { "Content-Type": "application/x-www-form-urlencoded" },
         body: `redirect_uri=${redirecturi}&client_id=${clientID}&client_secret=${clie...
chilly siloBOT
#

Description

I am trying to create an app that would help people manage their guilds better but with the Oauth token, I am unable to use the /users/@me/guilds/{guild.id} API

It's throwing me an error

{
    "message": "401: Unauthorized",
    "code": 0
}

Here is an array of scopes I configured

'identify',
  'email',
  'connections',
  'guilds',
  'guilds.join',
  'guilds.members.read',
  'gdm.join',

Steps to Reproduce

You can clone this r...

chilly siloBOT
#

Description

Hello, it seems that the search does not work on the application directory, if you click on a category or write something, there are just five robots that appear.

Steps to Reproduce

Go on app directory, click on a category.

Expected Behavior

See bot in this category.

Current Behavior

See juste five bot: Mee6, Dyno, Carl bot...

Screenshots/Videos

![image](https://user-images.githubusercontent.com/64205064/197738265-2bf63ef8-d1d5-4819-a29d-e9436b6629b2.p...

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

tl;dr I think it would be nice but it's quite abusable, staff don't seem to want to implement it and a dead horse I beateth not.
It's not abusable. This is data available to all users. /whois commands just aren't complete without this. I think this would really help. It may not have to go into an intent because this is public data available to all users. Kinda unfair, right? Users can access this but bot users can't.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Moves change log entries to separate files and adds frontmatter metadata to them that can be parsed from the docs. Besides making it easier to create new entries, it makes it possible to display recent entries on intro page and render metadata (like breaking maps to breaking changes and will display a banner).

PR to convert all of the docs to MDX is closely behind this one (will probably wait to merge).

  • [ ] Still need to update link checker script to accommodate for this.
chilly siloBOT
chilly siloBOT
#

Description

When i try to remove Application Tags it tells me that i cant remove them because my App is verified.
It thinks that i try to rename the app even if i don't do that.

Steps to Reproduce

Go to https://discord.com/developers/applications click on a verified App, head to "General Information" and trying to remove a current Tag.

Expected Behavior

The Tag gets removed without telling me that it doesnt work because my App is verified

Current Behavior

If i try ...

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

I currently developing a web3 multitenancy application.
One application can contain multiple (N) different website addresses. It depence on tenant, ex.
https://tenant-a.test.myawsome.app
https://tenant-b.test.myawsome.app
https://tenant-c.test.myawsome.app
https://tenant-a.myawsome.app
https://tenant-b.myawsome.app
etc...

These applications use this same discord BOT.
User can connect his profile with the discord account, then discord BOT can ping his name if something will happen...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Hello 👋

Please provide an option on IDENTIFY to disable the mass sending of GUILD_CREATE payloads. The option can be defaulted to enable which would prevent any breaking changes or causing issues for any bots/libs that don't want to support or need this.

Benefits For Those That Opt To Disable

  • Potentially remove the 5s delay for each shard to identify because Discord may not need to give its databases time to make all those requests to get guilds, channels...
    • Near ...
chilly siloBOT
#

Description

It seems that there's a few complaints already about the autocomplete's caching:
https://github.com/discord/discord-api-docs/issues/4804
https://github.com/discord/discord-api-docs/discussions/5121

I agree, it should be optional. It's conflicting with my use case as well: choices which can only be chosen once.

Though what I'm even more concerned about is that it seems that somehow this cache is shared across different commands. So if I have two entirely separate comma...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Since text channels have been added to voice channels having the ability to use member context commands on voice channel members.
This would allow for faster actions on members who are in a voice channel with you.

The reply to the interaction would then be sent to the built in text channel in the voice chat (when using the command the UI would automatically open up the text channel)
(The commands wouldn't be accessible if the text channel is disabled, like regular channels where you can'...

chilly siloBOT
#

@DV8FromTheWorld I believe there is not much more debugging I can do here. Due to this issue happening at a random chance and requiring a high volume of interactions it would be impossible to gather enough data to be able to tell exactly why it's happening. All I can tell is that, on discord.js, after calling deferReply() the request is sent to this method which I am not familiar with...

chilly siloBOT
#

If it helps, I also get totally random, out of nowhere, “unknown interaction” errors in my bot logs [i run a bot in discord.py] when sending a non-deferred response to an interaction (ie its just interaction.response.send_message() rather than a deference response with a use of the followup webhook).

I’ve never bothered trying to work out why it happens since the error traceback shows its clearly a Discord issue, rather than to do with anyones’ library implementations [unless every single ...

chilly siloBOT
#

@Drakyoid, you must include the code_challenge in the generated URL. If no transformation is applied, the code_challenge can be the same as the code_verifier and code_challenge_method can be sent as plain. As a result, your URL should look like this:
https://discord.com/oauth2/authorize?client_id=CLIENT_ID&redirect_uri=lokapp%3A%2F%2F&response_type=code&scope=identify&code_challenge=CODE_CHALLENGE&code_challenge_method=plain

The criteria for generating the code verifier, as we...

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

Description

Unsure if it's intended, considering that the documentation does not specify any sort of narrowing of the enum either - namely https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-menu-structure - the type of channel_types is array of channel types, but I feel like this is less than desirable behavior.

Steps to Reproduce

Assuming DISCORD_TOKEN is set to a valid bot token in your shell:

curl -X POST -H "Authoriza...
chilly siloBOT
#

Description

When you type a slash command quickly, especially after clicking on a different channel, discord does not recognise the slash command and doesn't enter the options as desired (Normally subsequent attempts in the same channel work). Furthermore, when you press enter and send the message, it sends it as a regular message, instead of submitting it as a slash command.

Steps to Reproduce

  1. Get a bot with a slash command and an argument (preferably a short one)
  2. Click on ...
chilly siloBOT
chilly siloBOT
#

Description

Docs state that emoji_id and emoji_name will not be both set. See: https://discord.com/developers/docs/resources/channel#forum-tag-object-forum-tag-structure

The gateway seems to send the tag with emoji_id: 0

Fetching the channel in Postman (GET https://discord.com/api/v10/channels/961365597344657458) from the REST API returns the forum tag correctly. (emoji_id: null)

Steps to Reproduce

Connect to the gateway and wait for GUILD_CREATES to be sent aft...

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

@khp After attempting to creating a minimal repro, I realized that the bug is a bit more subtle than I thought. Here's the minimal code you'll need to reproduce it using discord.js:

import {
  REST,
  Routes,
  Client,
  GatewayIntentBits,
  ApplicationCommandOptionType,
} from "discord.js";

export const TOKEN = "";
export const CLIENT_ID = "";

const commandOne = {
  name: "one",
  description: "One",
  options: [
    {
      name: "thing",
      description: "Thi...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I had posted about this issue a while ago, here is a repro, with JDA

The steps are as follow:

  • Use the first option (class_name)
  • Choose a class name
  • Start typing in the second option (method_name)
  • Go back to the first option (class_name)
  • Choose another choice
  • Go to the second option
  • Delete the previous input
  • Start typing again
  • The choices are the same as if i had kept the old class_name

Expected result: An input changed, so the autocomplete cache of other i...

chilly siloBOT
chilly siloBOT
#

As the title clearly states, it was for ALL integration roles, including those added via bots using features such as guilds.join, of course that was classically ignored when the issue was closed. Which based on "do not effect the state" in this discussion is clearly possible (unless that was a typo).

Anyways, this repo is for bots & API, and what I was clearly asking for there was a change in API behavior.

chilly siloBOT
chilly siloBOT
#
khp

I still have the issue, on the web version of canary, version: canary 156215 (0dab0a5)

I think what you're experiencing is different from the OP, which was that autocomplete options with the same names for different commands were returning the same values, which I hope is fixed. It seems like yours is more along the lines of https://github.com/discord/discord-api-docs/issues/4804https://github.com/discord/discord-api-docs/issues/4804 which is a bit different. Will have to look into tha...

chilly siloBOT
chilly siloBOT
#

There is an issue that needs to be addressed by Discord regarding per-resource rate limits.

TL:DR Optimal Implementations require a consistent specification; which currently is confirmed to be inconsistent due to unstated exceptions.

Context

The context of this entire thread can be found from the following issues.

#

This discussion may be relevant to the following users.

Context:
https://github.com/discord/discord-api-docs/issues/5144: @erkinalp @splatterxl @Bluenix2 @Zoddo @lordofpolls
https://github.com/discord/discord-api-docs/issues/5557: @TAG-Epic @supersajuuk @AlmostSuspense @mbialecka @IanMitchell @night
Rate Limit Editors (https://github.com/discord/discord-api-docs/pull/4694): @shaydewael @devsnek @advaith1

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

There's a difference between being straightforward and rude.

I liked one comment from Night
— @SuperSajuuk

As you stated, you were involved in that issue — on an answer that provided information about rate limits — and I pinged accordingly. In a similar manner to other users, you could have simply closed the ping. Certain users are happy for being pinged. Others (such as @lordofpolls) are using these threads to implement rate limit consumers, and should NOT be burdened by futur...

chilly siloBOT
chilly siloBOT
#
[discord-api-docs] Branch hemu/add\-automod\-regex was force-pushed to `4086c7a`
chilly siloBOT
#
[discord-api-docs] Branch hemu/add\-automod\-regex was force-pushed to `4a09e29`
#
[discord-api-docs] Branch hemu/add\-automod\-regex was force-pushed to `4a9d744`
chilly siloBOT
chilly siloBOT
#

Description

You can send a message with NULL nonce, or a random nonce.

https://youtu.be/NQ4-cepLcYE
https://youtu.be/BGcoF_Zl88I

(Used youtube because videos are to long)

Steps to Reproduce

1 - Start Charles Proxy
2 - Send a message.
3 - View the "message"
4 - Right click on it
5 - Click "Compose"
6 - Go to "JSON Text"
7 - Change the "nonce" to random or set null

Expected Behavior

Return a ERROR/CANCEL.

Current Behavior

The nonce is passed as ce...

chilly siloBOT
#

Reading back on my original request, I think what I'm ideally asking for is a way for developers to define their own custom rate limits through the API. That's essentially what the "cooldown" acts as, and it could also be amazing if we could point a cooldown to an existing rate limit or sub rate limit, e.g. message reactions.

For things like buttons, developers might wish to purposefully make it slower to spam without having to use reactions, which I believe most agree are a more abusive...

#

Deferred interaction responses are already used by many bot developers to pause the final response of an interaction. Adding a flag to signify that it's still pending a final response of some sort can be very useful to avoid spamming an interaction through a slash command or component.

My proposal is that with a flag on the interaction, bots can search up any given interaction still ongoing through the invoker to see if it has finished or not, giving developers the power to stop their user...

chilly siloBOT
#

Webhooks can currently create new forum threads with the thread_name field, however they're unable to configure any of the settings another user can. The following settings would be preferable for a webhook to be able to create and edit.

  • auto_archive_duration
  • rate_limit_per_user
  • applied_tags

This seems to be a slight oversight in the current webhook workflow since a forum thread is a new citizen with its own settings, whereas a message is pretty thoroughly covered in the...

chilly siloBOT
chilly siloBOT
#

The nonce field is used for optimistic message sending in the Discord client. The fact you can set it to a random number or null does not pose as an exploit because it's only meant to verify whether a message was sent or not and doesn't have any other purpose beyond that. The Discord client likely re-uses snowflakes here for analytical purposes to easily identify when a message was sent whilst not having overlapping nonces from multiple messages sent at the same time (though multiple mess...

chilly siloBOT
#

I propose that the "Sending command" chat message is hidden for content menu commands.

Imagine you have a user command that opens a modal. Someone adds a bot for the first time that happens to be yours! They use a user command and see "1 new message" right before the modal opens. They may close the modal to check on that wonderful new message in their small server, getting confused when nothing is there.

The "new message" was the "Sending command" that usually gets replaced by a messag...

chilly siloBOT
chilly siloBOT
#

Description

PATCHing a forum channel, setting available_tags to include a tag object with a custom (non-snowflake) ID returns HTTP 500.
Passing an existing snowflake is simply ignored, instead of HTTP 400.

Steps to Reproduce

Where TOKEN is your bot token and CHANNEL_ID is a forum channel:

curl -X PATCH -H "Authorization: Bot $TOKEN" -H "Content-Type: application/json" \
-d '{"applied_tags": [{"name": "A tag", "id": "0"}]}' \
https://discord.com/api/v10/channels/$...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Sending a request with required options in a subcommand after non-required does not return 400 bad Request Required options must be placed before non-required options.

Steps to Reproduce

Where $APPLICATION_ID is your app's id, and $GUILD_ID is your test guild.

curl -X POST -H "Authorization: Bot $TOKEN" -H "Content-Type: application/json" \
  -d '{
    "type":1,
    "name":"command",
    "description":"description",
    "guild_id":"$GUILD_ID",
    ...
chilly siloBOT
#

Description

The token from my Discord bot does not work no matter what I try. I have seen a similar error before. My bot has not sent that many requests over hours to my knowledge. Discord support is not helping me either. I don't know exactly what to do now. And especially if it should work again sometime how I should prevent something like this in the future. Especially since the bot is on more than 2.6k servers. Bot id is: 977206243770908702

Steps to Reproduce

Above.

Expect...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Are there any plans to improve the deployment experience of bots? Automating different apps and bots from a CI/CD tool is essential. For that, we need an API that can configure the interaction endpoint, get bot tokens and other sensitive info safely and finally add the bots to the server. Also, remove them from the server and destroy the app if necessary.

#

hmm, i don't think i've ever seen a large platform add in deployment-related APIs. honestly i don't really see it as something that's really discord's responsibility, considering every bot dev has their own deployment handling and even a "secure" method to retrieve a token can be abused

setting things like app details through the api, including the interaction url, would probably be nice. but outside of that i don't really see them adding much else

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Not exactly. Those workflows, pipelines, hooks, jobs, and whatnot can be built by the community. However, there's no way to do anything like that because Discord doesn't provide an API to create apps and associate a bot to a specific app in an individual account or even in a team. Additionally, to add a bot to a server you need to manually do it by inserting a link with the bot permissions in the browser; then, you select the server you want. All of that could be done programmatically, and we...

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

Description

This is marked as a bug because this issue did not occur using the same working rate limit handler in prior actions: https://github.com/switchupcb/disgo/actions [ https://github.com/switchupcb/disgo/actions/runs/3384051926 (8D), https://github.com/switchupcb/disgo/actions/runs/2830072049 (3M) ]. This issue was resolved (temporarily ?) by only relying on the Reset-After header. Such that the X-Ratelimit-Reset rate limit header is or was incorrect OR the log displays the ...

chilly siloBOT
#

Using reset-after is always preferred for this exact reason. Presumably when using reset you are assuming that your clock and discord's server clocks are at exactly the same time. In all likelihood, they are not. I've seen this issue pop up with ratelimit implementations before, its just not something people think about too much.

If you are using retry instead of retry-after you should add an offset to the time you actually try again equal to your current system date (at time of response...

chilly siloBOT
#

Expected behaviour: [...] OR users are told which to header to use in the documentation.

A guideline is given in the rate limit docs: https://discord.com/developers/docs/topics/rate-limits#exceeding-a-rate-limit

Your application should rely on the Retry-After header or retry_after field to determine when to retry the request.

In general, one should not rely on the system clock for anything that needs to be accurate to the second let alone millisecond.

The absolute "reset a...

chilly siloBOT
#

Found this, while researching and considering to make a request about it. Using discord.py and have hit this problem multiple times now.

Traceback (most recent call last):
  File "/home/debian/.pyenv/versions/3.10.4/lib/python3.10/site-packages/discord/app_commands/commands.py", line 861, in _do_call
    return await self._callback(self.binding, interaction, **params)  # type: ignore
  File "/home/debian/zerotwo/cogs/utility.py", line 102, in avatar
    await ctx.send(f"{output_em...
#

Description

Discord,

I'm not sure why, but Discord is not embedding any links from my website (https://abstraktmusiclab.com). I've seen in another bug report here, that you were able to generate a response from Discord when it tries to access my website, and I'd really appreciate if I could see something like that so I can further debug what could be the issue that is causing this block.

Maybe it's a captcha block, maybe i...

chilly siloBOT
chilly siloBOT
#

Hi, currently you are working on a system that allows you to manage the purchase of premium bot via discord, it would seem that it is not possible to have payments at once, yet this feature is relevant for bots like mine or translator that allow the purchase of google character for the servers of users, and in this case the purchase per month seems to be useful, is it planned to allow these features?

chilly siloBOT
chilly siloBOT
#

Description

The newish rate limit on GET /prune endpoint is too strict to the point it makes the prune model in the client unusable
Its 1 per 15 minute shared, which means when you first enter the menu your requests for the next 15 minutes are exhausted, if you wish to use the role functionality or change from 7 days to 30, the request fails. This results in no prune counts being returned back to the client.

Steps to Reproduce

Try to select the 30 day prune option in the client, n...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Bumps minimatch from 3.0.4 to 3.1.2.

Commits

699c459 3.1.2
2f2b5ff fix: trim pattern
25d7c0d 3.1.1
55dda29 fix: treat nocase:true as always having magic
5e1fb8d 3.1.0
f8145c5 Add 'allowWindowsEscape' option
570e8b1 add publishConfig for v3 publishes
5b7cd33 3.0.6
20b4b56 [fix] revert all breaking syntax changes
2ff0388 document, expose, and test 'partial:true' option
Additional commits viewable in compare view

[![Dependabot compatibility score](ht...

#

Discord doesn't provide an API to create apps and associate a bot to a specific app in an individual account or even in a team. [...] All of that could be done programmatically, and we could create our own E2E bot deployments.

this would all be pretty easy to abuse. the authentication flow to add bots to a server largely exists to make sure that you know what bots are being added. adding programmatic ways to do it without some kind of check would easily become an issue of abuse, whethe...

#

Discord doesn't provide an API to create apps and associate a bot to a specific app in an individual account or even in a team. [...] All of that could be done programmatically, and we could create our own E2E bot deployments.

this would all be pretty easy to abuse. the authentication flow to add bots to a server largely exists to make sure that you know what bots are being added. adding programmatic ways to do it without some kind of check would easily become an issue of abuse, ...

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

Description

Today my deployed application's discord provider authentication stopped working in deployment. It works flawless in dev
and yes every env var is set correctly since nothing has changed that department for a long time.

Everything used to work in deployed site but for some reason I am only getting
expected 200 OK, got: 429 Too Many Requests
when trying to log in using discord provider.

Only thing that comes to my mind is that my deployed domain is blocked for some re...

chilly siloBOT
#

Description

When attempting to fetch all auto mod rules for a guild that has none set a 404 will be returned, this is inconsistent with other endpoints where an empty array would be returned in such cases.

Steps to Reproduce

Make a get request to /guilds/{guild.id}/auto-moderation/rules when the guild does not have any automod rules set.

Expected Behavior

A 200 OK with an empty array as the response, similar to other endpoints such as the List Scheduled Events for Guild...

chilly siloBOT
chilly siloBOT
#

Description

The ACTIVE app flag (1 << 24) is returned in the Gateway application object but not in any HTTP endpoints that return app flags.

Steps to Reproduce

You can go to /applications/819778342818414632/rpc.
Alternatively you can GET /oauth2/applications/@me or another endpoint that returns app flags (e.g. /applications/:id/rpc or /applications/:id/public).

Expected Behavior

The flags value is ...

chilly siloBOT
chilly siloBOT
#

Description

When mentioning a slash command with the `` syntax documented here, the slash command is not shown in the users language, even when the names have been localized.

Steps to Reproduce

  1. Create an application command that has been localized to multiple languages. For example, "/setup" (as the default name) and "/configuración" (as a localized Spanish name).

Scenario A: User language is not the same...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Attempting to click on a slash command mention (with the syntax) on Desktop this triggers a slash command to be started. On mobile clicking the mention does not do anything.

Steps to Reproduce

  1. Mention a slash command with the syntax.
  2. On a mobile device, click on the slash command mention.

Expected Behavior

I would expect this to start typing a slash command like on Desktop.

Current Behavior

Nothing happens.

Screenshots/Videos

No response

##...

chilly siloBOT
#

We have no current plans to offer custom colors for buttons. This ensures a consistent design experience for users across our apps.

Now that custom profile colors exist, I don't think it would be a bad idea to allow custom colors for the buttons interactions as is the case with embeds

This will help the average user understand exactly what it does much easier, it will also help us (the developers) make our own style for our bots

chilly siloBOT
#

Description

Creating a new message with a GCP uploaded file sends the uploaded file ID in an attachment object in the request body under the field uploaded_filename, but sending an invalid URL value returns a 500: Internal Server Error response.

Steps to Reproduce

curl --location --request POST 'https://discord.com/api/v9/channels//messages' \
--header 'Authorization: Bot ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": "",
    "attachmen...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

A forum post posted by a webhook does not support the username parameter.

Steps to Reproduce

$ curl $WEBHOOK_URL -d '{ "username": "very cool bot", "content": "a post", "thread_name": "hello world" }' -H "Content-Type: application/json"

Unrelated to the original issue, but you can execute webhooks without -X "POST". Should be fixed too.

Expected Behavior

The username should display.

Current Behavior

The username is ignored.

Screenshot...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

when i paste the link to the API endpoint url it wont work

Steps to Reproduce

give me the active developer badge if we cant figure this out

Expected Behavior

helping me

Current Behavior

nothing yet

Screenshots/Videos

No response

Client and System Information

meta browser

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Removes "Timeout Members" from the note under the permissions table
image

Also clarifies what is meant by "owner account", in the permissions topic page. I've left the

"Manage Permissions" refers to MANAGE_ROLES
part alone too since although it's not referred to as "Manage Permissions" in the role edit menu, it's referred to "Manage Permissions" in channel permissions (and so is ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Hi, I have the same issue as you, but I'm using firebase dynamic links and their preview (open-graph part) works on every platform but discord. I'm also suspecting that our servers (or something) are blocking discord from fetching the open-graph part, how can I check if it's being blocked? we use amazon services but I'm not really familiar with them.

I wrote a detailed question here on SO but got no help :<> <https://stackoverflow.com/questions/74374827/firebase-dynamic-link-open-graph-not...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Headers indicating rate limits in responses are only valid when you are ratelimited.
headers when not rate limited:

x-ratelimit-bucket: d1240eeffb4c549bd62b579ece0ffd01
x-ratelimit-limit: 50000
x-ratelimit-remaining: 48773
x-ratelimit-reset: 1668720787.644
x-ratelimit-reset-after: 102737.719

headers when rate limited:

x-ratelimit-bucket: 1d3c67957bcdccc6709861c232df8529
x-ratelimit-limit: 5
x-ratelimit-remaining: 0
x-ratelimit-reset: 1668618055.755
...
#

We are also running into this, but I think with slightly different symptoms:

Starting about 20 hours ago, our bot started reporting issues with rate limits. After drilling into the rate limit headers, it looks like there is some new rate limit of 50,000 that is getting reported for a rate limit for all interactions made in any channel. The rate limit seems to have a 72 hour reset time.

There is also a similar rate limit for DM'd interactions with a bot, though it seems to be a diffe...

chilly siloBOT
#

There is an ongoing effort to migrate RLs from bucket style to leaky bucket style. However nothing in the last 24H has been enabled besides gateway session starts. There was a refactor to the RL parameters though, which I think surfaced this issue.

In regards to the OP. The RL buckets are different, which leads me to believe that you are hitting a different RL.
The first RL d1240eeffb4c549bd62b579ece0ffd01 is an internal RL for stopping indexing on a channel with bot spam; which should...

chilly siloBOT
#

Recently I came across a weird issue with where my bot was saying it was missing the Manage Roles permission even though it had it on the role. After some digging it turned out that the channel where the interaction was used in had denied the Manage Permissions. This caused the app_permissions field to exclude the Manage Roles permission. Because they use the same value.

I will have to calculate the permission myself with the roles that the bot has to avoid this, resulting in an un...

#

I think what you really want here is a separate field for role permissions in addition to the app_permissions field. A lot of permissions can be denied at channel level by overwrites, which is by design and important for permission management (see muted roles).

Yes that would solve this issue as well. But I still think that the Manage Roles and Manage Permissions permissions are too different for them to have the same value. Because right now the app_permissions field is telling me...

chilly siloBOT
chilly siloBOT
#

Description

When trying to update my bot's message to introduce an embed, I noticed that it is unable to show it. Attempted with raw HTTP request as well and it fails to update it, content works fine of course.

Steps to Reproduce

curl --request PATCH \
  --url https://discord.com/api/v10/channels/:CHANNEL_ID/messages/:MESSAGE_ID \
  --header 'Authorization: Bot TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{"content": "memes2", "embeds": [{"title": "hell...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Do you have the embed setting disabled on the client?

Nope, tested it with a different bot to be sure as well, and somehow there it worked with the same exact testing code I used 🙃
image

If it helps somehow:
Working Bot ID: 267941509272174592
Bot that can't send embeds: 383595618855157760

Yesterday it also worked just fine, it's just today it suddenly wanted to stop working ...

chilly siloBOT
chilly siloBOT
#

Description

Currently, it is possible to edit a non-ephemeral interaction response through the Edit Message endpoint (i.e. PATCH channels/{channel.id}/messages/{message.id}). This can be done for the original interaction response by using Get Original Interaction Response (i.e. GET /webhooks/{application.id}/{interaction.token}/messages/@original) to get a message object for the response that includes the channel and message ID.

Get Original Interaction Response also curre...

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

Description

Overview

This issue does not allow the invoker of an application command to upload an attachment to an option that has type 11 (attachment type) if the invoker is missing the upload files permission in the guild channel they're trying to invoke in.

  • If the invoker is missing this permission and tries to invoke the command, the option's popup stating, "Drag and drop or click to upload file", does not show on a Desktop client.
  • If the invoker is missing the permis...
chilly siloBOT
#

Currently, users are not made aware if an application they have given OAuth2 consent to has joined them to a guild. They simply join the guild silently and the guild is added to their list. Additionally, they immediately count as a member of the guild.

This has led to malicious OAuth2 applications using the guilds.join scope to join users to guilds without their consent or request. It has been stated by Discord previously that the guilds.join scope should only be used alongside consent...

chilly siloBOT
#

Description

Up until a few hours ago I was able to move channels just fine, no permissions were changed for my bot, and now I can't move any channels without the Admin permission. My bot has Manage Channels and Manage Permissions on the guild and no override denies that on any channel. I believe this was caused by a recent API change, which is why I'm making the report

Steps to Reproduce

  1. Make sure your bot has Manage Channels and Manage Permissions but not Administrator (my bot ...
chilly siloBOT
chilly siloBOT
#

Description

I have Firebase dynamic links set up in my react-native app on both IOS and Android, and they work perfectly except for the open-graph part which works on all social platforms but not on Discord. I want it to work on Discord too.

From what I understood from Firebase links docs, the open-graph part is controlled by the social property, so I have specified it like this:

 social:
  { title: `Post by Yuniac`,
    descriptionText: 'Jesse Faden, the bureau director',...
chilly siloBOT
#

Description

Yeah it’s causing me not to see messages in any server like everything is just loading

Steps to Reproduce

Like can you please fix this issue

Expected Behavior

Idk stp

Current Behavior

The chats and server loading

Screenshots/Videos

Uploading 17D54715-EC46-415B-A83D-367E2F05D8FC.png…
22264FEA-25F5-4669-BB3E-8ACA48EE6090
![0669CCDD-1FBD-45...

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

Description

that bug makes me unable to open discord as my account has been blocked

Steps to Reproduce

I reacted to a message on my computer. When I went on my phone, I found that the message was not reacted, so I re-reacted using my phone. When I went back to my computer, the message has been somehow reacted twice by me, only visible on computer. I un-reacted, and re-reacted a few times(not fast) to try to fix the issue. Then discord started to automatically react-unreact at an as...

chilly siloBOT
#

Description

As the title says...

In my tests, I came to the conclusion that the problem is in the filter used in the API.

One of:

  • The API ignore the locale of the client requestin othe filter;
  • The API does not filter by the translated version of the comands;

Steps to Reproduce

Create a command with translations;
Change the client language to one of the translations;
Try searching for the translated name;

Expected Behavior

Find the command matching the tranla...

chilly siloBOT
chilly siloBOT
#

Description

👋 hello. I'm having troubles with gloabal slash commads. 5 days passed and the commands are not visible in any of the servers. But they appear in new servers.

Example:
The bot is in 3 servers. I added a command hi . It's not appearing in any of the 3 servers (even after reinviting the bot) .
Then the bot joins a 4th server and the command hi is visible only on that server. Than 1 register another command named test. Then it won't appear in any of the 4 servers.
...

chilly siloBOT
#

Sorry for bumping this discussion, however this was a feature that was mentioned inside a Discord blog post when the message content intent became enforced.

"If an app has commands that are specific to certain areas of Discord, they can live directly in that context menu for easier access. For example, a command that does something particular for a channel could be added directly to the channel context menu."
https://discord.com/blog/welcome-to-the-new-era-of-discord-apps

chilly siloBOT
#

Description

Messages in servers and DMs wouldn’t load, so I signed out and now it won’t let me sign in saying I’m being blocked from accessing API temporarily

Steps to Reproduce

.

Expected Behavior

Idk

Current Behavior

Still won’t let me sign in

Screenshots/Videos

B73BE997-70DB-47AA-AF36-B74C29FCF386

Client and System Information

Discord app on IPhone

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

It would be a very good feature if the application could answer MODAL_SUBMIT events after validating the inputs internally.

Why?

As a modal receives information from an user, it's very common that the user gives wrong and/or unexpected information.
Since the modal only closes when the application responds to the submit event, an event like MODAL_FIELD_ERROR (or any) could be sent with:

  • a descriptive error given by the application saying what's going wrong,...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

oh its a shared footnote with keyword_filter field. hmm maybe create a new dedicated footnote for the allow_list field. Something like this:

An allow_list string can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Rules with `KEYWORD` [trigger_type](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-types) accept a maximum of 100 strings. Rules with `KEYWORD_PRESET` [trigger_type](#DOCS_RESOURCE...
#
[discord-api-docs] Branch hemu/am\-regex\-limits\-and\-allowlist was force-pushed to `fa2f067`
chilly siloBOT
chilly siloBOT
#

There are atleast two systems for a selection menu that I know of:

  • typing "@" shows a list of roles/users to mention
  • typing "#" shows a list of channels to mention

I'm looking for a way to add a custom menu like this where I could search through a pre-populated list, and once selected can replace the input with a link.

An example:

My custom selection menu is populated with "foo", "bar", "baz". It is activated by the "!" character. If I type the activating character (even mid-se...

chilly siloBOT
chilly siloBOT
#
[discord-api-docs] Branch hemu/am\-update\-changelog was force-pushed to `b1af1f9`
chilly siloBOT
#
- Automod rules with [trigger_type](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-types) `KEYWORD` now support an `allow_list` field in its [trigger_metadata](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-metadata). Any message content that matches an `allow_list` keyword will be ignored by the Automod `KEYWORD` rule. Each `allow_list` keyword can be a multi-word phrase and can contain [wildcard symbols](#DOCS_RESOURCES_AUTO_MODERATIO...
chilly siloBOT
chilly siloBOT
#

My suggestion is to add a few more types to the modal action row:

  • SwitchInput
  • RadioSwitchInput
  • AttachmentInput
  • Any select menu type

Previews

SwitchInput

RadioSwitchInput

AttachmentInput

Any select menu

Why do we need this?

This will help users manage our bot easier, instead of running 10 commands, they can do it directly from one modal, super easy!

chilly siloBOT
#

Description

If you send a message with an attachment image.png, and an embed with an attachment://image.png image URL, and then PATCH/edit anything in that message (or at least anything in the embed), the attachment will now display outside of the embed as well. This makes editing embeds/message with attachments that are used in this manner very...bad for user experience.

Steps to Reproduce

  1. Upload a message with an image, and then embed that image via the attachment:// p...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I had opened Discord this morning, gave it 45mins to load and it didn't so I tried leaving to app and reentering hoping that would fix it and it did not.
I then deleted the app and went to log back in hoping it would fix something since all my other apps loaded perfectly fine.
It only took a couple seconds to finish downloading and when I went into the app and typed in my information it told me there was a API issue and to make a complaint here.
I'd given it an hour before...

chilly siloBOT
#

Their server does not return opengraph data to our crawler:

<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><style data-styled="" data-styled-version="5.3.5"></style><meta charSet="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="preload" href="/_next/static/css/df111af9770e3a01.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df111af9770e3a01.css" data-n-g="...
chilly siloBOT
#

By the way, everything is ok on Cloudflare. I can see the request from Cloudflare being allowed to go through

We are being blocked from accessing this website:

<div style='height: 98vh;'>
<div style='text-align: center; padding: 10% 0; font-family: Arial, Helvetica, sans-serif;'>
<div><p>Bot Protection Firewall</p></div>
<p>Blocked because of Malicious Activities</p>
<p>Reference ID: 871155821637e534716e49</p>
</div>
</div>
chilly siloBOT
#

Description

Problem on the voichat server thing.

Steps to Reproduce

First off go on discord go on a server and tell your friend to join general vc
after that server mute them or server deafen them
after you try to unmute or deafen your discord pretty much crashes and you have to wait 10 seconds for it to work

Expected Behavior

It should work normally with no delay or anything

Current Behavior

Laggy and the site crashes alot

Screenshots/Videos

No response

###...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I also seem to experience this issue with my bot. Ephemeral interaction replies don't show emojis that the bot does not have access to, but does show custom emojis in the current server. Using a select menu with using the emoji option does show all custom emojis regardless if the bot has access to it or not.

It's quite confusing on how interaction replies and follow-ups don't show this and yet, select menu components do. These are both interactions so shouldn't this be following the same ...

chilly siloBOT
#

I also seem to experience this issue with my bot. Ephemeral interaction replies don't show emojis that the bot does not have access to, but does show custom emojis in the current server. Using a select menu with using the emoji option does show all custom emojis regardless if the bot has access to it or not.

It's quite confusing on how interaction replies and follow-ups don't show this and yet, select menu components do. These are both interactions so shouldn't this be following the ...

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

@lsdimagine any updateson this, seems like it evolved!!? :(

I have a case when the Android client send the name on the value field!!!

I have a commando with 2 autocomplete strings () autocomplete , one for the user select a chanel name (need to be autocomplete cause only pre configured channel can be selected).

The auto complete paylod i send for the 'channel' option:

[
  {
    "name": "#canal-negado [Canais de Texto]",
    "value": "895338113713459290"
  },
  { 
    ...
chilly siloBOT
chilly siloBOT
#

Description

{"code": 0, "message": "You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward."}

Steps to Reproduce

{"code": 0, "message": "You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent ...

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

Description

Anyone in a discord server with the access to the /TTS command can cause users to hear whatever they spam in there whether they are in that channel, or even that discord! The issue is even more apparent when you spam / and keep hitting TTS, over and over again. Discord doesn't even have a cooldown for it. You can have the message go seemingly forever. From the results I got, 5 min of "keep assist slash"

Steps to Reproduce

Spam /tts then / over and over again, and it wil...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

In my opinion, it would be pretty useful, if there would be a new, decent Permissions Update.

This would include Permission Groups in the Integration Settings with custom labels, decided by the app developers, which can be applied on select menus or button or any other interaction type.

This would remove the need of hard coding certain Button Access by any Permission and server administrators would have the possibility to give certain roles access to interactable objects instead of givi...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

A User object returned by the Discord API returns an undocumented field named avatar_decoration.

Steps to Reproduce

Invoke an endpoint that returns a User object

Expected Behavior

The Discord API returns only fields documented at https://discord.com/developers/docs/resources/user#user-object-user-structure.

Current Behavior

The Discord API returns the fields documented at https://discord.com/developers/docs/resources/user#user-object-user-structure and...

chilly siloBOT
chilly siloBOT
#

Description

Options do not populate in dropdown menus when the command is selected.

You now have to type something into the input field of slash commands before options begin to populate the menu. This can't be intentional and it is a really bad user experience.

Bots in my production environment have become affected by this (which I haven't pushed updates to in several days)

Steps to Reproduce

  1. Create a slash command
  2. Give it a few options
  3. Search for the command and ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

If a slash commands requires more arguments then a button click can't just run the command. Making the button start the slash command would help to keep the user experience consistent. Otherwise you would need to code a way to collect args from the user after a button click. Which means you now need to code for 2 different ways to collect args from the user: via slash command and via button. Not impossible but making buttons start slash commands simplifies this.

chilly siloBOT
#

I just ran into this issue today in the mac desktop client. The user was compromised and a bot had posted 1 message in every public channel at 9:04a. I issued a ban at 9:42a (same day, only ~38 minutes had passed), and picked the option to delete messages up to an hour old.

The option seemed to delete the one message in the channel I banned the user in, but all other channels and messages were left alone... I tried to re-ban the user and increase the time limit to 24 hours, but to no avail...

chilly siloBOT
chilly siloBOT
#

I just ran into this issue today in the mac desktop client. The user was compromised and a bot had posted 1 message in every public channel at 9:04a. I issued a ban at 9:42a (same day, only ~38 minutes had passed), and picked the option to delete messages up to an hour old.

The option seemed to delete the one message in the channel I banned the user in, but all other channels and messages were left alone... I tried to re-ban the user and increase the time limit to 24 hours, but to no...

#

Message components are currently lacking in things that slash commands provide like autocomplete, validations, and the ability to tie actions to permissions. I agree it would be a better user experience using buttons and modals, and I hope Discord does add parity between slash commands and components. In the meantime slash command buttons seem like a decent option since most of the functionality already exists.

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

Description

If too many commands exist in a guild (may also apply globally, maybe just being available in a guild, etc), permission settings for app commands are ignored.

The cause of the issue is having too many commands. To accomplish this, I have 62.5k commands in my guild from one bot. This is 100 base groups, each with 25 subgroups, each with 25 subcommands. The value at which this breaks permissions is likely much lower, though.

Now when I create a new command just to tes...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I swear to god i didn’t even do anything except talk to my friends. My discord was bugging so I thought nothing of it, I logged my discord account out in order to restart it. When I pressed login, I couldn’t login because Discord is blocking me from accessing their API due to me exceeding their rate limits???? I don’t even know what that means but whatever i did, please specify. But I swear I did nothing wrong.

Steps to Reproduce

N/A

Expected Behavior

Letting me l...

chilly siloBOT
chilly siloBOT
#

Description

Really didnt want to submit a "bug" but wasnt any other option so sorry in advance.....

Problem: using oauth2 to try and get connection info from end users however once i get the code from them and submit the code to 'https://discord.com/api/v10/oauth2/token' i get a 200 response with everything looking ok until i get to the data of the message which comes across encoded (i think). Ive tried a couple different things but cant seem to get an actual json data response in the...

chilly siloBOT
chilly siloBOT
#

Description

When I delete a slash command in my file, it stays in the Slash Commands bar as if it's working, but it's not.
In addition to the ghost Slash Command, when I redo the ghost Slash Command, it no longer works.
To get the Slash Commands back that are not buggy I have to remove the Bot and add it back to my server.
, but when I do that comes another problem,
Slash Command stops working on Bots.

Steps to Reproduce

Add a Bot to the server, create a Slash Command, run the ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

For The Gateway Resuming docs Its not completely clear about the resume_gateway_url

When it says you need to reconnect with it, it doesn't specify you got to add the version and encoding you want to use once again (Unless I'm mistaken and it does though I could not see anything about it). If you do not add the version and encoding you want you will get a invalid session op code (9), Its not very clear that you need to provi...

chilly siloBOT
#

Description

When searching on the forums, if the search is invalid there is a message that says "Believe this query should return results? Let us know." - The link that "Let us know" used to go to is now an archived repository, so the link takes you to a 404 as issues can no longer be created.

Steps to Reproduce

Search for something that returns no results, click the "Let us know" under "Believe this query should return results? Let us know."

Expected Behavior

It should take ...

chilly siloBOT
#

Description

After a permission change (channel or role), Thread Members Update wont be fired when removing a bot that had access to the thread previous to the permission change.

https://github.com/discord/discord-api-docs/blob/36085ff2824713d9547136711464ae627e2745af/docs/topics/Threads.md?plain=1#L182

Steps to Reproduce

  1. Create a thread
  2. Add the bot to the thread
  3. Edit role or channel permissions to prohibit seeing the channel (VIEW_CHANNEL for example)
  4. Remove b...
chilly siloBOT
chilly siloBOT
#

👋🏽 It's me, again. Run. Jokes aside, this is something I've seen increasingly pop up this year, and it's a precarious feature. For eight years (:blobsweat:) Discord has had mentions, and as far as memory serves, embeds too. At some point in time, allowed mentions were added to the ✨ official ✨ API, which made bots ever so slightly less annoying.

However, embeds have always acted as a poor-man's allowed_mentions on basis that mentions present within embeds somewhat counterintuitively *n...

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

Description

In forum channels, disabling the create post permission prevents thread owners from editing tags/editing thread name/closing threads they have created even when the threads themselves are still unlocked or the author has send messages in thread permissions.

Steps to Reproduce

  1. with account A, create a thread in a forum channel
  2. with account B, disable the create posts permission for account A in the forum channel
  3. with account A, try to edit tags/thread name/clo...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When you buy a nitro subscription in the nitro settings will be a date when the billing will be.
But when I reach that date I got an email telling me the billing is in 3 days and now the date also switches inside of the discord nitro settings. This happened to me 2 times.

Steps to Reproduce

I don’t know sorry.

Expected Behavior

The date shown in the settings should be the correct date.

Current Behavior

The date is wrong until you reach it.

Screenshots/...

chilly siloBOT
#

Since this brings the topic back up of documenting fields per channel type, could #4106 maybe be considered?

I feel this is a better way of implementing this, it still offers a solution for both ways of implementing a channel feature, to have one object with all parameters or multiple different objects.

It's also less cluttered, since it's just an extra column instead of like 10 new objects. Just my opinion, would be interested to hear other's though.

chilly siloBOT
chilly siloBOT
#

Description

Pretty simple issue: The documentation for message types (https://discord.com/developers/docs/resources/channel#message-object-message-types) only goes to 24. When someone subscribes to a server, the message type value for the alert has a value of 25. Now that subscriptions are available for all servers, the associated message types need to be documented. Based on testing I know 25 is used for new subscribers, but am unsure if there are other undocumented types, like for ...

chilly siloBOT
#

Description

Users can use hidden report API without limit and with a token from a single account, and the request is all being counted as a valid report, resulting in large number of false bans without a proper investigation.

Recently, some users are using report API to spam by reporting many servers.
Discord support is ignoring almost all requests from users, so many communities are being destroyed, and not got restored.
They say "our verification system can't be wrong. Make a n...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Create a Discord Bot in Go

Disgo is a Discord API Wrapper designed to be flexible, performant, secure, and thread-safe. Disgo aims to provide every feature in the Discord API along with optional rate limiting, structured logging, shard management, and caching. Use the only Go module to provide a 100% one-to-one implementation of the Discord API. Disgo also provides the following exclusive features.

  • [EVERY Rate Limit (Globa...
chilly siloBOT
#

Description

All attempts to update a guilds icon result in a 500 error, across all platforms.

Steps to Reproduce

  1. Upload a new icon to a guild.
  2. Attempt to save your changes.

Expected Behavior

The guilds icon updates.

Current Behavior

The save fails & a 500 error is logged in the networking tab.

Screenshots/Videos

No response

Client and System Information

Canary 162326 (33cb516) Host 1.0.54 (27618) Windows 10 64-Bit (10.0.22000)

chilly siloBOT
#

Description

(Translator)

I recently had my webhook deleted by a third party without permission, just the link! I looked to see if it was possible and yes it is!

Such a problem should not exist because with a simple permission this would be solved.

If possible, I would like to have my webhook restored because I have several systems attached to it and it would be a lot of work to have to change all of them to a new webhook and still run the risk of it being deleted again.

Web...

chilly siloBOT
chilly siloBOT
#

Description

SessionStartLimit data isn't sent by Get Gateway request

https://discord.com/developers/docs/topics/gateway#sharding
The Get Gateway Bot endpoint will always return the correct amount of shards, so if you're already using this endpoint to determine your number of shards, you shouldn't require any changes.

https://discord.com/developers/docs/topics/gateway#get-gateway-bot
Returns an object based on the information in Get Gateway, plus additional metadata that...

chilly siloBOT
chilly siloBOT
#

technically by both, but it's a weird way to think about it. keep in mind that these two limits are pretty different, they don't know about each other. the max_concurrency limit applies to identifies, and the 120 rps limit applies to all sent payloads, which identify is one of - so yes, sending 119 pings and then an identify will hit the 120 rps limit

you shouldn't be dealing with the 120rps limit in your identify logic (or any payload-specific logic for that matter) though - the limit i...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

As of yesterday, there seems to have been a breaking API change that causes PUT/channels/:id/messages/:id/reactions/:code to fail with certain previously accepted formats.

Before you argue that this is documented to be this way, the change is still affecting probably thousands of bots and should thus be considered expected behavior. When a large portion of API consumers relies on certain behavior, changing it becomes breaking, even if that behavior may not have been expl...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

When you turn the screen sideways, a few channels at the bottom disappear and i can't click them. They should stay visible.

Steps to Reproduce

You can fix this bug with: The channels' location should stay same when the screen turned.

Expected Behavior

When you turn the screen sideways, a few channels at the bottom should not disappear.

Current Behavior

When you turn the screen sideways, a few channels at the bottom disappear.

Screenshots/Videos

Unfortu...

chilly siloBOT
chilly siloBOT
#

I experienced the same issue. I found that if you just enter / and then select the command when it appears in the list of available slash command, it works as expected. Typing any part of the command after the / results in the issue you describe. I've been doing that as a workaround, but obviously the issue needs to be resolved.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

After Greetings..
I have my own programs and my own team on discord and i'm working hard on my programs to grow up the community, but we're finding out that (Active Developer Badge) is going to anybody who are not developing anything, by some developers who are selling that badge for money (inviting people to their teams) and receiving money for it..
so we hope you solve that trouble to discrimination only developers with that badge.
thank you...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

A Guild Member object returned by Resolved Interaction Data doesn't contain the non-optional deaf and mute fields.

Steps to Reproduce

Create a Slash Command that takes a User as a subcommand
Use the subcommand and specify a User

Expected Behavior

One of:

  • The non-optional deaf and mute fields are returned as part of the Guild Member object
  • The deaf and mute fields as part of the Guild Member object are documented as being optional

Current B...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I'm facing some issues with showing Modal in my bit. The same code works 99% times but in some cases the interaction returns Unknown Interaction when trying to show the Modal. When I replace Modal with a Reply to the interaction, it works everytime. But as soon as I revert back to using Modal it starts failing again. This happens in certain buttons interactions set through certain slash command data. The issue persists even if I repost that post. But if I try posting it again with...

#

Description

I'm facing some issues with showing Modal in my bit. The same code works 99% times but in some cases the interaction returns Unknown Interaction when trying to show the Modal. When I replace Modal with a Reply to the interaction, it works everytime. But as soon as I revert back to using Modal it starts failing again. This happens in certain buttons interactions set through certain slash command data. The issue persists even if I repost that post. But if I try post...

chilly siloBOT
chilly siloBOT
#

Description

Well I was using discord and it randomly stopped working, I’ve used my other devices and it still isn’t working. Something about API

Steps to Reproduce

I don’t know

Expected Behavior

I just wish this didn’t happen it’s so irritating.

Current Behavior

Discord not working, I’ve tried reinstalling and it’s still not working.

Screenshots/Videos

No response

Client and System Information

I used all my devices, none of them worked bc of this issue. i...

chilly siloBOT
chilly siloBOT
#

Personally, I find that there is something the new selects are lacking. Let me explain.

I have a /server-settings command. There is a select menu with several different kinds of settings you can change. So far, so good.

Now, for one of the settings, the admins are presented a list of all channels, and they can click each to whitelist it for something, or deselect it again to remove it from the whitelist. That whitelist is saved to my database.

The problem is, if an admin runs this co...

chilly siloBOT
chilly siloBOT
#

I tested this on both JDA and discord.js, it works fine on JDA but doesn't work on discord.js. I believe this is a discord.js issue.

Did it happen everytime for you? The Modal creation fails only in certain messages. In 99% messages, clicking the Button generates the Modal smoothly. But in some messages clicking the Button fails the Modal generation with error Unknown Interaction. If I replace Modal with Reply in those messages, it works.

Did you see the same result @I...

#

I tested this on both JDA and discord.js, it works fine on JDA but doesn't work on discord.js. I believe this is a discord.js issue.

Did it happen everytime for you? The Modal creation fails only in certain messages. In 99% messages, clicking the Button generates the Modal smoothly. But in some messages clicking the Button fails the Modal generation with error Unknown Interaction. If I replace Modal with Reply in those messages, it works.

Did you see the same...

chilly siloBOT
#

Description

OpenGraph meta tags that indicate video content don't seem to be embedding, even though the tags are correctly utilised

Steps to Reproduce

Post this link in discord: https://beefox.xyz/video-test-page.html
See that it correctly embeds excluding the video aspect

Expected Behavior

The video should be embedded along with the rest of the open graph tags

Current Behavior

The video is not embeded

Screenshots/Videos

![Screenshot_20221211_143116](https://user...

chilly siloBOT
chilly siloBOT
#

There are captcha bots, and the undeniable best way to make captchas is with a modal, as that allows you to run a captcha check without resorting to DMs.

The idea is making a button in #verification channel, that when pressed, opens a modal of the captcha, with the image of the captcha embedded in it, example below, and telling the user to complete the form ( modal ) and if he makes it properly, he joins the server.
![image](https://user-images.githubusercontent.com/39803639/206933289-e83...

chilly siloBOT
#

Description

A parameter field belonging to the slash command appears in the edit field.
Please see the screenshot and the Screenshots/Videos section.

Steps to Reproduce

  1. Send a message
  2. Start to type a slash command in the chat
  • This slash command must have at least one required parameter.
    (ex: /private add user:) make sure the user parameter is empty
  1. Edit your message while your app command is still in the chat field
  2. Press enter in the edit field

Expe...

chilly siloBOT
#

The endpoint docs were linked above; nobody can really do a general example for it because how you do it depends on what programming language and libraries you are using. Creating a command is a POST request and deleting a command is a DELETE request; if you created the command then you can delete it.

If you’re using an api library to register commands then check its docs and go to its support place to see how to delete commands using that library.

chilly siloBOT
chilly siloBOT
#

I tested this on both JDA and discord.js, it works fine on JDA but doesn't work on discord.js. I believe this is a discord.js issue.

Did it happen everytime for you? The Modal creation fails only in certain messages. In 99% messages, clicking the Button generates the Modal smoothly. But in some messages clicking the Button fails the Modal generation with error Unknown Interaction. If I replace Modal with Reply in those messages, it works.
Did you se...

chilly siloBOT
#

Description

(I'm not sure that this is the same problem #5731)

I only fail to interact with specific Button ID.

Steps to Reproduce

(I think this issue only occurs in my bot)

ID "start_verification" is can interact multiple times and always displays the latest Modal.
But, ID "start_verify" is can't interact multiple times and showing the very old Modal.

Expected Behavior

must can interact multiple times and always displays the latest Modal

java.lang.IllegalState...
chilly siloBOT
chilly siloBOT
#

From what i understand their suggestion is to allow bots to upload custom permissions in the UI, so you can tie certain access to users with that permission. It looks similar to what music bots do when asking for a DJ role (which for example can give you access to skipping queued songs) or bots which allow to customize their settings to people with some sort of manager role. But instead of asking admins to configure a role that will have access to the bot configuration/setup, then it's whoeve...

chilly siloBOT
chilly siloBOT
#

Disgo is requesting an appeal to the activity requirement as it is the only Go Discord API Wrapper which implements every field of every request and event. Disgo plans to provide out-of-the-box sharding (while DiscordGo does not). Disgo is also innovative by containing exclusive features no other recommended library provides such as Automatic Intent Calculation.

Being recognized by the Discord API Documentation would be beneficial to Disg...

chilly siloBOT
chilly siloBOT
#

Description

Sending message components with a non-application-owned Webhook results in a success response instead of an error response. This incorrectly communicates to the user that the request was valid, even though the request was in fact not valid. The documentation should specify this behavior if intentional.

Sending Content and Components

Sending the following payload

{
    "content": "Test",
    "components": [
        {
            "type": 1,
       ...
chilly siloBOT
#

In regards to developer support, what about prompt support for developers in general?

I had an account that owner of a developer team with a verified bot that was disabled then deleted, but the ownership didn't get passed to the next and only user on the team that is marked admin. So now that user account can't add any others to the team. The verified bot is in almost 2,000 servers so asking all the servers to add a new bot just isn't logical, the team ownership needs to be transferred fro...

chilly siloBOT
#

I have. Their response about 6 months ago was to create a new bot and tell the server owners to add the new one- which isn't logical when you're bot is in almost 2,000 servers. We've tried reaching out to support again to explain this but it's been a month without a response.

We've added this to the suggestions, but I hardly believe they actually pay attention to these- and if they do its aggregated data, so even though a huge issue for those this has happened to, it's still not that commo...

#

Yes I did actually, funny you should mention that. Because there is a category and sub-category that is labeled "Developer team ownership" and when they responded one of the first times they said it was in the wrong category.

So with the latest request, I took a screenshot of the category dropdown menus and added it so as not to get a "wrong category" and ignore forever reply.

chilly siloBOT
#

the first response is sent to everyone because they get lots of people asking offtopic questions to dev support, it even asks in bold to reply to it if it's in the correct category. as long as your ticket is open that means it's in queue, if it's inactive for a long time you might want to join ddevs and ping a staff member like kady or ian with the relevant ticket/bot ids and concise context

chilly siloBOT
chilly siloBOT
chilly siloBOT
#
`default_forum_layout` is an optional field in the [channel object](#DOCS_RESOURCES_CHANNEL) that indicates the default layout for posts (or threads) in a [forum channel](#DOCS_TOPICS_THREADS/forums). A value of 1 (`LIST_VIEW`) indicates that posts will be displayed as a chronological list, and 2 (`GALLERY_VIEW`) indicates they will be displayed as a collection of tiles. If `default_forum_layout` hasn't been set, the value will be `0`.

Setting `default_forum_layout` requires...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Yet fail to meet other criteria presented by the linked post. Features such as Automatic Intent Calculation and Structured Logs save customer support time for the company. This saves money for Discord such that an appeal may be granted by an employee. This is why it is being requested. As a reminder, if this appeal is denied, we will continue to work towards meeting activity requirements.

Note: @splatterxl isn't an employee.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I aint getting my bedge and it says "You are not eligible for the Active Developer Badge" even when i made an app and run my first command.

Steps to Reproduce

I ran the first command and waited 24 hours but i still cant get the bedge.

Expected Behavior

I get the bedge

Current Behavior

I aint getting it

Screenshots/Videos

image

Client and Sys...

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

Description

Hey everyone, I'm having issues trying to call AUTHORIZE through the RPC API. I'm getting an OAuth error saying that I'm requesting an invalid scope, despite the scope being valid (rpc). It used to work up until a few days ago.

Steps to Reproduce

Run this Node.js example with clientId, clientSecret, and redirectUri specified:

const RPC = require('discord-rpc')

const main = async () => {
    const client = new RPC.Client({ transpor...
chilly siloBOT
#

Description

Going through the oauth flow using both the role_connections.write scope and PKCE will return an invalid_scope error to the browser

Steps to Reproduce

Go to https://discord.com/oauth2/authorize?client_id=&code_challenge=whatever&code_challenge_method=S256&redirect_uri=&response_type=code&scope=identify role_connections.write

(validity of challenge does not matter)

Expected Behavior

The browser should be returned an authorization code in the url regardless...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I'm also seeing the same problem in my C++ application.
Using "rpc", "identify", "rpc.voice.read" and "rpc.voice.write" scopes.
It was working fine a few days ago, but yesterday I got an OAuth error with invalid scope.

error message:
"cmd":"AUTHORIZE"
"data":{"code":5000,"message":"OAuth2 Error: invalid_scope: The requested scope is invalid, unknown, or malformed."}

System Information:
Tested on both Windows 10/11 and Mac 12.3.1

#

I've never had to since September...

The interpretation I had reading the docs was that the "requires discord approval" notice on rpc and similar was that the user had to acknowledge that the app wants to use these rather powerful scopes, as that logic lined up with how I interpreted the RPC docs regarding your app and how users of your app vary depending on if you've gotten through the approval process or not.

If there was some additional approval step, then the docs don't seem to cl...

chilly siloBOT
chilly siloBOT
#

they stopped approving apps for RPC years ago, and it isn't really supported anymore (beyond the unauthorized ipc connection for rich presence)

though it is unclear whether this change was intentional

regardless, it has not been possible to fully release an app with the rpc scope; it has always (or for a long time at least) been locked to the app's developers and testers for unapproved apps.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Twitch allows the creation of animated emotes since June 2021, since then its integration with Discord has given problems, causing imported animated emotes to appear as static on Discord. This was shown to be a bug on the Twitch's side, until now

As described here, Twitch's API now supports export of animated emotes, but the problem persists so now the bug is on the Discord's side

Steps...

#

This has been discussed in #3310 and #4758, but considering app_permissions has already been implemented at the guild level (#5131), I believe a standalone discussion will help bring attention to it

As a developer of a stateless app, I want to see my bot's computed permissions for a specific channel so that I can easily warn the admins which actions my app won't be able to perform due to missing permissions

A significant step in configuring my app requires an admin to select a categor...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I tested currently the linked role example and created a linked role Cookie Monster. The requirement for this role is 10 Cookies Eaten Greater Than. Now I connected my Discord account with my app via oauth2 and set the metadata {"cookieseaten":20}. Now I can self-assign the role Cookie Monster.

If I set now the metadta for my account to {"cookieseaten":9}, I leave automatically this role. This what I want. But if increase the eate...

chilly siloBOT
#

@advaith1 @devsnek I removed the character limit from the slash command and confirmed that although the text that autofills the field is the 'nice' name, it passes the 'ugly' value into the slash command handler. This is a weird position to be in, because I can't use autocomplete with a nice name. Is there any way to have it autofill just the value? It seems counter-intuitive to do it this way, not at all what I expected.

chilly siloBOT
#

This is an extremely unintuitive permission setting for users.
It looks like its about links. But it actually about embeds.
Perhaps the client sees embeds as a type of link, but users see it as a bot message. Users can not be expected to know this.
In reality what happens is the permission becomes useless because every bot requires it.

99% of bots use embeds for normal messages, and it has nothing to do with embedding content from the web that could potentially be nasty.

Maybe sendin...

#

Good evening,

I'm opening this PR to propose the addition of one of my projects.

Mineral is a framework for designing Discord bots in the Dart language.
The project includes a total management of the dispatching of events, commands or context menus.

I would like to know if you accept the addition of such projects in your documentation at this time.
If you would like more information about the project, please do not hesitate to contact me.

Thank you in advance and have a great ev...

chilly siloBOT
#

This does not appear to be a bug, nor is it related to Discord's API. For product feedback, please visit https://feedback.discord.com

The enterprise API Discord leverages for Twitch does not yet support them. In addition, there's other conflicting work which teams here would need to complete along with this (like upgrading existing emotes which are now animated and how this interplays with animated emoji, a paid feature of Nitro).

chilly siloBOT
#

Description

When a premium role (server subscription) is retrieved from the Discord API, it always returns available_for_purchase as null.

Steps to Reproduce

  1. send a request to get a premium role

Expected Behavior

If the subscription is a draft subscription, available_for_purchase should return false, and if it's public it should return true.

Current Behavior

It's always returning null.

Screenshots/Videos

![image](https://user-images.githubuserconten...

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

Suggestion

ability to have a string thing but the metadata/requirement could act like a boolean

In Action

Requirements

PUT request to https://discord.com/api/v10/applications/clientid/role-connections/metadata

[
  {
    "key": "gamerank",
    "name": "Rank In Game",
    "description": "Rank a user has in game",
    "type": 9 // new string application role connectionmetadata type
  }
]

This would be more for display, but in requirements it would act ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

My god i wrote the nodejs but the Discord Developer UI is so infuriating and disfunctional it's unbelievable! Is ask God "what is your logic?!" I ask the Discord UI developers "what is you logic?!"

It sounds like they haven't got an experience designer on the team if that's the kind of pain points a user like yourself is experiencing. Your experience should be designed better, I'm sorry that they haven't done so.

chilly siloBOT
chilly siloBOT
#

Description

The GitHub webhook text for Actions jobs now has "None" in place of the job name and status.

Steps to Reproduce

  1. Have a GitHub repo with an Actions workflow
  2. Set up a Discord GitHub webhook that sends messages for Actions jobs
  3. Make the workflow run

Expected Behavior

The message contains the job name and status as it used to

Current Behavior

The message contains "None" instead

Screenshots/Videos

12/03:
![image](https://user-images.githubuserco...

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

Description

Currently, the C# GameSDK wrapper uses PInvoke marshaling to pass delegates as callback function pointers to the native library. According to the documentation, the passed delegate mustn't be garbage collected while the native code still stores the function pointer:

However, if the unmanaged function stores the delegate to use after the call completes, you must man...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I am writing a bot (with administrator's permissions) using discord.js written on TypeScript.
It's main job is to listen to events and handle each according to some logic.

For some reason the events: "messageCreate", "guildMemberAdd", "guildMemberRemove" fires just fine,
but other 2 events: "guildMemberJoin", " voiceStateUpdate" NOT fires, and I can't figure why.

I wondered if there is any bug with these events or did I just implement it badly.

Waiting for your ...

chilly siloBOT
chilly siloBOT
#

voiceStateUpdate will not fire since you do not have the voice states intents enabled. note that js code can make it monospaced and add syntax highlighting so it is easier to read here.

From the lack of inlay hints for guildMemberJoin, you may have the wrong signature, try asking in https://discord.gg/djs

Thanks for the quick reply, I Fixed the voiceStateUpdate issue by added IntentsBitField.Flags.GuildVoiceStates to the client's intents array, as you wrote.

I'll ...

chilly siloBOT
chilly siloBOT
#

Communicating is essential, and on discord we have serious problems about it.
It is not possible to have a limitation of only 4k characters.
I wanted to turn my discord into a real forum but I can't even post a guide without going over the number of characters.
this thing needs to be removed.

Other Things To Implement:

1: Display colored names based on role in voice chat (this helps to immediately distinguish who is present in VC, an admin, a moderator, a specific user)

2: Fix blo...

chilly siloBOT
#

Description

If you add an interactions URL to an application, the associated bot gains a BOT_HTTP_INTERACTIONS flag in their public_key attribute. However, there is no notification that anything changed.

Steps to Reproduce

  1. Start a bot that checks whether another bot uses HTTP interactions or not.
  2. Add an HTTP endpoint to a bot that initial bot shares a server with.
  3. Observe how no matter how well coded the cache for that initial bot is, it will never say the other bot ...
chilly siloBOT
#

Description

It would be useful if there was some indication of whether the bot user of an application is a member of the server an interaction is sent from. This would make it easier for applications to enable or disable certain actions that require a bot user in the server.

A possible solution would be to include a simple boolean of indicating if the bot user is a member, or including a nullable member object of the bot user in the server.

Alternatives Considered

One alternat...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

me aparece el error "Error al ejecutar 'insertBefore' en 'Node': El nodo antes del cual se insertará el nuevo nodo no es un hijo de este nodo." en la pagina de discord developers

Steps to Reproduce

  • entrar a discord developers
  • presionar aplicaciones
  • presionas un bot que creaste
  • y aparace el error

Expected Behavior

esperaba entar sin problemas

Current Behavior

un error que no me deja avanzar

Screenshots/Videos

![Discord Developer Portal — My...

chilly siloBOT
#

Allows us to change the user's presence through an authentication scope (and api*) if the user has enabled our app, just like the Spotify connection, you don't need to download any app, works on mobile, desktop and web.

Currently we can only change a user's presence if the user downloads our desktop app or has a Samsung phone, which is not as good as presence scope and api*.

* = you could user api/ws/rpc, idk?
chilly siloBOT
#

Description

First of all I have to clarify that this error occurs on all devices.
basically it is related to the deferred and later edited interactions.
Because the initial response of the interactions must be sent in less than 3 seconds, two methods from the "discord.js" module called Interaction#DeferReply" are used (which is used to defer the response, maximum 15 minutes, which is the duration of the token to expire) and then the other method called "Interaction#EditReply" (to final...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

If you want to point out where the solution is 'just ignore it', fine, I will admit that I missed it (although adding fields to a versioned API seems questionable). Otherwise, the fact that not all fields are documented should be documented for serialisation libraries that will throw an exception by default if unknown fields are attempted to be serialised (i.e KotlinX Serialization).

If you'd prefer I not "complete" it, I could delete it instead :)

Aside from being an incredibly immat...

chilly siloBOT
#

The way youre getting the tokens seems very error prone. Unfortunately I cant help debug this much more, but given that only are experiencing this issue I think its likely a problem with your code. I would refactor your code to not use so many nested closures. In particular, line 127 looks questionable in that you may not be accessing the index into the tokenlist array that you think you are

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Hi,
When my friend is in invisible mode, I can spot her.

Steps to Reproduce

Open discord from any phone.
Open a new server.
Switch account to invisible mode.
Just click on the server name.
And you will see that you will appear online even though you are in offline mode.
Then try it as two people.

Expected Behavior

Just "2 Member" .. So, 2 offline..

Current Behavior

"1 Online - 2 Member"
it shouldn't be like this.

Screenshots/Videos

https://prn...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT