quin lynch
29a3e87835
Threads pt3
4 years ago
quin lynch
bd5041ac79
Threads pt2
4 years ago
quin lynch
331d4739ed
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
4db858b1e4
Threads initial
4 years ago
MrCakeSlayer
b01c2981cd
Add new `NUMBER` option type ( https://discord.com/developers/docs/int … ( #60 )
* Add new `NUMBER` option type (https://discord.com/developers/docs/interactions/slash-commands#application-command-object-application-command-option-type )
https://discord.com/developers/docs/interactions/slash-commands#application-command-object-application-command-option-type
* Add number to SocketSlashCommandDataOption.cs
4 years ago
Nikon
180322177d
Refactor interaction methods and some changes ( #58 )
* Refactor emojis/emotes & SelectMenu
* Update Emoji.cs
* Continue emoji refactor
* Remove WithLabel from example of SelectMenuBuilder
* Remove EmojiUtils and move it stuff to Emoji
* Revert 0fbf1000da
* Revert "Update Emoji.cs" and add Parse method
This reverts commit f297dcfc43 .
* Partial revert 3c27ab36c9
* Builders docs improve and add/rename methods/ctors
* Update Discord.Net.Core.xml
* Add SelectMenuBuilder.AddOption overload
* Docs fix
* Update Discord.Net.Core.xml
* corrections of unnecessary docs
* corrections of unnecessary docs!
* Fix docs and exceptions
* remove necessary things and some fix/changes
- Rename InteractionApplicationCommanCallbackData -> InteractionCallbackData
- Fix wrong creating instances of InteractionCallbackData
* Add SelectMenuOptionBuilder ctor overload
* Refactor interaction methods and some changes
* Remove deprecated methods
* remove necessary check
* remove necessary? line drops and using
* remove unused imports
* fix!
* some changes
- switched places arguments
- removed necessary accessor in SocketSlashCommand
* mini doc fix
* return AcknowledgeAsync method with Obsolete attribute
* Clarification in UpdateAsync doc
* Makes customId argument optional
* UpdateAsync doc correction
* makes button label argument optional
* doc fix and add emote argument to static createbutton methods
4 years ago
Nikon
8433476add
Remove necessary things and some fix/changes ( #57 )
* Refactor emojis/emotes & SelectMenu
* Update Emoji.cs
* Continue emoji refactor
* Remove WithLabel from example of SelectMenuBuilder
* Remove EmojiUtils and move it stuff to Emoji
* Revert 0fbf1000da
* Revert "Update Emoji.cs" and add Parse method
This reverts commit f297dcfc43 .
* Partial revert 3c27ab36c9
* Builders docs improve and add/rename methods/ctors
* Update Discord.Net.Core.xml
* Add SelectMenuBuilder.AddOption overload
* Docs fix
* Update Discord.Net.Core.xml
* corrections of unnecessary docs
* corrections of unnecessary docs!
* Fix docs and exceptions
* remove necessary things and some fix/changes
- Rename InteractionApplicationCommanCallbackData -> InteractionCallbackData
- Fix wrong creating instances of InteractionCallbackData
* Add SelectMenuOptionBuilder ctor overload
4 years ago
Quin Lynch
e8ba24dc0a
Update SocketSlashCommand.cs
Fix #53
4 years ago
Nikon
333f36eeb8
Changes on Emote/Emoji and SelectMenu ( #49 )
* Refactor emojis/emotes & SelectMenu
* Update Emoji.cs
* Continue emoji refactor
* Remove WithLabel from example of SelectMenuBuilder
* Remove EmojiUtils and move it stuff to Emoji
* Revert 0fbf1000da
* Revert "Update Emoji.cs" and add Parse method
This reverts commit f297dcfc43 .
* Partial revert 3c27ab36c9
4 years ago
exsersewo
df6ad4b088
Add IsSpecified check to Author field
4 years ago
quin lynch
0839aa7111
meta: bump versions, fix incorrect usage of followup
4 years ago
quin lynch
36ff3e73a3
fix: multiple bugs
Fixed permission overwrites using incorrect values for targets
Fixed invalid form data for responding
Fixed ambiguous method for responding/folloup
Added new ApplicationCommandPermissionTarget for slash command permissions
4 years ago
quin lynch
005cacc352
meta: merge upstream
4 years ago
quin lynch
97175ecae9
Merge branch 'dev' into Interactions
4 years ago
quin lynch
03ee95eca9
meta: bump versions
4 years ago
quin lynch
636c3efee8
Add missing XML tag
4 years ago
quin lynch
170d941925
Add support for multiple embeds on interaction response. Fix some preconditions missing
4 years ago
quin lynch
f9ed147348
Fix namespaces
4 years ago
Quin Lynch
e2728819d0
Merge pull request #41 from Thundermaker300/Interactions
docs
4 years ago
Thundermaker300
d33c6c5e1e
docs
4 years ago
quin lynch
7a44a8a6b7
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
811f27d454
Add timestamp tag #40
4 years ago
Quin Lynch
10b10a4591
Merge pull request #27 from SKProCH/dev
Implemented new instant invite types
4 years ago
Jared L
1dd5e97fe6
Add slash command delete operations
- Create `DeleteAllGlobalCommandsAsync`
- Create `DeleteSlashCommandsAsync`
Co-Authored-By: Quin Lynch <49576606+quinchs@users.noreply.github.com>
4 years ago
quin lynch
8800ed8f95
Slash commands docs part 1
4 years ago
quin lynch
8e507915e3
Finished command permissions as well as bug fixes
4 years ago
quin lynch
ab3656b2a5
Fix unoptional property in slash commands
4 years ago
quin lynch
99a2204c43
Update optionals in models regarding slash commands
4 years ago
quin lynch
32f0e4a7e1
Fix Linq null in slash command data
4 years ago
DJ
f8ebcabf7d
Docs: fixed docs for AlwaysAcknowledgeInteractions
4 years ago
quin lynch
7e5856024a
meta: xml update
4 years ago
quin lynch
468fac82e6
Add inheritdoc comment to application command
4 years ago
quin lynch
e4d0e29885
Fix #25
4 years ago
quin lynch
c6c4bc57d2
Merge branch 'dev' into Interactions
4 years ago
quin lynch
c1ea88d385
Added resolved models to slash command values, fixed slash command CreatedAt property. Fixed incorrect operator for IsValid on slash commands.
4 years ago
quin lynch
14ba3caa6e
Fix bugs regarding component builder and slash commands. Also fixed mismatched param names in the slash command builder
4 years ago
quin lynch
a1fd2a61e4
Fixed potential null ref in builder
4 years ago
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
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
SKProCH
121e3b4e77
Implemented new instant invite types
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