quin lynch
3f86e61047
Added select menus
This comit addds support for select menu message components defined at https://discord.com/developers/docs/interactions/message-components#select-menus .
Added 2 new converters: InteractionConverter and MessageComponentConverter. These converters are responsible for resolving the API type given some condition.
Added new core interface for representing Interaction Data, this is used in part with the InteractionConverter to parse the data to the respective types.
Updated the way gateway converting is done with interactions. The Interaction payload was moved from the API.Gateway namespace to API, as the interaction object is not websocket specific. The socket entities no longer try to parse the interaction models data to a JToken to desterilize since the data is now parsed to the correct model by the contract resolver.
4 years ago
quin lynch
babda495ad
Complete merge of upstream/dev
4 years ago
quin lynch
6bdd873c0d
Fix duplicate method
4 years ago
quin lynch
ba8b9aee8a
Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev
4 years ago
quin lynch
b394987d77
Added resolved entity support (untested), closes #21 . Added GetOriginalResponseAsync to SocketInteraction. Fixed a few null bugs
4 years ago
MrCakeSlayer
8c6bf305a1
Update embed description max length
See Discord API docs for reference: https://discord.com/developers/docs/resources/channel#embed-limits
4 years ago
SKProCH
121e3b4e77
Implemented new instant invite types
4 years ago
Paulo
22bb1b02dd
fix: Rest message type ( #1877 )
4 years ago
Paulo
ac52a11d89
fix: Message type ( #1876 )
* Fix message type
* Remove type from system entity
4 years ago
Paulo
7cf84995b2
fix: Remove OperationCanceledException handling in connecting logic ( #1873 )
4 years ago
Paulo
97d90b9e8a
fix: Connection deadlock when trying to Send and Disconnect ( #1872 )
4 years ago
Paulo
f47001a1c9
fix: Add empty role list if not present ( #1871 )
4 years ago
Matt Smith
ba73e9323c
fix hard coded path in csproj/documentation
4 years ago
quin lynch
5e07d3e39d
Change SocketMessage to SocketUserMessage in MessageComponent
4 years ago
Paulo
08507c0603
fix: ApiClient.CurrentUser being null ( #1864 )
4 years ago
quin lynch
f11109dc3d
Fix merge bugs
4 years ago
quin lynch
4d1036950f
Merge branch 'dev' into Interactions
4 years ago
quin lynch
078f11f62c
Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev
4 years ago
quin lynch
a0a341a960
meta: version bump
4 years ago
quin lynch
ad75f6cb7d
Fixed XML not being included in builds. Fixed Linq exception in SocketApplicationCommand.Update
4 years ago
Paulo
c2e87f56c0
feature: Change GuildMemberUpdate before state to cacheable ( #1863 )
* Change GuildMemberUpdate before to cacheable
* Update PresenceUpdate
4 years ago
quin lynch
da907b66cd
meta: bump version
4 years ago
quin lynch
737a400e08
Rest based fetch for interactions that are not in cache
4 years ago
quin lynch
a96f250075
meta: bump version.
4 years ago
quin lynch
e17794e58e
Update channel on SocketInteraction
4 years ago
quin lynch
d98baf4cca
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
515bd4dbd5
Added components to UserExtentions
4 years ago
Z3RYX
84d011a1f6
Fixes issue where ComponentBuilder wouldn't add more than one button to a new row
4 years ago
quin lynch
b9efd98698
Closes #12 . Implemented MessageComponent to ReplyAsync
meta: bump versions from dev to minor
4 years ago
quin lynch
689c77d476
Closes #8 . Added DM support for buttons and slash commands. Added SlashCommandBuilder
4 years ago
quin lynch
6855b7909f
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
cb288ba235
Closes #11 . Added DM support for message components and slash command. Fixed incorrect author for messages
4 years ago
Paulo
fabe034daa
fix: Message update without author ( #1862 )
4 years ago
d4n3436
98027c387c
Add lambda
4 years ago
d4n3436
142f9cc485
Add missing bucket ids and RequestOptions in GetInteractionResponse()
4 years ago
Paulo
384ad85c64
feature: Remove /users/@me call for socket and rework sharded client a bit ( #1860 )
* Remove /users/@me call for socket and rework sharded client a bit
* Remove override for login
4 years ago
Paulo
de7f9b5eff
fix: Add missing AddRef and related ( #1859 )
4 years ago
Matt Smith
1a2753d257
Addition of required library missed in merge
4 years ago
Matt Smith
f64db8b745
Merge w/ Parent Interactions branch
4 years ago
Matt Smith
69c734808d
Initial pass at making slash commands respond as expected
4 years ago
Paulo
8b29e0feb4
fix: MessageUpdated without author ( #1858 )
4 years ago
quin lynch
75b10e9195
Fix incorrect URL checks
4 years ago
Paulo
d176fef5de
fix: Fire GuildMemberUpdated without cached user ( #1853 )
4 years ago
Paulo
a7ff6ce0ec
fix: Gateway events for DMs ( #1854 )
* Fix MessageUpdate when there's no channel cached
* Fix message events
* Fix cacheable type
* Fix examples
* Revert MessageUpdated
4 years ago
quin lynch
ad611dcafa
meta: bump patch
4 years ago
quin lynch
dbc13d58b6
Fix null ref for emotes
4 years ago
quin lynch
31278377cd
Fix null ex
4 years ago
quin lynch
6203c48c11
Added documentation for all the new classes
4 years ago
quin lynch
a5d2b33bcc
meta: bump versions
4 years ago
quin lynch
18d93a2192
Closes #5 . Added message components to ModifyMessageArgs, abstracted SocketInteraction for #8
4 years ago