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)
- Changing Server Insights "Weekly to Daily" doesn't work on the first change HOT 1
- Onboarding Audit Log event type 165 ONBOARDING_PROMPT_DELETE never logged
- Canary and PTB Developer Portals give error messages HOT 1
- Role Select Menu is missing guild default role HOT 3
- Selectmenu description is not fully shown in the client
- Link Buttons in locked Threads are disabled
- Attachment Option validation raises 'Not a valid value' when in splitscreen mode HOT 1
- Privileged Gateway Intents read more redirects to invalid URL HOT 1
- Editing a Interaction's Initial response in Bot's DM replacing an embed's image url from one gif to another breaks HOT 7
- Onboarding prompt option id may not always be a snowflake in audit logs
- Audience data not showing on Server Insights HOT 1
- Slash commands doesn't showing in threads, even with correct permissions HOT 4
- Typo in developer terms HOT 2
- Autocomplete interaction callback request fails to parse localisations HOT 3
- Typo on One-Time Purchases HOT 3
- .setLocked on an Archived Thread HOT 1
- Hidden checkbox - Brave browser (Chrome based) HOT 3
- Gateway API TYPING_START event in Guild Channel is not working HOT 1
- poll is not a parameter of interaction.followup.send() HOT 2
- Message Embed with Long Description and Underlined/Bold Text is Truncated Erroneously 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.