Cenngo
d033d7eb45
add choice localization
3 years ago
Cenngo
65bb459942
inline docs correction (Name/Description Localized properties)
3 years ago
Cenngo
ebb1c75253
add missing inline docs
3 years ago
Cenngo
c6c545cb19
fix implementation bugs
3 years ago
Cenngo
de6d461e78
add inline docs
3 years ago
Cenngo
028650e38c
add localization to the rest methods
3 years ago
Cenngo
1cea40ce8e
add rest conversions to interaction service
3 years ago
Cenngo
9ec31a1214
fix build error
3 years ago
Cenngo
ab94fa5ea6
add withLocalizations parameter to rest methods
3 years ago
Cenngo
48712ad650
move deconstruct extensions method to extensions folder
3 years ago
Cenngo
95c4893af1
add localization fields to rest and websocket application command entity implementations
3 years ago
Cenngo
f1cf2160da
replace the command path method in command map
3 years ago
Cenngo
e236e82b93
remove IServiceProvider from ILocalizationManager method params
3 years ago
Cenngo
f306b631e3
update json regex to make langage code optional
3 years ago
Cenngo
13fddbf4ab
add utils class for getting command paths
3 years ago
Cenngo
e54cf09f25
add json and resx localization managers
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
Discord-NET-Robot
202554fdde
[Robot] Add missing json error ( #2152 )
* Add 30046, 40004, 40060, 50068, 50086 Error codes
* 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
Quin Lynch
5594739135
Clarify Users property on SocketGuildChannel ( #2149 )
3 years ago