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
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
KeylAmi
d656722bd9
Fix: modal response failing ( #2187 )
* Update bugreport.yml
* Update bugreport.yml
removed d.net reference. fixed spelling.
* Update bugreport.yml
Adjusted verbiage for clarity
* Fix for modal response failing
Credit to @Cenggo for finding issue.
3 years ago
Armano den Boef
d48a7bd348
Fix: serialization error on thread creation timestamp. ( #2188 )
3 years ago
d4n
741ed809d6
Add missing methods to IComponentInteraction ( #2201 )
3 years ago
Armano den Boef
82473bce69
Update GuildMemberUpdated comment regarding presence ( #2193 )
3 years ago
Robin Sue
d5342e4585
Fix Serilog Level Mapping ( #2202 )
3 years ago
Armano den Boef
47de5a2fb4
Greatly reduce code complexity & make IF samples functional ( #2205 )
* Greatly reduce code complexity
* Fixes sharded client IF implementation
3 years ago
Raiden Shogun
c286b9978e
Fixed typo ( #2206 )
`await arg2.Interaction.RespondAsync("Command exception: {arg3.ErrorReason}");` would never have showed the `ErrorReason` because a `$` was missing before the string.
3 years ago
Quin Lynch
fc31589056
Fix changelog formatting
3 years ago
Quin Lynch
e3fc96bc44
meta: 3.4.1
3 years ago
Quin Lynch
25aaa4948a
fix: thread owner always null ( #2182 )
3 years ago
Quin Lynch
f8ec3c79c2
Fix/ambigiuous reference ( #2181 )
* fix: Ambigiuous reference when creating roles
* Update RestGuild.cs
3 years ago
Quin Lynch
765c0c5544
Feature: attachment description and content type ( #2180 )
3 years ago
Quin Lynch
24b7bb593a
Fix: sharded client logout ( #2179 )
3 years ago
Cenk Ergen
fb4250b88c
Feature: Component TypeConverters and CustomID TypeReaders ( #2169 )
* fix sharded client current user
* add custom setter to group property of module builder
* rename serilazation method
* init
* create typemap and default typereaders
* add default readers
* create typereader targetting flags
* seperate custom id readers with component typeconverters
* add typereaders
* add customid readers
* clean up component info argument parsing
* remove obsolete method
* add component typeconverters to modals
* fix build errors
* add inline docs
* bug fixes
* code cleanup and refactorings
* fix build errors
* add GenerateCustomIdString method to interaction service
* add GenerateCustomIdString method to interaction service
* add inline docs to componentparameterbuilder
* add inline docs to GenerateCustomIdStringAsync method
3 years ago
Discord-NET-Robot
cc6918d157
Add 10065 Error code ( #2178 )
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
3 years ago
Brendan McShane
a5d3add1d6
Fix error with flag params. ( #2165 )
3 years ago
KeylAmi
48bc723f9e
Update bugreport.yml ( #2159 )
* Update bugreport.yml
* Update bugreport.yml
removed d.net reference. fixed spelling.
* Update bugreport.yml
Adjusted verbiage for clarity
3 years ago
Armano den Boef
7262990654
Resolve complex param sample reference ( #2166 )
3 years ago
MrCakeSlayer
1ba96d6fbd
Add configuration toggle to suppress Unknown dispatch warnings ( #2162 )
3 years ago
Quin Lynch
50d0000e26
meta: 3.4.0
3 years ago
Cenk Ergen
5522bc443d
Create Complex Params Docs ( #2160 )
* create complex params docs
* Update docs/guides/int_framework/intro.md
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Quin Lynch
36d6ce9ec8
Unneeded build event ( #2158 )
Build() at the end of the command creation isn't needed. The build is done on line 34.
Co-authored-by: Cookiezzz <Cookiezzz@users.noreply.github.com>
3 years ago
Quin Lynch
507a18d389
Enforce valid button styles ( #2157 )
Co-authored-by: CottageDwellingCat <80918250+CottageDwellingCat@users.noreply.github.com>
3 years ago
Quin Lynch
c80067425a
Display name support for enum type converter ( #2156 )
* Display name support for enum type converter
* allow display attribute on enum type converter
* update docs/examples to include enum Display sample
* Revert "allow display attribute on enum type converter"
This reverts commit a0eec5b755
.
* adds ChoiceDisplay for enum type converters
* Update EnumChoiceAttribute.cs
* fix renamed folder issue
* fix namespace
Co-authored-by: Xeno <eliotd@gmail.com>
3 years ago
Quin Lynch
9ba64f62d1
Interaction Service Complex Parameters ( #2155 )
* Interaction Service Complex Parameters
* add complex parameters
* add complex parameters
* fix build errors
* add argument parsing
* add nested complex parameter checks
* add inline docs
* add preferred constructor declaration
* fix autocompletehandlers for complex parameters
* make GetConstructor private
* use flattened params in ToProps method
* make DiscordType of SlashParameter nullable
* add docs to Flattened parameters collection and move the GetComplexParameterCtor method
* add inline docs to SlashCommandParameterBuilder.ComplexParameterFields
* add check for validating required/optinal parameter order
* implement change requests
* return internal ParseResult as ExecuteResult
Co-Authored-By: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>
* fix merge errors
Co-authored-by: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>
3 years ago
CottageDwellingCat
1fb62de14b
Support Sending Message Flags ( #2131 )
* Add message flags
* Add webhook message flags
3 years ago
Quin Lynch
b3370c33e2
Fix usage of CacheMode.AllowDownload in channels ( #2154 )
Co-Authored-By: ✨ <25006819+sabihoshi@users.noreply.github.com>
Co-authored-by: ✨ <25006819+sabihoshi@users.noreply.github.com>
3 years ago
Quin Lynch
6bf5818e72
Add IsInvitable and CreatedAt to threads ( #2153 )
* Add IsInvitable and CreatedAt to threads
* Update src/Discord.Net.Core/Entities/Channels/IThreadChannel.cs
Co-Authored-By: Jared L <48422312+lhjt@users.noreply.github.com>
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
3 years ago
Quin Lynch
1dc473c7e4
Add Image property to Guild Scheduled Events ( #2151 )
* Add Image property to create and modify events
* Add CDN routes to get cover image
* Update banner names
* Update CDN.cs
* Update IGuildScheduledEvent.cs
3 years ago