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
Nikon
5e3f119e95
Improvements builders docs and adding/renaming methods/constructors and some fixes ( #50 )
* 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
4 years ago
Quin Lynch
e8ba24dc0a
Update SocketSlashCommand.cs
Fix #53
4 years ago
Ge
e6c73e1ada
Fixed ModifyCommandPermissions Invalid Form Body error ( #55 )
4 years ago
MrCakeSlayer
e2e20284a4
Update limits per Discord API docs ( https://discord.com/developers/docs/interactions/slash-commands#a-quick-note-on-limits ) ( #51 )
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
Quin Lynch
b0f95dbb6c
Merge pull request #44 from exsersewo/patch-1
Add IsSpecified check to Author field
4 years ago
MrCakeSlayer
0553d47c67
Fix typo
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
36bc9df634
Merge https://github.com/discord-net/Discord.Net into dev
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
8053b08a8b
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
6ac1680523
Fix modify bug.
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
c200861585
fix: Add default avatar to WithAuthor extension ( #1890 )
Adds `?? user.GetDefaultAvatarUrl()` to the avatar icon field.
4 years ago
Wardog
c5b4b645b8
feature: Add Name property to Teams ( #1879 )
4 years ago
th0mk
8349cd7e1e
fix: Change embed description max length to 4096 ( #1886 )
* Update max embed description length (fixes #1881 )
* Update unit tests for new embed builder length
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
1de660a478
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
8e507915e3
Finished command permissions as well as bug fixes
4 years ago
Quin Lynch
118edf3657
Merge pull request #33 from MrCakeSlayer/patch-1
Add new channel type IDs
4 years ago
Quin Lynch
ba254a772d
Rename SticketFormatType.cs to StickerFormatType.cs
4 years ago
MrCakeSlayer
48e6070ab9
Add new channel type IDs
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
4b3deeac9b
Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions
4 years ago
quin lynch
e4d0e29885
Fix #25
4 years ago
Quin Lynch
fc0e18f87e
Merge pull request #29 from MrCakeSlayer/patch-1
Update embed description max length
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