Simon Hjorthøj
a8ffa5d02c
Conditional-expression-simplification ( #193 )
4 years ago
Simon Hjorthøj
ab8e56634b
Use compound assignment ( #186 )
* Used compound assignment
* -||-
* -||-
4 years ago
Simon Hjorthøj
77b8e78de4
More regions ( #177 )
* Preconditions
* ChannelHelper
* RestDMChannel
* RestGroupChannel
* RestBan
* RestGroupUser
* EntityExtensions
* DiscordSocketClient
* DiscordSocketClient
4 years ago
Simon Hjorthøj
4c2d684d84
Regions discord.net.websocket ( #169 )
* BaseSocketClient
* BaseSocketClient.Events
* DiscordShardedClient
* DiscordShardedClient.Events
* DiscordVoiceAPIClient
* SocketGroupUser
* DiscordSocketApiClient
* DiscordSocketClient
* DiscordSocketClient.Events
* -||-
* SocketGuildUser
* SocketWebhookUser
* SocketCustomSticker
* SocketRole
* SocketMessage
* SocketSlashCommandDataOption
* SocketInteraction
* SocketApplicationCommand
* DiscordSocketClient
* SocketApplicationCommand
* SocketCategoryChannel
* SocketChannel
* SocketDMChannel
* SocketGroupChannel
* SocketGuildChannel
* SocketTextChannel
* SocketVoiceChannel
* SocketGuild
* ShardedCommandContext
* SocketCommandContext
4 years ago
quin lynch
bbf9a7af0f
deprecated always ack, fixed methods naming conventions to use async
4 years ago
Adam Gauthier
d7937f2df0
Cache unknown thread channel on THREAD_UPDATE ( #136 )
In the case where a thread is archived upon login, the thread channel is
not cached by the client. When the thread channel is unarchived, the
library simply outputs an unknown channel warning. When messages are
sent in the unarchived thread, the library won't have it cached and
will only output warnings.
This change makes it so the channel is cached when unarchived and
ThreadUpdated is invoked with an non specified "before" parameter. From
that point, the channel will be available for future events.
4 years ago
d4n3436
eb271a9ccc
Fix nullref in thread_update event ( #125 )
4 years ago
quin lynch
6aaaf681b0
Fix immutabe builders and bump versions
4 years ago
quin lynch
e489a8004d
Fix KeyNotFoundException for stickers in messages
4 years ago
quin lynch
65a3245c83
Fix NRE with default stickers
4 years ago
quin lynch
7efb6eede4
Add different events for different interaction types
4 years ago
quin lynch
efa58598ba
Merge branch 'feature/context_commands' into release/3.x
4 years ago
quin lynch
39fa586b59
Stickers pt3
4 years ago
quin lynch
9b5a5e498c
Stickers pt2
4 years ago
quin lynch
f5d064dfc3
Add more routes to guilds and clients.
4 years ago
quin lynch
6326a1efd4
Add more methods for application commands, clean up of code, and add proper caching of socket application commands.
4 years ago
quin lynch
ae95d284fa
Simply internal usage of context menus
4 years ago
quin lynch
3ca4f51278
Fix #83
4 years ago
quin lynch
0113e26cca
Squashed commit of the following:
commit 73740e4169
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 23:17:04 2021 -0300
add sharded events
commit dac6ba3603
Merge: 22e3a529 39b7e715
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 22:16:12 2021 -0300
Merge branch 'feature/stage-channels' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into feature/stage-channels
commit 22e3a529e0
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 22:15:03 2021 -0300
Threads pre 2
commit 39b7e715f3
Author: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Date: Tue Aug 3 20:43:21 2021 -0300
Update README.md
commit 56536f6448
Author: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Date: Tue Aug 3 20:28:27 2021 -0300
Update README.md
commit d98e79452c
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 21:22:56 2021 -0300
Request to speak stuff
commit 950fe80cec
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 20:59:11 2021 -0300
Rest stage channels
commit 360b9436bb
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 20:29:38 2021 -0300
Stage channel socket side
commit 928edaa03b
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 19:19:40 2021 -0300
Add models
commit ec58a9b7e8
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 18:59:09 2021 -0300
initial stage channel events
4 years ago
quin lynch
5ddf6f3b72
Squashed commit of the following:
commit 88c15787f8
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 23:17:43 2021 -0300
Fix full stop
commit 50aedfb7c3
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 23:13:22 2021 -0300
Threads pre 3
commit f507091a79
Author: quin lynch <lynchquin@gmail.com>
Date: Wed Aug 4 21:17:44 2021 -0300
Update docs
commit c2003031ce
Author: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Date: Tue Aug 3 20:43:34 2021 -0300
Update README.md
commit ef77e45c75
Author: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Date: Tue Aug 3 20:28:41 2021 -0300
Update README.md
commit 09bb562d06
Author: quin lynch <lynchquin@gmail.com>
Date: Sat Jul 31 21:28:15 2021 -0300
Fix rest guild channel not creating threads. fix private thread feature check
4 years ago
quin lynch
51b2fbeaa0
Threads pre release testing
4 years ago
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
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
quin lynch
c6c4bc57d2
Merge branch 'dev' into Interactions
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
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
Paulo
c2e87f56c0
feature: Change GuildMemberUpdate before state to cacheable ( #1863 )
* Change GuildMemberUpdate before to cacheable
* Update PresenceUpdate
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
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
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
Paulo
8b29e0feb4
fix: MessageUpdated without author ( #1858 )
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
18d93a2192
Closes #5 . Added message components to ModifyMessageArgs, abstracted SocketInteraction for #8
4 years ago
Paulo
dfaaa21e0e
misc: Internal change to GetOrCreateUser ( #1852 )
4 years ago
Paulo
ed8e57320a
feature: Remove obsolete sync voice regions methods and properties ( #1848 )
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
95bae786b8
fix: Create DM channel with id and author alone ( #1850 )
* Create DM channel with id and author alone
* Unneeded cast
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