quin lynch
32f0e4a7e1
Fix Linq null in slash command data
4 years ago
quin lynch
7e5856024a
meta: xml update
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
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
ac52a11d89
fix: Message type ( #1876 )
* Fix message type
* Remove type from system entity
4 years ago
Matt Smith
ba73e9323c
fix hard coded path in csproj/documentation
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
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
quin lynch
da907b66cd
meta: bump version
4 years ago
quin lynch
a96f250075
meta: bump version.
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
75b10e9195
Fix incorrect URL checks
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
quin lynch
f506b98780
Closes #6 . Closes #4 . Fix emote parsing, added components to socket and rest messages.
4 years ago
quin lynch
814dd777e7
meta: bump core, rest, and websocket version
4 years ago
quin lynch
edc0bf35ae
Add components to messages
4 years ago
quin lynch
9eb684a242
meta: update core version
4 years ago
quin lynch
b8ba5b94c8
Added more enforcement checks on builder. Closes #3
4 years ago
quin lynch
db2ead2d78
meta: bump code version
4 years ago
quin lynch
a75f8a21f1
#2 Add check for url button types as well as add static builders
4 years ago
quin lynch
1ce712c673
meta: update package for nuget
4 years ago
quin lynch
80ab30e12f
Component alpha build!
4 years ago
quin lynch
610bafca7a
Creating Message components
4 years ago
Paulo
70aab6c4f6
fix: Remove obsolete methods and properties ( #1849 )
* Remove obsolete methods and properties
* Remove rest of GuildEmbed
* Remove TokenType.User
* Changes regarding the removal of the user tokentype
4 years ago
Paulo
7a201e9ff1
feature: Remove DM cache and fix references ( #1851 )
* Remove DM cache and fix references
* Move line back to where it was
4 years ago
Paulo
06a64b7877
feature: Bump API version to 9 ( #1847 )
* First changes to the config
* Lots of changes to fit the new version
* Remove PermissionTargetConverter
4 years ago
Max
4b8d4441c5
feature: Add Discord Certified Moderator user flag ( #1844 )
This pull request adds the Discord Certified Moderator badge flag to the User Flags
PR in discord-api-docs: https://github.com/discord/discord-api-docs/pull/2946
4 years ago
Zack Broderson
4c9910cf71
(ifcbrk) feature: Add ability to add/remove roles by id ( #1757 )
* Scaffold Add/Remove roles by id. (needs impl & docs)
* Add docs
* Add implementation
* Expose Add/Remove role endpoints
* Formatting
* Fix wrong method call
4 years ago
Paulo
365a848f7a
(ifcbrk) feature: Add ModifyMessageAsync to IMessageChannel ( #1830 )
4 years ago
NeKz
df23d57458
feature: Add GetEmotesAsync to IGuild ( #1781 )
4 years ago
Waterball
6aff419edd
misc: Fix spelling in SnowflakeUtils.FromSnowflake ( #1800 )
```diff
--- geenrated
+++ generated
```
4 years ago
Yeba
25b04c4a97
misc: Remove URI check from EmbedBuilder ( #1778 )
`Uri.IsWellFormedUriString()` doesn't return the expected result for specific urls, removed until the DotNet team actually resolves it ( https://github.com/dotnet/runtime/issues/21626 )
4 years ago
Paulo
91a906397a
feature: Add stickers ( #1726 )
4 years ago