Comments (5)
are you sure that you're using api v10? permissions_new
doesn't exist on >v7
from discord-api-docs.
are you sure that you're using api v10?
permissions_new
doesn't exist on >v7
I'm using https://github.com/disgoorg/disgo which is running on API v10, yes
from discord-api-docs.
can you send steps that reproduce this problem? i used discord.py (v2.4, master branch) but doesn't seem to reproducible for me with editing origin message as response to interaction, nor usual edit channel message
from discord-api-docs.
can you send steps that reproduce this problem? i used discord.py (v2.4, master branch) but doesn't seem to reproducible for me with editing origin message as response to interaction, nor usual edit channel message
not right now, no. this event was caused by a 3rd party bot (Dank Memer)
from discord-api-docs.
looks if responder uses api v7, >=v8 receivers will get same payload as v7:
from discord import ui
class Setup(ui.View):
@ui.select(placeholder='Setting', options=[
discord.SelectOption(label='Foo', value='foo'),
discord.SelectOption(label='Events', value='bar')
])
async def setting(self, interaction: discord.Interaction, select: ui.Select):
if select.values[0] == 'bar':
await interaction.response.edit_message(view=EventsSetup())
elif select.values[0] == 'foo':
await interaction.response.edit_message(content='LGTM')
class EventsSetup(Setup):
@ui.select(cls=ui.RoleSelect, placeholder='Select roles lol')
async def select_roles(self, interaction: discord.Interaction, select: ui.RoleSelect):
self.select_roles.default_values = select.values
await interaction.response.edit_message(content='imagine bugs', view=self)
class Welcome(ui.View):
@ui.button(label='Set up me lol')
async def foo(self, interaction: discord.Interaction, _):
await interaction.response.send_message(content='Please setup me lol', view=Setup())
print('\n'*100)
discord.http.Route.BASE = 'https://discord.com/api/v7'
await _ctx.send(view=Welcome())
from discord-api-docs.
Related Issues (20)
- Linked role name_localizations and description_localizations are not working, again... HOT 2
- [Dev Portal] Typo in emojis tab HOT 1
- Inconsistent presence of server mute and deafen fields in member payloads
- New released application emojis sometimes (like about 1/25 requests) in components, polls are not parse able by the application HOT 5
- Creating server from template doesn't create forum channels HOT 2
- Audience statistics are not working anymore HOT 5
- Cloudflare Workers rate limiting oversight - Error 1015 (Global Rate Limit) HOT 5
- Application does not exist after creation HOT 5
- Select menus unusable on mobile devices when used in a voice channel's built in text channel/thread.
- Cloudflare Ban on `/api/v10/invites` despite staying below ratelimit and not having received `4XX` status ? HOT 5
- Cloudflare Workers unreliable due to Discord's Cloudflare bans (easy fix) HOT 5
- No audit log for channels or roles moves
- `waveform` And `duration_sec` Ignored When Sending An Interaction Response With A Voice Message HOT 3
- changing subscriptions prices fails HOT 1
- Deferrable message flags does not include `IS_VOICE_MESSAGE` HOT 1
- Markdown headers are non functional inside embed field values HOT 2
- Clarify the behaviour of a bulk ban operation if the member initiating the action loses the `GUILD_BANS` permission HOT 3
- Problem with oauth2 scope HOT 8
- annoying 1px space HOT 1
- No Audit Log for Guild Emoji roles Update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-api-docs.