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
b394987d77
Added resolved entity support (untested), closes #21 . Added GetOriginalResponseAsync to SocketInteraction. Fixed a few null bugs
4 years ago
Quin Lynch
90b9b35ba9
Merge pull request #18 from MTDCodes/DocumentationPathFix
Fix hard coded path in csproj/documentation
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
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
Quin Lynch
475b073077
Merge pull request #13 from Z3RYX/patch-1
Fix ActionRow Count check in ComponentBuilder
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
cc4d141195
Update README.md
4 years ago
Quin Lynch
55355ce65b
Update README.md
4 years ago
quin lynch
7aea7c2cbe
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
b9efd98698
Closes #12 . Implemented MessageComponent to ReplyAsync
meta: bump versions from dev to minor
4 years ago
Hitmasu
125f6c7862
docs: use async main
* Removed text async
* Updated code
* Added main as proxy task
4 years ago
Quin Lynch
26bc709ca6
Update application-commands.md
4 years ago
Quin Lynch
4bc4f2ae95
Update README.md
4 years ago
Quin Lynch
72d0470600
Update README.md
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
Quin Lynch
1a34fcfa2c
Merge pull request #10 from d4n3436/Interactions
Add missing bucket ids and RequestOptions in GetInteractionResponse()
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
Quin Lynch
8c414a5faa
Merge pull request #9 from MTDCodes/BasicSlashCommandResponseFunctionality
Initial pass at making slash commands respond as expected
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