#github-notifications

1 messages · Page 8 of 1

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Specifying the width and height query parameter on the ephemeral attachments endpoint (https://media.discordapp.net/ephemeral-attachments) returns a HTTP 400 error now.

Steps to Reproduce

curl -i -H 'User-Agent: DiscordBot (Foo, 1.0.0)' 'https://media.discordapp.net/ephemeral-attachments/1156674590249062524/1156682930345742337/RANKCARD.png?ex=6515dc6c&is=65148aec&hm=4b20d2df9937ff01fcd84d4f6f1a80948cdc4de5fe6d3174ea48d9b0ed20cb3e&?width=1200&height=300'

...

chilly siloBOT
#

Currently, Discord has introduced a new paid subscription system without providing a REST API endpoint for developers to receive notifications when a user subscribes or renews their subscription. This limitation hinders our ability to seamlessly integrate subscription data into our applications.

I propose the implementation of a feature that allows developers to receive subscription events via API. This enhancement would significantly improve the user-developer experience and enable us to ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#
7. If an app **can** resume/reconnect, it should open a new connection using `resume_gateway_url` with the same version and encoding, then send a [Resume (opcode `6`)](#DOCS_TOPICS_GATEWAY_EVENTS/resume) event. If an app **cannot** resume/reconnect, it should open a new connection using the cached URL from step #1, then repeat the whole Gateway cycle. *Yipee!* **Read the section on [Resuming](#DOCS_TOPICS_GATEWAY/resuming)**
chilly siloBOT
chilly siloBOT
#

Description

The app_permissions field on interactions does not update sometimes, this seems to happen when updating the permissions for an old interaction, though I'm not sure whether that's really the cause.

Steps to Reproduce

  1. Get an interaction response
  2. Pray that app_permissions is correct.

Expected Behavior

app_permissions should be updated with the integration's permissions correctly.

Current Behavior

app_permissions should be updated with the integra...

#

Description

When putting mentions as options in a string select menu, the options are printed out as raw string instead of being rendered as mentions.

Steps to Reproduce

Reply with a string select list that has correctly formatted mentions as values for the options.

Expected Behavior

Options containing correctly formatted mentions for users should render the username of the user instead of containing the raw string of the mention.

Current Behavior

Options in string sele...

chilly siloBOT
#

Description

global_name is documented as a non-optional field in the user object, but it is not present in message.author for messages sent by webhooks.

This was previously mentioned in a comment to a separate issue https://github.com/discord/discord-api-docs/issues/6347#issuecomment-1707393569

Steps to Reproduce

Send a message using a webhook
Look at the author object in the sent message

Expected Behavior...

chilly siloBOT
#

Description

When executing a slash command or interacting with a component in a channel with slowmode enabled (and the user is affected), the channel slowmode takes effect and subsequent interactions will fail.

Steps to Reproduce

  1. Have a bot with a slash command or other interaction (like a button)
  2. Have a channel with slowmode enabled and a user subject to the rate limit
  3. Attempt to execute a slash command while under cooldown.
  4. Observe either the interaction immediatel...
chilly siloBOT
chilly siloBOT
#

Description

Server Members with the "Manage Channels" or "Manage Messages" Permission are being blocked from bypassing slowmode.

Steps to Reproduce

  • Have the "Manage Channels" or "Manage Messages" permission in a server (not Admin or Owner)
  • Go to a channel in that server that has slowmode on it (10 seconds will do)
  • Try to send multiple messages where typically you'd be able to bypass the slowmode
  • Notice how the messages that should've bypassed slowmode are red in text col...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I think you might be misunderstanding the issue.

String selects have a way to define what the options are. That is in the "options" property.

That property is not used for user selects.

I need a multiselect menu that has a defined list of options that corresponds to specific users. The options should preferably show the username of the users.

String selects does not render the username, even if I put in a formatted mention.
User select menus does not allow for defining the option...

#

Thanks.

Though, I was under the impression that it was no longer possible for a bot to have access to the user's username.

And if it can, I would really like to not set the bot up to have access to usernames, as it should not be necessary. The bot only needs user ids, and if the client could render the usernames for given ids, it is much better. This is exactly the pattern that mentions solve.


From: advaith @.***>
Sent: Saturday, September 30, 2...

chilly siloBOT
#

Thanks. Though, I was under the impression that it was no longer possible for a bot to have access to the user's username. And if it can, I would really like to not set the bot up to have access to usernames, as it should not be necessary. The bot only needs user ids, and if the client could render the usernames for given ids, it is much better. This is exactly the pattern that mentions solve.

Only discriminators went away (showing "0" in the return) for migrated users and you cannot acc...

chilly siloBOT
#

Based on information from above, I'm putting this for readability as it took me quite a while to stumble upon this issue (and #5524) to find out why external emojis weren't showing up for the bot I was working on. The workaround, as opposed to granting @everyone the External Emojis permission, is to have the bot edit the message immediately after sending it.

Here's a quick example using DSharpPlus, but I'd imagine the process would be pretty similar for other libraries:

st...
#

Based on information from #5279, I'm putting this for readability as it took me quite a while to stumble upon that issue (and this one) to find out why external emojis weren't showing up for the bot I was working on. The workaround, as opposed to granting @everyone the External Emojis permission, is to have the bot edit the message immediately after sending it.

Here's a quick example using DSharpPlus, but I'd imagine the process would be pretty similar for other libraries:

...
chilly siloBOT
#

Hi there,

I'm using a snippet of code to send out Discord Webhooks via PHP. Up until a few days ago, this has worked without issue, then has suddenly stopped working. The code is as below:

` $hookObject = json_encode([ "content" => "$content", ], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );

$ch = curl_init();

curl_setopt_array( $ch, [
    CURLOPT_URL => $hookurl,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => $hookObject,
    CURLOPT...
chilly siloBOT
chilly siloBOT
#

Description

The flags field is mentioned in a bunch of places, but it's not documented.
Furthermore, the json includes a bunch more info that aren't present in the object structure documentation.

Can anyone confirm what is the situation here?
I was trying to update DiscordBM but don't want to add those fields in the json since they are probably not considered documented and would cause (solvable) sem-ver issues in the lib if they are remo...

chilly siloBOT
chilly siloBOT
#

Description

i made a bot like ballsdex and in completion some emojis are not shown

Steps to Reproduce

uhm solve the bug with the emojis

Expected Behavior

it can be fixed

Current Behavior

i don't know

Screenshots/Videos

image

Client and System Information

where do i see?

chilly siloBOT
chilly siloBOT
#

Description

If you have an option in your slash command with set min and max values, but also make it autocomplete, the client refuses to send the interaction if the name of the option you choose with autocomplete doesn't follow the limits, regardless if the value does

Steps to Reproduce

  1. Create a slash command with an option with min_length of 1 and max_length of 1 (example) and autocomplete set to true
  2. On the autocomplete interaction, send a list of responses where th...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

It seems to be possible now. If you end up on this page for the same reasons I did, all you need to do is to clear the existing attachments:

await message.edit(
    files=[File('blah/blah/smurfs-having-a-party.jpg')],
    attachments=[],
)

(The code is py-cord Python package, but you probably get what I mean.)

Docs:

chilly siloBOT
chilly siloBOT
#

Description

Discord recently changed their Cloudflare configuration to return a JSON error when the user is Cloudflare blocked instead of the HTML Cloudflare page.

Example response:

{
    "message": "internal network error",
    "code": 40333
}

This error is misleading, "internal network error" might make someone think Discord is having issues with their API.

Steps to Reproduce

Discord blocks Bot API requests with browser user agents, you can reproduce it wi...

chilly siloBOT
chilly siloBOT
#

Bots cannot currently use the application metadata endpoint (/users/:id/sessions/:session_id/activities/:application_id), which the only usage currently is for button URLs. It would be nice to have a way for bots to get button URLs for commands that list presences or even moderation since the client does not currently have a way to show where the button takes you and reuses the same link opening logic as messages, meaning that invites are accepted with n...

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

Description

Allow bots to access the "insights" of the server from the API.

Why This is Needed

The server insights are really handy even if it misses some things. However, for those who manage several servers, it becomes annoying to have to download them in CSV format to reuse them in software or scripts.

If bots were able to retrieve this information, I'm sure it would be possible to automatically import the data into online tools or other software.

I can imagine deep...

chilly siloBOT
chilly siloBOT
#

Addressing docs for Entitlements (#6476)

The subscription_id, promotion_id, deleted, and gift_code_flags fields are undocumented.

  • Added deleted.
  • subscription_id, promotion_id and gift_code_flags to remain undocumented at this time
  • Updated before and after param descriptions for List Entitlements to be more explicit. Snowflake IDs are time-ordered.

Addressing docs for SKUs (#6468)

The flags field is mentioned in a bunch of places in the [SKU documentation](ht...

chilly siloBOT
chilly siloBOT
#

Description

When you try to invite a bot to a server that requires 2fa for mod actions using a mobile browser (not in app), you get "Invalid two-factor code" message instead of a popup asking for your 2fa code

Steps to Reproduce

  1. Open a browser in your mobile (I tested only chrome)
  2. Go to a bot invite oauth url
  3. Select a server that requires 2fa for mod actions
  4. Click "Authorize", it'll now show the "Invalid two-factor code" message

Expected Behavior

Show a popup/f...

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

Actually, this issue arises when 2FA is not enabled on your profile but is activated in your server's moderation tab.
If you have 2FA set up on your profile, then the steps to reproduce the problem are something else rather than just this message popping up because when I tried to replicate it on my server, the issue did not occur.
As far as I know, this issue is specific to server ID 1079828356549333143

chilly siloBOT
chilly siloBOT
#

Well my account has 2FA enabled and I get the issue, maybe you're not doing the steps correctly or there's some other cause besides these?

  1. Are you trying this in mobile?
  2. Is it a browser? What browser?
  3. If you're saying this issue doesn't happen to you, are you saying you're getting a popup to enter your 2FA code then?
  4. Issue being specific to a server ID you provided, are you trying in another server with 2FA for mod actions enabled as well?
chilly siloBOT
#

Entitlements can be deleted in some scenarios. This field should be documented so that apps can use it.

If Discord themselves manually delete it due to refunds/fraud for example. For normal expiry it won't be set True. However does it even will be available when it's deleted, since it also disappears when deleting a test entitlement.

If it's not true when it expires, it may be better to point it out, as it can be misleading.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

The API returns scheduled events from my guild with no creator_id, although those are recently created events and although this has worked a few days before. I made no changes to my code and it started crashing, because it assumed creator_id is always populated (I know it's optional, but only for very old events).

Steps to Reproduce

I made my bot so that it only enriches my own guild, hence I cannot confirm if this is guild-specific or not. I use pycord:

...
chilly siloBOT
#

Description

Modify Channel does not correctly handle null in available_tags field.

Steps to Reproduce

curl -XPATCH -H'Content-Type: application/json' -d '{"available_tags":null}' \
   -H"Authorization: Bot $TOKEN" \
   https://discord.com/api/v9/channels/$CHANNEL

Expected Behavior

Value should be treated the same way as [] (i.e. removing all forum tags) and endpoint should return 200 O...

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

Hello, is it possible to add an Event which triggers whenever a Action is done which is usually written in the audit Log. There is already an Event when there is an Entry created but it only triggers when a new one is created and this happens every while. Usually it counts like:
User x disconnected 1,2,3,4,5,6,... instead of creating a new Entry but as a Dev I would need to be triggered every time to get the Info when for example a user gets disconnect. With that information I can see who di...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

This PR adds following missing application fields:

  • discoverability_state
  • discovery_eligibility_flags
  • explicit_content_filter
  • hook
  • interactions_event_types
  • interactions_version
  • is_monetized
  • monetization_eligibility_flags
  • monetization_state
  • rpc_application_state
  • store_application_state
  • verification_state

and changes following fields:

  • role_connections_verification_url type from string to ?string
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

@ForbiddenEra we've applied some changes which should address the behavior you've described. Can you confirm?

Oo, lovely! Let me peek... Yep! Seems like the issue is solved for the widget!

Thanks!

I am wondering though - the iframe code has allow-popups and allow-popups-to-escape-sandbox - how needed are these? I'd guess the first would probably be needed at least. Is there a specific method of functionality I can test to ensure it's working properly for everyone? I tested clic...

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

Global Rate Limit added to discordapp.com/*

:information_source: We have added a global rate limit for API requests made to discordapp.com/* and may further restrict requests in the future.

To limit impact on your app, please make sure you are making calls to discord.com/*.

This does not apply for cdn.discordapp.com.

*:mag: Refer to the API Reference for more info on which url(s) to use when building on the REST API...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Would it be possible for discord to allow a bot to respond to an interaction with a message that it wishes to send instead of the user, and the user has to confirm whether he authorizes the bot to write this message for him?

This could be very useful when using pre-defined responses in tickets.

Example:

  1. /impersonate
  2. The bot responds to the interaction with a new type "Impersonate" and a reply message such as "Hello world!".
  3. The Discord client displays a modal "Do you authori...
chilly siloBOT
chilly siloBOT
#

Description

Audit log entiries sent to bots on the GUILD_AUDIT_LOG_ENTRY_CREATE event come in format, that matches the API version of the app that caused the event, not the version the app that recieves the event uses.

I've encountered this with audit log entries of type 10, 12, 13, 14 & 15, but this might extend to other ones.

Steps to Reproduce

  1. Have an app connected to gateway with the GUILD_MODERATION intent enabled; App should run on API v10
  2. Execute an action...
chilly siloBOT
chilly siloBOT
#

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


From: Awesome Stickz @.>
Sent: Tuesday, October 10, 2023 7:01:53 PM
To: discord/discord-api-docs @.
>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] [OAuth Page] Showing "Invalid two-factor code" message on mobile for bot invites (Issue #6478)

Well my account has 2FA enabled and I get the issue, maybe you're not doing the steps correctly or there's som...

chilly siloBOT
#

Description

Everytime I want to search for something the content in the search menu gets reset

Steps to Reproduce

  1. Go on Discord Docs
  2. Open Search Menu
  3. Start searching

Expected Behavior

The content in the search menu wouldn't reset

Current Behavior

The content in the search menu is getting reset

Screenshots/Videos

https://github.com/discord/discord-api-docs/assets/107622047/92a51e7c-6911-40b4-a27d-87ff0dc8baaa

Client and System Information

Go...

chilly siloBOT
#

Currently I have seen many active servers to be nuked by some people's by mass ping in the server and adding there self bot in the server for nuking. So I have studied a lot on this and I came with the result that discord should limit the everyone/here ping in every server. Like the server moderator , admin , staffs etc.. can ping everyone/here in the server only 5 time ( You Can Change The Limit As Per Your Data And Analysis ) . In most of the server there are no need of the 5 pings also, an...

chilly siloBOT
#

Limiting atMentions can already be done via AutoMod Filters.

You can also already restrict who can atMention the Everyone, Here, and Role Pings in your Server Permissions setup/settings (a setting which has existed for YEARS).

Plus, restricting only Mention Spam only helps with Server Ping/Mention raids, not Server "Nukes" (which seem to typically be as a result of a Server Owner's/Admin's account being compromised - and n...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

DarkerInk @.***> schrieb am Do., 7. Sept. 2023, 08:05:

hey @b-rad15 https://github.com/b-rad15, I've gone ahead and updated
this issue as I was only worried about global_name and ignored the fact
other fields are missing (since a lot are), You should create a new issue
(if there isn't one already) about your issue as it is different to this
one!


Reply to this email directly, view it on GitHub
<https://github.com/discord/discord-api-docs/issues/6347#issue...

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

Spark Mail

.slogan:before {
content: "";
flex: 1 1;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
margin: auto;
margin-left: 15px;
margin-right: 15px;
}
.slogan:after {
content: "";
flex: 1 1;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
margin: auto;
margin-left: 15px;
margin-right: 15px;
}
@media (prefers-color-scheme: dark) {
body {
background: #191c23 !important;
color: #fff !important;
}
h4 {
...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I made an issue (#6347) relating to fields not showing up, a couple of days ago it was "fixed." and the fields started showing up, though they only show up 50% of the time other times some are missing.

Steps to Reproduce

  1. connect to rpc
  2. subscribe to "MESSAGE_CREATE" (or MESSAGE_UPDATE)
  3. create a message (/edit a message)

Expected Behavior

All the fields show appear on each event

Current Behavior

50% of the time some fields are missing

Screens...

chilly siloBOT
#

I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know

I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need Nitro). Rather, we...

#

I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know

I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need Nitro). Rath...

#

That is not a solution in my opinion, just a workaround as you are no longer using external emojis. I find it baffling that this issue has been unresolved for so long.Op 21 okt 2023 om 10:06 heeft NotDemonix @.***> het volgende geschreven:
I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know

—Reply to this email directly, view it on GitHub, or un...

#

I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know

I don't understand your solution... We are talking about the rendering issue of any external Emoji by a BOT webhook. Only emoji of servers where BOT is in are rendered. This is not the expected behavior. All external emoji should be rendered. BOT does not has limits as a user (need ...

chilly siloBOT
#

That is not a solution in my opinion, just a workaround as you are no longer using external emojis. I find it baffling that this issue has been unresolved for so long.Op 21 okt 2023 om 10:06 heeft NotDemonix @.***> het volgende geschreven: I solved it by just straight up renaming emojis to like white_check_mark so when the everyone perm can't use external emojis, it shows discord default emoji with that name, why? I don't know —Reply to this email directly, view it on GitHub, or unsu...

chilly siloBOT
#

That is not always an option. I have a bot that is focused on Elder Scrolls Online gaming with things like signup roster where members need to pick roles and classes. If I were to just replace the role and class icons with generic icons it would become very difficult for members to use the rosters (especially with the classes)Op 23 okt 2023 om 12:23 heeft NotDemonix @.***> het volgende geschreven:

That is not a solution in my opinion, just a workaround as you are no longer using ext...

#

That is not always an option. I have a bot that is focused on Elder Scrolls Online gaming with things like signup roster where members need to pick roles and classes. If I were to just replace the role and class icons with generic icons it would become very difficult for members to use the rosters (especially with the classes)Op 23 okt 2023 om 12:23 heeft NotDemonix @.***> het volgende geschreven: That is not a solution in my opinion, just a workaround as you are no longer using exte...

chilly siloBOT
#

Bumps actions/setup-node from 3 to 4.

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

v4.0.0
What's Changed
In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in actions/setup-node#866
Besides, release contains such changes as:

Upgrade actions/checkout to v4 by @​gmembre-zenika in actions/setup-node#868
Update actions/checkout for documentation and yaml by @​dmitry-shibanov...

chilly siloBOT
#

Our site has links that people share in Discord that have og:video tags so people can watch video directly in the app. The meta tags change when we process a "better" version of the video on the server but it seems like Discord caches the metatag data for each user when they first look at the link. Is it possible to clear the cache somehow when we update our metatags?Our site has links that people share in Discord that have og:video tags so people can watch video directly in the app. The meta...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 heeft Massimo_GB @.***> het volgende geschreven:
Solved for me. Just to edit the webhook message after sending it. Anyway, an additional API call not expected. Take a look here #5524 (comment)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

chilly siloBOT
#

As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 heeft Massimo_GB @.> het volgende geschreven: Solved for me. Just to edit the webhook message after sending it. Anyway, an additional API call not expected. Take a look here #5524 (comment) —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Yes, right. It's ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


From: Massimo_GB @.>
Sent: Tuesday, October 24, 2023 3:30:56 PM
To: discord/discord-api-docs @.
>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] Interaction follow-ups aren't using bot permissions (Issue #5279)

As also mentioned on that page, it's a workaround not a solution. And one that doesn't work for ephemeral messages. Op 24 okt 2023 om 15:02 hee...

chilly siloBOT
chilly siloBOT
#

Description

This is a very weird issue, that we've only started seeing over the last one or two weeks.

TL;DR: very occasionally, when creating a channel message via the gateway that contains an embed, Discord mutates the message by duplicating the embed.

Our guild uses a custom application which interacts with the v10 API over the websocket gateway. One of its functions is to send a periodic status update to a guild channel, which is simply a message containing no text content ...

chilly siloBOT
#

I created completely new server (1166673072393289848, for the record) and authorized my bot (application 797097976571887687, for the record) to be an admin there. I created a sample event and tried to run the same code with the guild ID set to 1166673072393289848. The initial payload printed to my console looks like this:

...
'guild_scheduled_events': [{'test': None, 'status': 1, 'sku_ids': [], 'scheduled_start_time': '2023-12-24T12:00:00+00:00', 'scheduled_end_time': '2023-12-24T13:...
#

FWIW, if you're not up to running the code, the initial logs go like below. When I mention initial payload in my previous comments, what I mean is the content of the WebSocket Event: {'t': 'GUILD_CREATE' lines.

DEBUG:asyncio:Using selector: KqueueSelector
WARNING:discord.client:PyNaCl is not installed, voice will NOT be supported
DEBUG:discord.client:on_ready has successfully been registered as an event
INFO:discord.client:logging in using static token
DEBUG:discord.http:GET htt...
#

And it happens again. I keep the broken session to provide any info needed.

Session id: ff221eb5c61f39cc561b6ec6731a5394
It resumes successfully, no errors or invalidation.

{
  t: 'RESUMED',
  s: 444,
  op: 0,
  d: {
    _trace: [
      '["gateway-prd-us-east1-c-kxg8",{"micros":637,"calls":["id_created",{"micros":0,"calls":[]},"session_lookup_time",{"micros":319,"calls":[]},"session_lookup_finished",{"micros":14,"calls":[]},"discord-sessions-prd-2-294",{"micros":23}]}]'
 ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#
chilly siloBOT
#

To provide a better user experience for my bot users, I'd like to be able to customize the deferred response experience of my bot's users when computing a response to a user's command could take at least 2-4 seconds to complete and then reply back to the user (i.e. more than the 3 second limit at times).

My current solution is to first reply to the user with a personalized message (I cycle through a random reply string out of 10 possible strings each time the user sends a command), and t...

chilly siloBOT
chilly siloBOT
#

Following feedback on Premium App Subscriptions, we're working on a better way for developers to test their app subscriptions. The goal is to provide an alternative to creating test entitlements or using live payment methods.

In the meantime, we’re providing updated guidance around the /entitlements and /skus HTTP endpoints.

🧪 These endpoints will remain available until the new testing method is available.

Library devs: **We strongly advise against embedding them in long-term ...

#
> Please be aware that these testing endpoints are temporary. They may be used for interim testing but should not be implemented in long-term tooling or libraries. We're actively developing an improved method for testing your premium offering, as highlighted in our [guidance updates on Entitlements and SKUs](#DOCS_CHANGE_LOG/premium-app-subscriptions-updated-guidance-for-entitlements-skus).
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I've solved this without relying in preset delays
posting my solution here to help whoever is having this problem:

async function WaitStarterMessage(thread){
    try {
        const message = await thread.fetchStarterMessage();
        return message;
    } catch (error) {
        if(error.name != "DiscordAPIError[10008]")
        {
            console.log(error);
            process.exit();
        }
        return null;
    }
}

than, in my code, before everythin...

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

Just an observation: It seems like they ran a migration that automatically unpaused all guilds with the COMMUNITY and INVITES_DISABLED features. They did not, however, unpause non-community guilds automatically (it could also be that the migration had not yet reached my guild, so the lack of COMMUNITY could be a coincidence). I had a guild with INVITES_DISABLED that I enrolled into a community server just now. It didn't strip the INVITES_DISABLED feature until I created an invite an...

chilly siloBOT
#

Description

My bot manages 2946 events across 110 servers and recently Discord isn't automatically starting the events at the start time. However according to the API docs: https://discord.com/developers/docs/resources/guild-scheduled-event#an-external-event-will-automatically-begin-at-its-scheduled-start-time it should start automatically.
And the automatic starting behaviour was working fine since the introduction of the events feature till a few days ago. This bad behaviour has been ...

chilly siloBOT
#

Description

If the first capture flag by a regex is allowed by an allow_list item, then any further captures will be ignored.

Steps to Reproduce

  1. Add the following to an AutoMod rule:
    a. this regex: .{1, 4}word
    b. this in the allow list: goodword
  2. Using a non-admin account, send goodword badword
  3. Observe how it bypasses the rule, even though badword should be blocked.

Expected Behavior

When AutoMod searches a message with regex, it should consider **ever...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Is there any update on this? I can get fetch(`https://discord.com/api/users/@me/guilds/${GUILD_ID}/member`).roles and fetch(`https://discord.com/api/guilds/${GUILD_ID}/roles`).tags.subscription_listing_id but trying to get subscription prices from `https://discord.com/api/store/published-listings/skus/${id}/subscription-plans` returns 401 with the user's token and "Bots cannot use this endpoint" with the bot token.

chilly siloBOT
#

I wholeheartedly share the frustration regarding this year-old bug. The situation it creates is particularly challenging for my workflow, which involves a two-step process for managing fanwork in a dedicated channel. Users can post their fanwork, and it's initially pinned by other users using a context command. The subsequent step requires a moderator to review the pinned content, unpin it, and then move it to a gallery channel. This involves utilizing an ephemeral UI element to allow the mod...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Hi, I'm making a discord bot and currently, I'm working on rank cards. I want to set the background of the rank cards to the user's guild banner - member's banner. I'm trying to get it via "https://discord.com/api/v10/guilds/${inter.guild.id}/members/${userId}" and it couldn't find anything. I printed it and there isn't a banner defined only a user's banner.
{
avatar: 'a_41045f55e66c2b3fda1250dc1d5343c5',
communication_disabled_until: null,
flags: 0,
joined_at: '2022-11-22T16:25:20.281000+00:...

chilly siloBOT
#

Description

Responding to an component interaction received from the gateway with an uncached image in the Embed using the/interactions/{interaction.id}/{interaction.token}/callback endpoint triggers two MESSAGE_UPDATE events.

This does not happen if the embed does not have an image or if the image is cached (sent before).

This is not usually noticeable on the client but if the message is edited again immediately after responding to the interaction, sometimes the second MESSAGE_U...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Hide any file in a photo/video/gif attachment for PC, browser and iOS, the last of which can directly get a link to the attachment we have hidden in the photo/video/gif.

Steps to Reproduce

  1. Attach as a first file any photo/video/gif and seconadry file - any that you want to hide;
  2. Change posting-request metadata and put "is_thumbnail": false for the first media file and "is_thumbnail": true for the file that you want to hide;
  3. Go to the message on iOS and try to...
#

I would like to be able to look up the owner id through the invite endpoint: /invites/{invite.code}

It would be very useful in validating that a person is the owner for a server, in my case I would love to use it for a server that has other server owners joining to help out the community! It would make the process a lot faster! Please considering it!

Example:
{
"code": "",
"guild": {
"owner_id": "",
},
}

chilly siloBOT
#

Description

I have a few users reporting that they cannot see all the buttons from a message posted by my bot. This seems to be iOS only, and only some iOS devices (my iPhone 12 doesn't have the issue, some users with iPhone XRs seem to hit it)

It appears the issue is when a row has enough buttons to wrap, they are wrapping underneath the row below them:
IMG_8386

What people see on...

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

Just did a test with my bot. I set @everyone privileges for using external emoji to disallow, but server wide as on the channel. Then I ran a command that uses external emojis and they showed up fine. I even created a new empty channel where I disallowed @everyone to use external emojis and they still show up fine. So it seems that they really fixed it. Op 2 nov 2023 om 07:28 heeft Zebby @.***> het volgende geschreven:

completed = fixed? or is this supposed to show us how developers...

chilly siloBOT
chilly siloBOT
#

@turkwr appreciate the contribution, but the Intro page is not set up to support localized content at the moment (only the getting started guide is). going to leave this open and talk to the team about what it'd take to add support for the Intro (and other pages), since this is definitely content we'd like to have one day 😄

Thank you, I am always ready to help when help is needed!

chilly siloBOT
#

As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.***> het volgende geschreven:

Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients?

Can you provide more information please?
Was this working before and now it isn't? How is this embed being created (what request?)

Sorry, yes I can provide more informa...

chilly siloBOT
#

Of course, but it does NOT work.

czw., 2 lis 2023, 18:48 użytkownik msetten @.***>
napisał:

As far as I know, it has always been a requirement that bots can only
access external emojis from servers that they are also in. Op 2 nov 2023 om
18:40 heeft Matthew Vine @.***> het volgende geschreven:

Uh oh, now external emojis broke... Or is that just discord updates
waiting to be available for clients?

Can you provide more information please?
Was ...

chilly siloBOT
#

As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.***> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to be available for clients? Can you provide more information please? Was this working before and now it isn't? How is this embed being created (what request?) Sorry, yes I can provide more information. This w...

#

So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis?

czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.***>
napisał:

As far as I know, it has always been a requirement that bots can only
access external emojis from servers that they are also in. Op 2 nov 2023 om
18:40 heeft Matthew Vine @.*> het volgende geschreven: Uh oh, now
external emojis broke... Or is that just discord updates waiting to...

#

So you tell me that the "fix" made it even worse by preventing bots that adapted to slash commands from using external emojis? czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.**> napisał:

As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.
> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to be ...

#

Alright

czw., 2 lis 2023, 21:22 użytkownik Lars_und_so @.***>
napisał:

So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis? czw., 2 lis 2023,
21:11 użytkownik Lars_und_so @.

*> napisał: … <#m_-3447782423581031534_> As far as I know, it has always
been a requirement that bots can only access external emojis from servers
that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @....

#

It does not work

I don't know it wasn't marked as fixed

Global not owned webhooks work with all emojis

Bot owned webhooks only can use emojis it can see which is not being fixed

On Thu, Nov 2, 2023, 16:23 NotDemonix @.***> wrote:

Alright

czw., 2 lis 2023, 21:22 użytkownik Lars_und_so @.***>
napisał:

So you tell me that the "fix" made it even worse by preventing bots that
adapted to slash commands from using external emojis? czw., 2 lis 2023...

chilly siloBOT
#

Description

I'm encountering errors randomly (the code is working properly), but it sometimes occurs, especially when I first start with the bot. The showModal appears as it should, but when I press 'submit,' it displays 'Unknown Interaction,' even though the interactionCreate event is triggered.

Steps to Reproduce

Happens totally random

Expected Behavior

The Modal will be sumbitted

Current Behavior

`throw new DiscordAPIError(data, "code" in data ? data.code : data....

chilly siloBOT
#

So you tell me that the "fix" made it even worse by preventing bots that adapted to slash commands from using external emojis? czw., 2 lis 2023, 21:11 użytkownik Lars_und_so @.**> napisał:

As far as I know, it has always been a requirement that bots can only access external emojis from servers that they are also in. Op 2 nov 2023 om 18:40 heeft Matthew Vine @.
> het volgende geschreven: Uh oh, now external emojis broke... Or is that just discord updates waiting to...

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

Description

Embed Debugger doesn't refetch images from the image proxy (due to proxy returning caching headers) but the unfurler internally fetches the image again which leads to a goofy bug when image dimensions are changing

Steps to Reproduce

Try to debug https://api.shig.gy/api/v3/random

  • Image is fetched by the browser once (via proxy) and cached because of cache headers returned by the proxy
  • Try to fetch embed again, unfurler returns updated data but image remains the s...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

And now the Workaround of edit the BOT webhook message after post it do not solve. So, after the fix all stop working. Good! Well done!

as Zoddo already replied and as I outlined in an earlier post

before this fix, Bots had the ability to use Emojis in interaction responses, even if they weren't in the guild of the emoji. This behaviour was removed for webhooks a while ago, and along with the earlier mentioned fix it also brought this up-to-date.

They removed this ability on purpose.

chilly siloBOT
#

Description

Some built-in connections, such as reddit, steam, and twitter have additional metadata to them, such as game_count for steam or total_karma for reddit. These work alongside things such as Linked Roles and and can be fetched via the API. However, when Discord refreshes these metadata, if the third-party service returns an error such as 500 (looking at you, steam) Discord will reset the value to be as if it was never set. This can cause issues for applications...

chilly siloBOT
#

Description

I have the case that the MANAGE_EVENTS permission does not show up in app_permissions from a command interaction despite the bot having this permission.

The command is send from a regular text channel

Steps to Reproduce

At the moment I can only reproduce this bug on a server of one of the users of my bot.

Expected Behavior

I receive the MANAGE_EVENTS permission via app_permissions

Current Behavior

I DO NOT receive the MANAGE_EVENTS permi...

chilly siloBOT
#

Why this is needed:

  • adding localizations makes it more trustful for a different language/country to determine whether to subscribe or not. If a bot is localized but a screen of the bot pops up which isn't localized and is indeed about buying something, it may at least get confusing or untrustworthy.
  • people who aren't as good at english as in their language may not really understand what the benefits are

Maybe it's a great idea to add localizations for the SKUs which we can setup...

chilly siloBOT
#

Description

In my bot I set the embed title url to a thread link:

https://discord.com/channels/467433493261975563/${threadID}

This used to redirect within the client and always worked.
As of some weeks, it instead randomly opens a browser tab for that thread. And is not consistent with this behavious: sometimes it opens a browser tab, sometimes it redirects within the client (which should be the preferred behaviour).

Steps to Reproduce

embed message component url field htt...

chilly siloBOT
chilly siloBOT
#

Description

This issue is similar to
https://github.com/discord/discord-api-docs/issues/6306

The distinction between this bug and that bug is that this bug seems to occur whether there are duplicate/similar commands or not.
The overall inconvenience is that pasting commands needs to be done twice, and then manual editing needs to be done to achieve the expected outcome of a single paste.

Steps to Reproduce

Eg: Current observed behaviour -
A slash command such as /imagine o...

chilly siloBOT
#

Description

Recently, I noticed when mentioning a slash command for sub commands, it doesn't always show up. I'll need to click on the command in the slash menu or fully execute/run it. This seems to happen intermittently. Doesn't happen for regular commands using the format but only for sub commands and sub command groups ``.

Steps to Reproduce

  1. Refresh client
  2. Don't use or open slash menu
  3. Mention sub command or sub command group using or

E...

chilly siloBOT
#

as far as i understood how it behaved, based from your video, you are pasting a long text of what seems to be a [ contained ] data of the previously executed slash command to the chat box, which just treats it as a string. with it being treated as a string ( despite the arguments you've included in ), the user is still prompted with the slash menu because of the /imagine message starter ( or of what the message or text started with ). selecting the slash command gives you an empty chatbox...

chilly siloBOT
#

'Close'
The long text is actually multiple arguments

Each one is delimited by <fieldname>:
Prior to saturday/Sunday - pasting would have auto-parsed it into the slash command syntax.

I have recorded another video- showing this issue on a 2 argument /slash command - showing that it definitely has nothing to do with the amount of content - it just refuses to allow copy/paste of the command on the iphone app.

This issue happens on my own bot and on midjourney's bot - affecting slash ...

chilly siloBOT
#

but hen again, as you said, it is pasted as a string. it's unlikely for Discord to just convert the chatbox type to slash command prompt just because they chatbox started with that substring. it is a string because it either gives you the choice to either send it as a text, which is the literal default, or have it as a slash command prompt. the args now work, if you pressed the slash command in the slash menu, because it is not a text chatbox anymore but a slash command prompt. you could ty...

chilly siloBOT
chilly siloBOT
#

nothing has changed relating to this, it is still the way it has always been

Actually that's not true. The PATCH call to https://discord.com/api/users/@me/settings used to let you change statuses, but now it seems websockets are required. Unless I'm misunderstanding?

You’re right. But that endpoint was never officially supported or intended for use by bot or anyone else (other than the client I guess). The only official way of setting a bot’s status is [through the gateway](http...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The point you are missing is that it 'used' to work.
'it's unlikely for Discord to just convert the chatbox type to slash command '
It is not unlikely, since this was usual behaviour up until the start of this week.

Last week - you could paste the command, and it would auto parse into a slash command. No additional effort required.
At most you would need to delete or add a space to your text input and then the string would auto-parse into a command.

Since Sunday/Monday this week - si...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Why don't we have any attention on this matter? This is actually much of a concern. The music apps that want to integrate rich presence into discord have to use the deprecated rpc module, which in turn says "Playing a game" instead of the wanted "Listening to musicAppName", if it was not meant for devs to use it, why is it even there? This lacks support from discord and I want this issue to be re-opened.

Either remove the option or if you don't just let devs use it!

chilly siloBOT
#

Discord currently forbids self-botting and self-puppeting (using a human user like a bot and vice versa) via third party apps. However, the concept of self-botting is not that bad. First party self-botting might be quite useful, by allowing us to programmatically schedule and process messages in complex manners that would be too simple to make a dedicated application, but too tedious for a regular human user:

  • Self commands infrastructure
    • Execute requests programmed by self commands in...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I had a testbot using disnake with around 10 test users - and had been running for a couple of months. Ran into this issue a week ago and still happened today.
I then created a new bot, invited it to a guild/server, grabbed the new ID + token and placed into the code I had issues with.
This worked without any issues.
I'm using Buttons, Select Menu and Modals - and the error occurred when using the buttons.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

There are people who do not have a single ipv4 address, and through public nat64, as suggested on the forum, they simply do not connect to webrtc. and what’s stopping you from simply enabling ipv6 support in cloudflare (and all discord traffic goes through it)? When I set up my site including calls via rtc, enabling ipv6 took a crazy 5 minutes. I can’t understand what’s stopping a big company like you from doing the sam

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

Description

Default Values
Default values can be initially selected for an auto-populated select menu but when updating a menu, the default values cannot be changed.

Retaining Selections iOS only (?)
When an item is selected, the menu does not retain the selection. Instead, it reverts back to whatever its previous state was. This is either the placeholder or the default values that were initially chosen.

Steps to Reproduce

  1. Send a channel select menu with a default...
chilly siloBOT
chilly siloBOT
#

Description

When i authorize with laravel app it show me this before handleDiscordCallback() function

Steps to Reproduce

laravel socailite didn't provide the functionality of discord integration

Expected Behavior

i use this "socialiteproviders/discord": "^4.2",
after that i got this error

Current Behavior

image

Screenshots/Videos

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

chilly siloBOT
#

From your screenshots it looks like discord did not provide you a code, but instead send the user back with an error because something is wrong with the scopes you provided in the redirect url

seems like that auth library you use isn't properly handling an error redirect, you should probably report that to them

chilly siloBOT
chilly siloBOT
#

Just want to put in my 2¢; I've got a Google Sheet that has a formula that parses into a slash command, which then gets copied and pasted into Discord (don't ask)
A number of the people that work with this system only use mobile, and as was stated earlier:

At most you would need to delete or add a space to your text input and then the string would auto-parse into a command
(there's only one command with this name in this channel, server even)
Now that simply...doesn't work, and they're ...

chilly siloBOT
chilly siloBOT
#

Description

Hi, I'm currently not seeing the 'Ask to Join' buttons on my players' profiles, and I wanted to inquire if this might be due to pending approval for my app. Could you please confirm if there is a need for me to apply for an approval process to enable these buttons?

This used to work but we had to create a new Discord app in the developer portal and now the buttons are missing and Discord does not seem to recognize the game to invite others.

Our game is built with Unity ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

As someone who is looking to use Bot Premium Memberships as a replacement to platforms like Patreon, I would love to see the ability to have multiple SKUs/subscriptions published at once.

This would allow for more variety for users when it comes to subscriptions via different tiers or perks, as well as provide a great alternative to third party platforms like Patreon for bot developers.

chilly siloBOT
#

Description

GET /sticker-packs returns a Content-Type header of application/json,application/json in all API versions except v9, which shouldn't be valid according to https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.1.

Steps to Reproduce

curl -I https://discord.com/api/v10/sticker-packs

Expected Behavior

A valid Content-Type header, i.e. application/json.

Current Behavior

$ curl -I https://discord.com/api/v10/sticker-packs
HTTP/1.1 200...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Does anyone have a working IBM 5100?

On Fri, Nov 17, 2023 at 4:14 PM Ian Webster @.***>
wrote:

Hi everyone,

Closing this discussion as this roadmap is years old and outdated. I'm
happy that we shipped most of the things on this list! For feature requests
and suggestions, please create a new discussion here:
https://github.com/discord/discord-api-docs/discussions/ and upvote other
posts that you agree with.


Reply to this email directly, view it o...

chilly siloBOT
chilly siloBOT
#

Description

Normally you're able to set an embed image's url to attachment://filename in order to reference an image uploaded to the same message, making it appear inside the embed.
However as of a few days ago, some of the Message Create and Message Update events will randomly receive a follow-up Message Update event, which will move the image from the embed's image field to the message's attachments field, which causes it to appear outside of the embed until client resta...

chilly siloBOT
chilly siloBOT
#

Description

Similar to issue: https://github.com/discord/discord-api-docs/issues/6539
When sending a message with an embed that has no pictures and editing in a picture URL after it is not displaying the picture.

Issues is reproducible on bots and webhooks.

Steps to Reproduce

1- go to https://discohook.org/
2- clear all
3- add any channel webhook
4- add a new embed
5-set title as "TEST"
6-send message

7-go to discord and copy message link
8-put message link on disco...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Our server has a few roles that can be assigned through onboarding but the client doesn't show the notice because the flags being transfered during connect on GUILD_CREATE are initially zero. Doing a request to guild/:id/roles the flag is correctly returned as IN_PROMPT, if applicable.

Steps to Reproduce

https://discord.com/api/v9/guilds/431908090883997698/roles

This is an example role where this happens: 431909457862066205

GUILD_CREATE

{
  "ver...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

This would be incredibly useful for my own projects. I currently need to have the user select a particular date/time to perform an action, the current ways of doing this that I've found are horrible with their user experience which are

  • Have an external site dashboard hooked up, directs off of Discord
  • Have a clunky embed with buttons
  • Request a UNIX timestamp or similar, which is bad for the less tech-inclined
  • Have users enter plaintext which I then try and parse a date and time fro...
chilly siloBOT
#

@colinloretz the merge of this seems to have removed some information unintentionally:

- | message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of the first message in the forum/media thread |
+ | message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Oh I'm just seeing the usual NullPointerException, nothing special for Java but always annoying (and debilitating)

  Exception: null
	at org.openapitools.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:1269)
	at org.openapitools.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:1163)
	at org.openapitools.codegen.DefaultGenerator.generateApis(DefaultGenerator.java:609)
	at org.openapitools.codegen.DefaultGenerator.generate(DefaultGenerator.java:994)
	at org...
#

@davegarred from the README fyi:

OpenAPI spec contents are automatically generated, and therefore we do not allow public contributions to this repo.

Yeah, totally understand the difficulty in working with outside CR's for a project sourced from an internal repo (literally dealing with that currently), but hoping this can point you in the right direction for a proper fix.

chilly siloBOT
chilly siloBOT
#

In the past i have made a server that you were unable to leave from as a proof of concept.

Using the guilds.join scope to be initially invited into the server, if the user ever decided to leave the bot would simply use the oAuth2 to invite them back. While you could revoke the application or just get banned from the server, it is certainly abusive and used more often than not for sneakily trying to add users to a guild. FiveM use to do this all the bloody time.

chilly siloBOT
#

I think it's safe to say that this suggestion is not going to get added.
I wanted to also suggest adding select menus and buttons to modals, both way overdue, but I expect the same none-response from that.
Discord has recently dropped the DX and support for bot API significantly, along with community communication, which saddens me. All they care about now is adding Nitro-only features and decorations in their "Discord Store" and frankly I don't believe anyone in-power from Discord will see...

#

I think it's safe to say that this suggestion is not going to get added.
I wanted to also suggest adding select menus and buttons to modals, both way overdue, but I expect the same none-response from that.
Discord has recently dropped the DX and support for bot API significantly, along with community communication, which saddens me. All they care about now is adding Nitro-only features and decorations in their "Discord Store" and frankly I don't believe anyone in-power from Discord will see...

chilly siloBOT
chilly siloBOT
#

I maintain a moderation bot written using DiscordPy for automating tasks in the servers I help manage for various livestreamers.
Some features introduced relatively recently by Discord are the flagging of accounts on the new Members tab:

  • "Suspicious DM activity" flag added to the new Community "Members" screen.
  • "Message hidden from likely spammer" from the welcome/messages they post and members tab

Right now there there is no way to catch or log this when it happens to users in a...

chilly siloBOT
#

Description

Per the permissions, CREATE_GUILD_EXPRESSIONS "Allows for creating emojis...", however, this does not work. It only works if MANAGE_GUILD_EXPRESSIONS is granted.

Steps to Reproduce

  1. Create a server
  2. Remove all permissions except "Create Expressions" from the base role
  3. Invite a bot
  4. Run the following replacing guild_id with a guild id and with a token: ...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Bump.
As of November 2023 discord still does not support the audio component of the Open Graph protocol.

Work around.
They do not support audio only tags, but they do support video.
Use ffmpeg to make your audio into a tiny video. I found 250x100 makes an ok sized video
(you can actually make the video 1x1 with ffmpeg and render it as 250x100 with the media tag, but we'll keep 250x100 for the sample)
<br>

ffmpeg -loop 1 -i coverImage.jpg -i audio.mp3 -c:v libx264 -c:a aac -stric...
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


Von: Colin Loretz @.>
Gesendet: Montag, November 27, 2023 7:34:08 PM
An: discord/discord-api-docs @.
>
Cc: Subscribed @.***>
Betreff: [discord/discord-api-docs] Fix thread/forum channel docs regression (PR #6546)

Fix doc regression for forum/media channels.

Thanks to @lukellmannhttps://github.com/lukellmann for the catch! #5478 (comment)<https://github.com/dis...

chilly siloBOT
chilly siloBOT
#

Hey, I'm building a dashboard for my bot, and I need to send messages as Bot that contains components and content. I'm "createMessage" rest api to send the message but the components are empty in the response just like @CheesyGamer77 mentioned.

Channel for the message is selected by user and could be anyone from the guild.

how implement this ? do I need to create webhook everytime? where can I learn more about application-owned webhooks?

@splatterxl @yonilerner

chilly siloBOT
chilly siloBOT
#

Description

Only on my original oldest bot token, "RoboSinc#7351", when I request a list of roles with the C# library Discord.net using the user.Roles function, the discord API returns nothing. It also does not return any errors, implying that the request succeeded, and the user really does have no roles. This is false, however, as the user has many roles.

Crucially, a restart would often fix this. Same code, just close and restart the bot instance, and it suddenly worked fine. No rea...

chilly siloBOT
#

Is this ExampleGenerator used by the generate command in your initial post?

That's correct, the command I used above calls ExampleGenerator and produces the stack trace shown.

That being said, upon further review this definitely appears to be a bug in openapi-generator. A rather big one at that, but I'm guessing no one else is using an empty properties field (I certainly did not realize that was allowed).

chilly siloBOT
chilly siloBOT
#
  • Documents discount for developer team
  • Clarifies usage for creating and deleting Test Entitlements in development
  • Confirmed List Entitlements - GET /application/{application_id}/entitlements
  • Confirmed Create Test Entitlement - POST /application/{application_id}/entitlements
  • Confirmed Delete Test Entitlement - DELETE /application/{application_id}/entitlements/{entitlement_id}
  • Confirmed List Skus - GET /application/{application_id}/skus

For library developers, the `/e...

chilly siloBOT
chilly siloBOT
#

Description

Description

Only after some time of my bot being online and connected to the Discord API, when I request to remove a role with the RemoveRoleAsync(role) function in the Discord.Net library, it fails to remove any roles from any users. This only happens after some period of uptime. A reboot (reconnect to API) fixes this immediately for another 2-14 days or so before it happens again. This has been getting slightly more frequent over the last 6 months or so, and the resu...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

+1 to @advaith1's comment, I'm leaning on this being either a bug in the bot's logic or the library's caching.

As for the HTTP 507, as far as I know, we don't emit this status code from our API nor have I seen other users report this before. My best guess is this is being emitted from some layer between your bot and our servers (proxy server?). If you're seeing this regularly, it might be useful to inspect the response headers/content to get an idea of where this came from and why.

chilly siloBOT
#

Description

There exists a bug within the Discord API that allows users to bypass the set character limit for guild descriptions. This issue might let people write more than they're supposed to in guild descriptions, breaking the limits set for the text length.

Steps to Reproduce

`curl --request PATCH
--url https://discord.com/api/v10/guilds/{guild_id}
--header 'Authorization: Bot TOKEN'
--header 'Content-Type: application/json'
--header 'User-Agent: Insomnia/20...

chilly siloBOT
chilly siloBOT
#

Description

Some message types are not deletable.

This includes:

  • Automod alerts
  • User was removed from thread

I haven't gone through and checked all of them, but these are the ones that I commonly run into.

Steps to Reproduce

Trigger an automod alert, try to delete the message it created.

Expected Behavior

You should be able to delete the automod alert message like any other message type. (Message pinned, user joined, etc.)

Current Behavior

The API disallows ...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Never. The only event associated with the message is the initial MESSAGE_CREATE, which as above shows the intact message as originally sent, not the mutated version. If the message is subsequently included in a different gateway event, eg. INTERACTION_CREATE, it appears as the mutated version, but there is never any MESSAGE_UPDATE sent.

I suspect that the initial MESSAGE_CREATE event being sent normally is why the commenter above mentions that their affected messages were only appearing as m...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Discord's reporting system has a huge flaw where it doesn't account for required immediateness of the action. For example, if malicious users join your game community server that has lots of minors in it, and then start spamming explicit or violent content that Discord systems unfortunately still cannot filter, you as moderators have to ban and delete these messages as soon as possible to ensure safety of your members, which means skipping reporting, because it takes a lot of precious time th...

chilly siloBOT
chilly siloBOT
#

Description

`{
"application_id": "936929561302675456",
"channel_id": "1107138916760424501",
"data": {
"application_command": {
"application_id": "936929561302675456",
"description": "Create images with Midjourney",
"dm_permission": true,
"id": "938956540159881230",
"name": "imagine",
"nsfw": false,
"options": [
{
"description": "The prompt to imagine",
"name": "prompt",
"required": true,
"type": 3
}
],
"type": 1,
"version": "1077969938624553050"
},
"id": "9389565401...

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

The spec is missing types 33-44:

a[a.PRIVATE_CHANNEL_INTEGRATION_ADDED = 33] = "PRIVATE_CHANNEL_INTEGRATION_ADDED",
a[a.PRIVATE_CHANNEL_INTEGRATION_REMOVED = 34] = "PRIVATE_CHANNEL_INTEGRATION_REMOVED",
a[a.PREMIUM_REFERRAL = 35] = "PREMIUM_REFERRAL",
a[a.GUILD_INCIDENT_ALERT_MODE_ENABLED = 36] = "GUILD_INCIDENT_ALERT_MODE_ENABLED",
a[a.GUILD_INCIDENT_ALERT_MODE_DISABLED = 37] = "GUILD_INCIDENT_ALERT_MODE_DISABLED",
a[a.GUILD_INCIDENT_REPORT_RAID = 38] = "GUILD_INCIDENT_REPORT_...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

If you send any component with a Unicode surrogate character in its custom ID, it results in 500 Internal Server Error.

Steps to Reproduce

  1. Create a button with the Custom ID: asdsadasd\ud800
  2. Send a message with this button.

Expected Behavior

400 Bad Request

Current Behavior

500 Internal Server Error

Screenshots/Videos

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

chilly siloBOT
#

Description

If you defer MODAL_SUBMIT and then Edit Original Interaction Response using that same modal interaction, it creates a reply to the original message instead of editing it.

Which makes it no different from defer MODAL_SUBMIT and then Create Followup Message.

Steps to Reproduce

  1. Send a message with a button.
  2. Click the button and respond with a modal.
  3. Defer the MODAL_SUBMIT interaction.
  4. Edit the message with Edit Original Interaction Response us...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

please, increase this limit to 6-8k, or decouple it by subcommand or subcommand group:

it's incredibly inconsistent with the rest of the limits:

  • user inputs in modals can have 6k characters.
  • you can have 25 subcommand groups and 25 subcommands, i.e. 625 subcommands per command.
  • you can have 2,048 characters in your footer's text
    yet, you can't have more than 4,000 characters combined across all subcommands.

i'm now forced to either split some of the settings off to a seco...

chilly siloBOT
chilly siloBOT
#

I've also been getting reports of messages that are sent to the API with 2 embeds but only get posted with 1. Discord occasionally will only show 1 embed when the message was posted with 2.

Channel 838167632841801768
Message 1181642782222323736

In this instance, the buttons are added to the message in an edit after posting and the second embed is added in the same message payload as the buttons. So the request is definitely being made. It's not a channel permissions issue and it's not my code.

chilly siloBOT
#

Description

I have a bot installed in multiple guilds. I am creating a nextjs dashboard for server admins who can send messages with components and embeds to any channel in their guild through my bot.

When I try to send message with components and embeds, the message only shows up with the content and not components or embeds.

The response from /channels/{channel.id}/messages contains empty components and embeds.

Steps to Reproduce

  1. Create a bot
  2. Install it in your dis...
chilly siloBOT
chilly siloBOT
#

<!--
Before opening a new issue, please search existing feature requests: https://github.com/discord/discord-api-docs/issues?q=is%3Aissue+label%3A"slash+commands"+
-->

Description

it would be nice to allow users to specify a Date or time delta. Discord already has a date picker (though possibly not a date & time picker) would be fantastic if we could use that.

Why This is Needed

Lots of commands schedule things it'd be very useful for those. For exampl...

chilly siloBOT
chilly siloBOT
#

Description

Images being uploaded are not embedding and are appearing as attachments

Steps to Reproduce

Upload an image as an attachment.

Expected Behavior

It embeds and shows the beautiful photo

Current Behavior

It displays like any other attachment.

Screenshots/Videos

Client and System Information

Canary 252063 (954ac98) Electron 22.3.26Chromium 108.0.5359.215Host 1.0.226 x64 (40991) Windows 10 64-Bit (10.0.19045)

chilly siloBOT
chilly siloBOT
#

Description

Link fails to be masked when the to be displayed text starts with an ordinal number followed by a period and a space. I did not find the answer in similar issue.

Steps to Reproduce

this do not work:
curl -H "Content-Type: application/json" -d '{"content": "[1. text]()"}' https://discord.com/api/webhooks/

this works:
` curl -H "Content-Type: application/json" -d '{"content": "1.text"}' https://discord...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Hello,
When trying to log in to the Developer Portal on the website, the page keeps refreshing and logging out. Sometimes the page loads but does not log me into my account in any way.

Thank you,
Türker (Discord ID: 162740870607536128)

Steps to Reproduce

  1. I logged in to the Developer Portal via the website.
  2. I logged in via "Passkey
  3. I logged in via Authy, this time with the "2-Factor Authentication" code.

Expected Behavior

I should have been able to...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Passkey authentication is currently not supported for the developer portal https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Multi-Factor-Authentication

It is strange that you were unable to sign-in with a regular MFA code, but I would recommend retrying with a clean reload and without attempting passkey authentication.

I was able to log in with passkey 4-5 days ago.

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

Description

I was trying to find the documentation for entitlements and it did not find the right page.

Steps to Reproduce

Open the api docs, search for "entitlement".

Expected Behavior

It should show Entitlement Object in the results.

Current Behavior

It does not show it. I'm assuming the entire monetization section is unindexed.

Screenshots/Videos

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

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Passkey authentication is currently not supported for the developer portal https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Multi-Factor-Authentication

It is strange that you were unable to sign-in with a regular MFA code, but I would recommend retrying with a clean reload and without attempting passkey authentication.

I would also like to point out that 3-4 days ago I could log in with Passkey.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Thanks @afgiel, here is the JSON payload of the activity update:

`{
"Type": 0,
"ApplicationId": notarealappid,
"Name": "Sirocco Closed Alpha",
"State": "Editing party selections",
"Details": "Hosting a party",
"Timestamps": {
"Start": 1702333652,
"End": 0
},
"Assets": {
"LargeImage": "sirocco_01",
"LargeText": "",
"SmallImage": "",
"SmallText": ""
},
"Party": {
"Id": "86efcbc4-ef91-4248-8b50-34c8ffec64a2",
"Size": {
...

chilly siloBOT
chilly siloBOT
#

Description

So, I just found out i got a duplicated command name which cannot be happen based on Discord API documentation.

image

I got 2 resume commands in my Application, and all of those working as expected

Steps to Reproduce

I dont know, i just realized it, if I'm remember the first resume command its registered using API v9, and the second one is registered using API ...

chilly siloBOT
#

Description

Similar issue to #6540
When sending a message that contains an embed with a picture URL thru webhooks, half of the time the image does not load.
Issue also happen when editing the embed and adding a new picture URL.

Editing the message and sending the same content again is a workaround to make the image to display.

The issue on 6540 was happening also with bot messages, it is fixed. But, now the issue persists with webhooks.

Steps to Reproduce

1- go to https:/...

chilly siloBOT
chilly siloBOT
#

Description

We are trying to implement the following process: create a new channel in a private category (inheriting permissions from the category) and immediately after that add a member to this channel with an additional peremission_overwrite request with read permissions. Most of the time this works well, but sometimes (about 5-7% of cases) new permissions don't work at all.

When does this happens we can observe setted permissions by API request to channel and check that they are p...

chilly siloBOT
#

Description

Forced downgrade creates a very obvious vulnerability

Steps to Reproduce

Connect to a voice channel

Expected Behavior

Bots properly negotiate keys for the E2EE channel, or, if they fail to do so, whole voice chat gets disconnected

Current Behavior

Voice channels will automatically downgrade to currently documented, non-e2ee protocols when a bot user joins the channel.

Screenshots/Videos

No response

Client and System Information

Any

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

Even after refreshing the app, that member doesn't appear in the channel permission overrides?

Yes, even after that. Caching was the first thing we checked. I spend about three weeks trying to deal with it. User permissions not present in any client

I have some theories about this behaviour:

The first one: maybe permissions subsystem cant get in time and dont know the channel already exist in moment of permission overwrite request. As a result it don`t create a task to applying p...

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The behavior youre seeing is likely because the guild processed the channel and permission override events in the incorrect order. This likely wont be fixed given the nature of our system. A couple possible solutions for you to consider:

  • Use private threads
  • Only create the permission override when you receive the CHANNEL_CREATE event
chilly siloBOT
#

Is the API enforcing the permissions correctly even though the UI is incorrect?

In such cases, the API showed that permissions were present (in my screenshot), but they did not work (which corresponded to what was shown in the UI in another screenshot). And this was strange for me, because if they were not present in the response or response give me an with an error, I could have reschedule request.

chilly siloBOT
#

I've been dealing with this problem for quite some time now. I create channels (voice channels) in the same way and immediately create perms overwrites with the next request. But in my case, in about 70-80% of cases, perms overwrite applied incorrectly. As far as I know, POST /guilds/<id>/channels has the permission_overwrites parameter. However, I never tried to use it. Maybe this can fix the situation.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I've been dealing with this problem for quite some time now. I create channels (voice channels) in the same way and immediately create perms overwrites with the next request. But in my case, in about 70-80% of cases, perms overwrites applied incorrectly. As far as I know, POST /guilds/{guild_id}/channels has the permission_overwrites parameter. However, I never tried to use it. Maybe this can fix the problem.

It's a relief to hear that I'm not the only one who faced this issue.

Thanks...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

The existing behavior for MANAGE_GUILD_EXPRESSIONS and MANAGE_EVENTS will not be changing. These permissions will continue to allow your bot users to create, update and delete expressions/events. No action will be needed if you plan to continue using these permissions.

CREATE_GUILD_EXPRESSIONS and CREATE_EVENTS as documented today are permissions available to users and roles but are not yet available for apps. We will share a follow up changelog once they are available.

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Its not the API that has the incorrect permissions state, its the guild that does.

Ok, I get it, you don't plan to do anything about it because it is initially incorrect sequence of requests. The sad thing is that i cannot trust api responds in this case, especially if I don`t controll external bots.

Anyway thanks for your time and clarification

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

I get this sometimes too?

<ClientResponse(https://discord.com/api/v10/interactions/1184495279228076082/aW50ZXJhY3Rpb246MTE4NDQ5NTI3OTIyODA3NjA4MjpQS2Z4SXo5Y2cwS2wwZVVvUDhtNlRGQnJYdk1NbHFhYTBNaGcxNlRtc1FPTWhZNHNiVmVsSmRmUzZEQkFONDdYWjIwT2hKTFNWQ3NIbHdBZkVoVEwwTzlEdGp0SjBZYlltaWgycTBsUkc1MDloWjBKeUtnQ0lyVGp6TnpUdHE0UQ/callback) [507 Insufficient Storage]>

<CIMultiDictProxy({'Date': 'Wed, 13 Dec 2023 14:01:21 GMT', 'Content-Type': 'text/plain', 'Content-Length': '53', 'Connection': 'k...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Similar to #4196 and #6320, another :__struct__ field is being leaked by the gateway, Guilds.Models.RecurrenceRule this time.

Steps to Reproduce

Currently unclear, I'm guessing this field is part of a GUILD_UPDATE event. It was reported for the Nostrum Library here.

Expected Behavior

No :__struct__ fields are sent as part of gateway events

Current Behavior

An event may include `...

chilly siloBOT
#

Linked Roles allow a limited number of metadata fields, and each field requires the application to define not only the data type, but also the comparison (==, >, >=, <, <=) that can be performed. In my application, users are assigned a numerical certification level. It's possible that some server owners may want to create one role for each level, while others may want to create a role based on something like "level greater than two". This isn't currently possible unless the applicat...

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
chilly siloBOT
chilly siloBOT
#

I originally submitted this as a Discord ticket but they directed me here. I don't believe this is the appropriate place but here goes...

I recently subscribed to the Discord statuspage (on Atlassian, discordstatus.com) webhook notifications so that I can detect incidents and adequately respond. During the incidents on Dec. 15th, it became obvious that the incident status' are not always sent through a POST update. I reached out to Atlassian about it and they s...

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

Description

I have invited midjourneyBot to the new server, but I cannot find the robot in slash. nijibot is working normally, other servers are also normal, and private chat is also normal.

Steps to Reproduce

only one server can Reproduce

Expected Behavior

can work

Current Behavior

not found midjourney slash in server group

Screenshots/Videos

Client and System Information

Chrome 已是最新版本
版本 120.0.6099.129(正式版本) (arm64)

chilly siloBOT
chilly siloBOT
#

Description

I have a discord bot (discord.js) with a slash command that takes in an attachment option. Sometimes when I try to use the command and attach a file, the discord app acts as if no file has been attached.

The slash command is as simple as:

const { SlashCommandBuilder } = require('discord.js');

module.exports = {
	data: new SlashCommandBuilder()
		.setName('sdbattle_submit')
		.setDescription('submit!')
        .addAttachmentOption(option =>
             opti...
chilly siloBOT
#

Have been experiencing this myself. A quick fix for me, in an app that only needs to show information to the user, is to open a popup modal with the information in the value fields for the text inputs.

IMO it'd be very useful if the ephemeral message either showed up directly below the original message, or if the ephemeral message showed up via a popup (like in the 'delete message' modal).

chilly siloBOT
#

Is it possible to upload some images as assets to an application via API? It would be a better use for RPC. And also (if it is possible) loading images from local is also a good idea I think.
I found this feature request was first been put forward in #2778 in Apr 2021, and it seems that it has not been implemented. Would this feature ever be implemented, or it's easily not in considerations or not possible due to security / technic problems.

chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Wait... is it April 1st already? 😂

Yhis sounds like a great way to waste bandwidth and CPU on Discords side. if someone makes a library that crashes on extra fields, they will find out the minute discord makes a change and adds a field. sounds very much like a "them problem" that it isn't in the remit of Discord to guard against to me.

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

Description

I recently noticed timestamps are not correct for one of my two bots, both have the same exact code. I already asked Discord Support, but they could not reproduce my issue and said to go ask in the Discord Developer server, I asked there and we got to the conclusion that in the server where my bot was hosted had the wrong time, I asked in my bot's hosting support server and they could also not reproduce it, they even tried on the same node as my bot.

Steps to Reproduce

...

chilly siloBOT
chilly siloBOT
#

Description

So, I'm assuming when you attempt to set an interactions endpoint url. Discord runs some kind of internal check to make sure the url is valid. It does this by sending some kind of tester request to said url. But when doing this, for some reason the request body is totally corrupted. I noticed this at first when my verifySignature function was failing when I had seemingly identical code to the ones in the docs.

im using hono.js on bun...

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

Similar but not quite exact behavior for me with python 3.10 and pycord 2.4.1 using discord client Stable 256231 (96a39c5) Host 1.0.9028 x86 (41936) Windows 10 64-Bit (10.0.19045).

About 2 weeks ago using ctrl + v would work to paste images as attachments, but now it is being blocked as showcased by KuJu on discord api server.

Dragging the file in from a chrome browser window still works or selecting the file from explorer.

![bandicam-2023-12-26-09-25-14-580](https://github.com/disc...

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

Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns

< 2024/01/07 00:26:11.000412809  length=130 from=394 to=523
 01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22  ....z...{"cmd":"
 47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50  GET_RELATIONSHIP
 53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65  S","data":{"code
 22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22  ":4006,"message"
 3a 22 4e 6f 74 20 61 75 74 68 65 6e 7...
chilly siloBOT
#

Description

Although the Discord Developers portal actually says that the about (description) section has a 400 character limit, this limit can be bypassed by making a request to the API.

Steps to Reproduce

fetch("https://discord.com/api/v9/applications/botid", {
  "headers": {
    "authorization": "your token",
    "content-type": "application/json"
  },
  "body": "{\"name\":\"name\",\"description\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

Microphone does not work in background on android devices with Android 13 or higher. In Android 12 or lower works just fine.

Steps to Reproduce

Go on a call or enter a channel, then power off the screen or go to another app with discord in the background and the other person will not hear you, but you can hear them.

Expected Behavior

The microphone should work even though discord is in the background.

Current Behavior

It doesnt work when it's on background...

chilly siloBOT
#

It would be good if you could also add an audit log for role position updates. Additionally, I think it would be beneficial to include more user information in gateway events. For example, in this event, add the object of the user who modified the guild member. If the user modifies themselves, leave it empty. The audit log already contains this information, and I don't understand why such details are not included...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Description

I have a discord bot (discord.js) with a slash command that takes in an attachment option. Sometimes when I try to use the command and attach a file, the discord app acts as if no file has been attached.

The slash command is as simple as:

const { SlashCommandBuilder } = require('discord.js');

module.exports = {
	data: new SlashCommandBuilder()
		.setName('sdbattle_submit')
		.setDescription('submit!')
        .addAttachmentOption(...
chilly siloBOT
chilly siloBOT
#

Thank you both for your comments.

My intent in creating the example repository was to help the community. I spent a few days doing so and making it a complete, functional example that compiles and runs, complete with a lot of documentation and code comments.

If you don't want to link to an external repository, perhaps consider forking the repository into Discord's GitHub such that you are not reliant on a third party. The entire repository is the usage documentation. The high lev...

#

A similar issue happens for me too.
It was the same for my bot as for OP, but a later update fixed it. But with the fix came a bug when trying to attach an image using CTRL+V. Dragging and image into the image field otherwise works, just not from the clipboard, but it's still an inconvenience. Issue has been ongoing for over a week, happens on two of our household computers:

https://github.com/discord/discord-api-docs/assets/141376657/26d9a58b-5cc2-445b-b3bc-8477049a4183

Using the fol...

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

To add another use-case: I'm building a bot that allows users to authenticate to GitHub so that they can get server roles based on their GitHub Sponsorship. The user's link to GitHub is independent of any one server, and they may not even have write permission to any server channels without supporter roles, so it happens in DMs with the bot. When they have authenticated, the bot then needs to update the user's role in any servers whose roles are managed by the bot. While it could do this by w...

chilly siloBOT
#

Description

As of SDK 3.2.1, after setting an Activity, later trying to ClearActivity results in the following internal Discord error:

ResponseError { code: InvalidPayload, message: "child \"activity\" fails because [child \"supported_platforms\" fails because [\"supported_platforms\" must contain at least 1 items]]" }

This error was previously reported in Feb 2021 in the now-retired gamesdk-and-dispatch re...

chilly siloBOT
chilly siloBOT
#

Description

When we try to add the INVITES_DISABLED feature to a guild which doesn't have the COMMUNITY feature, the Discord API returns an 401: Missing Access.

It is still possible to remove the INVITES_DISABLED if COMMUNITY feature was added before, and then disabled.

Steps to Reproduce

Run the following replacing guild_id with a guild ID, `` with a token, and add any other necessary features:

curl https://discord.com/api/v10/guilds/guild_id
--request PATCH ...

chilly siloBOT
chilly siloBOT
#

Hey @niridya! I took a look into this, and I believe this isn't a bug and is functioning as expected so I'll be closing this issue. Community servers can have the INVITES_DISABLED guild feature, but friend servers cannot.

_Originally posted by @lmle in https://github.com/discord/discord-api-docs/issues/6613#issuecomment-1883720710_

chilly siloBOT
#

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


From: Oliver Wilkes @.>
Sent: Tuesday, January 9, 2024 10:53:13 PM
To: discord/discord-api-docs @.
>
Cc: Subscribed @.***>
Subject: Re: [discord/discord-api-docs] Increase bot slash command limit to 200 (Discussion #6615)

There aren't really any genuine use cases for more than 100 commands, especially since you can have 100 global commands with 25 subcommand groups w...

chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT
#

Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns

< 2024/01/07 00:26:11.000412809  length=130 from=394 to=523
 01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22  ....z...{"cmd":"
 47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50  GET_RELATIONSHIP
 53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65  S","data":{"code
 22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22  ":4006,"message"
 3a 22 4e 6f 74 20 6...
#

Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns

< 2024/01/07 00:26:11.000412809  length=130 from=394 to=523
 01 00 00 00 7a 00 00 00 7b 22 63 6d 64 22 3a 22  ....z...{"cmd":"
 47 45 54 5f 52 45 4c 41 54 49 4f 4e 53 48 49 50  GET_RELATIONSHIP
 53 22 2c 22 64 61 74 61 22 3a 7b 22 63 6f 64 65  S","data":{"code
 22 3a 34 30 30 36 2c 22 6d 65 73 73 61 67 65 22  ":4006,"message"
 3a 22 4e 6f 74 20 6...
chilly siloBOT
chilly siloBOT
chilly siloBOT
chilly siloBOT