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)
- Flags in the "Locale Picker" section of the "Getting Started" page in the documents
- AutoMod SpamMention Rule modification bug
- "Failed to load messages" HOT 10
- Get Guild Template endpoint returns incorrect channel payloads
- GUILD_MEMBER_ADD only working in smaller servers HOT 1
- Missing documentation for embeds with `poll_result` type
- Application return interactions_endpoint_url and role_connections_verification_url with null value HOT 1
- Up arrow key no longer reuses a slash command HOT 4
- Rerunning command using up arrow doesn't copy values for options for which autocomplete is enabled HOT 1
- Stickers inaccessible on CDN after uploading via Canary API HOT 2
- The Electron version does not accept passkey (created via the browser login)
- Emoji in Onboarding Option Prompt are inconsistent in data HOT 8
- discord mobil uygulamasında engellediğimiz birinin engeli kendiliğinden kalkıyor HOT 1
- Missing documentation for `poll_results` message type HOT 1
- Webhook pings do not function properly in forums. Users are not notified nor are they invited in to the thread. HOT 1
- Dev Portal emoji display stretches out emojis that are not 1:1 HOT 1
- Unexpected server response: 520 HOT 1
- Specifying `recurrence_rule.end` returns "This field is not supported for recurring events." HOT 1
- Command not registering, Timeout HOT 8
- Unable to followup with poll after deferring interaction response HOT 2
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.