Quin Lynch
67c5094462
more work on cache provider
3 years ago
Quin Lynch
e14e54061e
Merge branch 'dev' into v4/state-cache-providers
3 years ago
Quin Lynch
6470c64b2d
Update FUNDING.yml
3 years ago
Quin Lynch
2f58ddc6a0
meta: 3.6.1
3 years ago
Quin Lynch
f2bb55e804
fix: null user on interaction without bot scope ( #2271 )
3 years ago
Discord-NET-Robot
503e720d21
feature: add 50080 Error code ( #2272 )
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
3 years ago
Cenk Ergen
0d74c5cc62
fix: Implement fix for Custom Id Segments NRE ( #2274 )
3 years ago
Cenk Ergen
a8f607553b
fix: Permissions v2 Invalid Operation Exception ( #2267 )
* implement fix
* implement fix
3 years ago
Quin Lynch
27226f0839
meta: 3.6.0
3 years ago
Armano den Boef
9bd088f9b9
[Docs] Adding permission docs for interaction framework ( #2265 )
* Get rid of mediatrsample sln
* Add framework perms doc
* Append suggestion
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Append suggestion
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
3 years ago
Christoph L
0554ac2442
fix: Guarding against empty descriptions in `SlashCommandBuilder`/`SlashCommandOptionBuilder` ( #2260 )
* adding null/empty check for option-descriptions
* moving check to Preconditions
* docs
3 years ago
Cenk Ergen
f5dbb95610
docs: Interaction Service Perms-v2 docs ( #2263 )
* add perms v2 docs
* add perms v2 docs
3 years ago
Ge
2b49322a54
docs: Fix TextCommands reference in first-bot.md ( #2264 )
3 years ago
Quin Lynch
d98b3cc495
feature: V2 Permissions ( #2222 )
* Initial V2 permissions
* add perms-v2 attributes and properties, add deprecation messages
* add perms-v2 properties to command info classes
* add perms-v2 fields to Rest/SocketApplicationCommand entities and IApplicationCommand
* fix json name of DmPermission field
Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
3 years ago
Quin Lynch
dc2dafa3ac
custom model factory
3 years ago
Cenk Ergen
4ce1801bdf
feature: Passing CustomId matches into contexts ( #2136 )
* add logic for passing the wild card captures into the context
* move concrete impl of IRouteSegmentMatch to internal
* Apply suggestions from code review
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* fix build errors
* Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
3 years ago
Diego-VP20
26c1a7e80f
docs: Add files to the parameters ( #2244 )
3 years ago
Alex Thomson
275b833205
Fix browser property ( #2254 )
3 years ago
Quin Lynch
f2d383c955
remove extra header from readme
3 years ago
Quin Lynch
157063c7ed
default model maps
3 years ago
Quin Lynch
59c334ac60
refactor models and remove cache run mode
3 years ago
Quin Lynch
9826cf699f
Update src/Discord.Net.WebSocket/Entities/Users/SocketGuildUser.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
3 years ago
Quin Lynch
a4e1f54d6e
Update src/Discord.Net.WebSocket/DiscordSocketConfig.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
3 years ago
Quin Lynch
d89d13d703
Final POC for users
3 years ago
Quin Lynch
17306d5139
updates
3 years ago
Misha133
18f001e37b
[DOCS] Group commands example ( #2246 )
* add Group Command Examples to int_framework intro
* update subcommad group's name
* added some comments t othe example code
* fixed naming
* added spaces in comments
3 years ago
Quin Lynch
adcb58e473
refactor default state provider
3 years ago
Quin Lynch
627f88795b
Change up model flows
3 years ago
Discord-NET-Robot
e1a8ecd723
[Robot] Add missing json error ( #2237 )
* Add 10087, 30047, 30048, 40061 Error codes
* Update src/Discord.Net.Core/DiscordErrorCode.cs
* Update src/Discord.Net.Core/DiscordErrorCode.cs
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Denis Voitenko
42c65bc879
Typo in comment ( #2242 )
3 years ago
Alex Thomson
daba58cdd4
Fix SocketGuild not returning the AudioClient ( #2248 )
3 years ago
MrCakeSlayer
8eec6a00ac
Fix log severity mapping for guide sample ( #2249 )
3 years ago
Quin Lynch
3e36fbb854
initial implementation
Cachable models so far
- Users
- Presence
3 years ago
Quin Lynch
9992874703
meta: 3.5.0
3 years ago
Quin Lynch
d3a532f013
update build overrides url
3 years ago
Duke
53ab9f3b16
MediatR Guide + sample ( #2218 )
* Add guide for MediatR
* Add sample for MediatR
* Fix exposed token in program.cs
* Fix review points
* Remove newline in MediatrDiscordEventListener.cs
3 years ago
Armano den Boef
d8757a5afa
feature: Update bans to support pagination ( #2223 )
* Cacheless impl
* Ignore cache impl
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Implement xmldoc consistency
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
clarotech
d1cf1bf02d
Correct minor typo ( #2228 )
3 years ago
Quin Lynch
bfd0d9bede
fix: GuildMemberUpdated cacheable before entity incorrect ( #2225 )
3 years ago
Armano den Boef
e38104bb32
feature: Make bidirectional formatting optional ( #2204 )
* Init
* Clearing up comment on config entry.
* Update user entities to remove storage of the setting
Co-authored-by: Quin Lynch <lynchquin@gmail.com>
3 years ago
TricolorHen061
0439437a65
Fix small typo in modal example ( #2216 )
3 years ago
Quin Lynch
ce410513f4
feature: build overrides ( #2212 )
* add build overrides
* override docs
* add server submodule
* add overrides to build step
* remove testing api url
Co-Authored-By: Quahu <quahuu@gmail.com>
Co-authored-by: Quahu <quahuu@gmail.com>
3 years ago
Armano den Boef
8522447c27
Fix gateway interactions not running without bot scope. ( #2217 )
* Init
* Implement public channelId
3 years ago
Armano den Boef
a744948477
feature: Global interaction post execution event. ( #2213 )
* Init
* Variable set to event
* Put internal above private
* Revert "Put internal above private"
This reverts commit 77784f001f
.
* Revert "Variable set to event"
This reverts commit 2b0cb81d76
.
* Revert "Init"
This reverts commit 9892ce7b51
.
* Potentially improved approach
3 years ago
Cenk Ergen
d2118f02fb
Adds a action delegate parameter to `RespondWithModalAsync<T>()` for modifying the modal ( #2226 )
* add modifyModal deleagate parameter to RespondWithModalAsync extension method
* change the position of the new parameter to avoid introducing a breaking change
3 years ago
Cenk Ergen
1c680db2ba
add respondwithmodal methods to restinteractinmodulebase ( #2227 )
3 years ago
Armano den Boef
c4131cfc8b
Fix: ShardedClients not pushing PresenceUpdates ( #2219 )
3 years ago
Quin Lynch
73399459ea
feature: add a way to remove type readers from the interaction/command service. ( #2210 )
* Add remove methods
* add inline docs
Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
3 years ago
Quin Lynch
91d8fabb70
Fix: GuildPermissions.All not including newer permissions ( #2209 )
3 years ago
FeroxFoxxo
305d7f9e13
Fix: Integration model from GuildIntegration and added INTEGRATION gateway events ( #2168 )
* fix integration models; add integration events
* fix description on IGUILD for integration
* fix typo in integration documentation
* fix documentation in connection visibility
* removed public identitiers from app and connection
* Removed REST endpoints that are not part of the API.
* Added documentation for rest integrations
* added optional types
* Fixed rest interaction field with not being IsSpecified
3 years ago