Quin Lynch
5c9be0d03a
meta: update changelog ( #2544 )
2 years ago
Misha133
a53f1dfa58
fix `CreatePost` methods for `IForumChannel` ( #2541 )
2 years ago
Misha133
56b1a930e7
[Feature] Age restricted (NSFW) application commands support ( #2531 )
* add `nsfw` to data model & internal methods; add missing property
* add `nsfw` prop to command builders
* add `NsfwCommandAttribute` to Interaction Framework
* working state
* docs?
2 years ago
Cenk Ergen
60956c720b
Update deploy.yml ( #2535 )
2 years ago
Halbritter
20d8fdf0bf
Fully qualify SlashCommandBuilder namespace ( #2534 )
Update to make sure its cleear which SlashCommandBuilder is used.
2 years ago
Cenk Ergen
3b107c2d01
implement wildcard lenght quantifiers, TreatAsRegex property and solve catastrpohic backtracking ( #2528 )
2 years ago
BokuNoPasya
25cfb8822f
Add SendFiles to UserExtensions ( #2509 )
* Add SendFiles to UserExtensions
* fix Build
2 years ago
Frederik P
4cad546d57
Implemented ClientDisconnect event for audio client. ( #2520 )
2 years ago
Misha133
82b772ac03
[Feature] Add missing property & new stuff ( #2521 )
* add active developer badge support
* add `OwnerId` to threads
* add default forum layout support
* oops, forgot to update modifyasync
* add missing application flags
* Add `50155` error code
2 years ago
Misha133
bd2f719774
Fix `GetActiveThreadsAsync` & add it to `ITextChannel` ( #2526 )
* fix `GetActiveThreadsAsync` being sadge
* ah, forgot about mocked channel
2 years ago
Armano den Boef
55280a569e
meta 3.9.0 ( #2517 )
* meta 3.9.0
* Update changelog
2 years ago
Cenk Ergen
11ed0ff351
update license and icon nuspec props ( #2467 )
2 years ago
Cenk Ergen
6869817184
Command execution code rework and TypeConverters auto-scope fix ( #2306 )
* command execution rework and sync service scopes for typeconverters
* replace ValueTask with Task
* fix implementation bugs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
Payton
ea039b848c
Update events.cs ( #2505 )
Fixed compiler error caused by missing semicolon
2 years ago
Misha133
01ae904fe1
[Feature] Add missing properties in forum & thread channels ( #2469 )
* add `AppliedTags` property
* convert collections into immutable arrays
* remove "not supported" remark
* implement `ThreadChannelProperties`
* Add `DefaultSlowModeInterval` and `DefaultSlowModeInterval` properties to forum channels
* add `Moderated` property to `ForumTag``
* `ForumTag` inherits `ISnowflakeEntity`
* Fix `DiscordRestClient.GetChannelAsync` not getting forum channel
* a lot of changes
added:
- channel flags
- `ForumTagBuilder`
- imroved channel modification
* fixed a bug in forum tag emoji parsing
* inherit forum channel from `INesteeChannel`
* implement `INestedChannel` in forum channels
* Add `Flags` property to channels
* add iteraface for forum tags & add equality operators
* Add default reaction emoji property
* add support for modifing default reaction & some renaming
* add createForumChannelAsync to guild
* *fix resharper being a d... and moving code to next line*
* add a `ForumChannels` property
* Some fixes & add support for `default_sort_order`
* fix misleading comment
* fix #2502
* support creating post with applied tags
* fix xmldoc
* set category id on model update
* add limit checks for tag count
2 years ago
Ge
6712ef4573
Fix duplicated members of DiscordErrorCode ( #2500 )
Additionally, fix typo in DiscordErrorCode
2 years ago
Miha Zupan
7077c4469a
Avoid throwing on missing Application ( #2497 )
2 years ago
Misha133
ed3863597a
[Feature] Add new discord stuff ( #2501 )
* changesss
- Added missing error code
- Moved region a bit
- Add new `guild feature`
- Add new `NitroBasic` subscription plan
* fix sending message in rest text-in-voice channels
2 years ago
Quahu
c7ac59d892
Fixed an oversight clearing session data upon any disconnect. ( #2485 )
2 years ago
Misha133
a4d34f6947
[Docs] Update samples to use `MessageContent` intent & update `v2 => v3 guide` ( #2471 )
2 years ago
Armano den Boef
bc89d3c485
Fix TimestampTag being sadge ( #2468 )
* Im so sad
* Im so sad v2
* oopsie uwu
2 years ago
Quin Lynch
9c5f1ecb0d
meta: 3.8.1 ( #2464 )
2 years ago
Misha133
b45b1526c0
add addtional checks for gateway events logging ( #2462 )
2 years ago
Quahu
d4c533aed0
Implemented resume_gateway_url. ( #2423 )
* Implemented resume_gateway_url.
* Made the requested changes.
* Implemented passing the gateway URL down from DiscordShardedClient.
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
Marten
2a6fca6653
[Docs] Text Commands: Added a warning about the `message content` intent ( #2458 )
* Added a warning about the `message content` intent
* Improved line length
* Warning -> Important
2 years ago
Proddy
d1678d1e8f
Fixing localizations ( #2457 )
* Fixing localizations
* Fixed typo in `SlashCommandOptionBuilder.WithDescriptionLocalizations`
* Fixed typo in `SlashCommandOptionBuilder.AddNameLocalization`
* Changed `Build` method of both `ApplicationCommandOptionProperties` and `SlashCommandProperties` to not set the `NameLocalizations` and `DescriptionLocalizations` if null in the builder. Was causing an error in the setter.
* Update SlashCommandBuilder.cs
Fixing a missing `;`
* Update SlashCommandBuilder.cs
* Fixing _another_ missing `;`
* Update SlashCommandBuilder.cs
* Fixed `SlashCommandOptionBuilder.AddChoiceInternal` to not pass null `NameLocalizations`
* Update SlashCommandBuilder.cs
* Fecking semi-colons
* Update SlashCommandBuilder.cs
2 years ago
Discord-NET-Robot
1b01fed867
Add 50138 Error code ( #2456 )
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
Nikolay
525dd6048a
[Docs] Context menu of slash commands supported on mobile ( #2459 )
2 years ago
essoperagma
4834b27f90
Null check slash command localizations ( #2453 )
2 years ago
Quin Lynch
5073afa316
Update PackageLogo.png ( #2333 )
2 years ago
Proddy
2b86a79f70
Fix a bug in EmbedBuilder.Length when there is an EmbedField with no Value ( #2345 )
* Update EmbedBuilder.cs
Fixes a bug where 'EmbedBuilder.Length' will throw an exception of type 'System.NullReferenceException' when a field doesn't have a value.
* Update EmbedBuilder.cs
Fixed an incorrect assuption that `Value` was a `string?`
* Update EmbedBuilder.cs
Fixed one more null check
* Update EmbedBuilder.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
d4n
11ece4bf16
Update app commands regex and fix localization on app context commands ( #2452 )
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
SaculRennorb
3dec99f6df
adding scheduled events to audit log ( #2437 )
* first draft
* made changes be actually optional. not everything always changes
* 'doc' text
* more 'doc' stuff
* more 'doc' stuff3
* 'doc' stuff
2 years ago
Julian
fca9c6b618
Fix: remove Module from _typedModuleDefs ( #2417 )
2 years ago
Discord-NET-Robot
b967e6907c
[Robot] Add missing json error ( #2447 )
* Add 20024, 30032, 30034, 30052, 40012, 40043, 40058, 40066, 40067, 50017, 50132, 50138, 50146, 110001, 200000, 200001, 220001, 220002, 220003, 220004, 240000 Error codes
* Update src/Discord.Net.Core/DiscordErrorCode.cs
* Apply suggestions from code review
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2 years ago
Damian Kraaijeveld
376a812b6a
Return a list instead of an array ( #2451 )
2 years ago
Armano den Boef
370bdfa3c6
Bump to Discord API v10 ( #2448 )
* Bump, add messagecontent intent
* Update comments
Co-authored-by: Rozen <Rozen4334@outlook.com>
2 years ago
Cenk Ergen
fbc5ad414f
fix BulkOverwriteCommands NRE ( #2444 )
2 years ago
Viktor Chernikov
9feb703a82
Wrong symbol fix ( #2438 )
2 years ago
Kuba_Z2
0aa381d468
Fix typos of word `length` ( #2443 )
2 years ago
Quin Lynch
adf012d1dd
meta: 3.8.0 ( #2441 )
2 years ago
Cenk Ergen
39bbd298c3
Interactions Command Localization ( #2395 )
* Request headers (#2394 )
* add support for per-request headers
* remove unnecessary usings
* Revert "remove unnecessary usings"
This reverts commit 8d674fe4fa
.
* remove nullable strings from RequestOptions
* Add Localization Support to Interaction Service (#2211 )
* add json and resx localization managers
* add utils class for getting command paths
* update json regex to make langage code optional
* remove IServiceProvider from ILocalizationManager method params
* replace the command path method in command map
* add localization fields to rest and websocket application command entity implementations
* move deconstruct extensions method to extensions folder
* add withLocalizations parameter to rest methods
* fix build error
* add rest conversions to interaction service
* add localization to the rest methods
* add inline docs
* fix implementation bugs
* add missing inline docs
* inline docs correction (Name/Description Localized properties)
* add choice localization
* fix conflicts
* fix conflicts
* add missing command props fields to ToApplicationCommandProps methods
* add locale parameter to Get*ApplicationCommandsAsync methods for fetching localized command names/descriptions
* Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
* add inline docs to LocalizationTarget
* fix upstream merge errors
* fix command parsing for context command names with space char
* fix command parsing for context command names with space char
* fix failed to generate buket id
* fix get guild commands endpoint
* update rexs localization manager to use single-file pattern
* Upstream Merge Localization Branch (#2434 )
* fix ci/cd error (#2428 )
* Fix role icon & emoji assignment. (#2416 )
* Fix IGuild.GetBansAsync() (#2424 )
fix the problem of not being able to get more than 1000 bans
* [DOCS] Add a note about `DontAutoRegisterAttribute` (#2430 )
* add a note about `DontAutoRegisterAttribute`
* Remove "to to" and add punctuation
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
* fix: Missing Fact attribute in ColorTests (#2425 )
* feat: Embed comparison (#2347 )
* Fix broken code snippet in dependency injection docs (#2420 )
* Fixed markdown formatting to show code snippet
* Fixed constructor injection code snippet pointer
* Added support for lottie stickers (#2359 )
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: BokuNoPasya <49203428+1NieR@users.noreply.github.com>
Co-authored-by: Misha133 <61027276+Misha-133@users.noreply.github.com>
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
Co-authored-by: Ge <gehongyan1996@126.com>
Co-authored-by: Charlie U <52503242+cpurules@users.noreply.github.com>
Co-authored-by: Kuba_Z2 <77853483+KubaZ2@users.noreply.github.com>
* remove unnecassary fields from ResxLocalizationManager
* update int framework guides
* remove space character tokenization from ResxLocalizationManager
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: BokuNoPasya <49203428+1NieR@users.noreply.github.com>
Co-authored-by: Misha133 <61027276+Misha-133@users.noreply.github.com>
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
Co-authored-by: Ge <gehongyan1996@126.com>
Co-authored-by: Charlie U <52503242+cpurules@users.noreply.github.com>
Co-authored-by: Kuba_Z2 <77853483+KubaZ2@users.noreply.github.com>
2 years ago
Kuba_Z2
32b03c8063
Added support for lottie stickers ( #2359 )
2 years ago
Charlie U
ddcf68a29f
Fix broken code snippet in dependency injection docs ( #2420 )
* Fixed markdown formatting to show code snippet
* Fixed constructor injection code snippet pointer
2 years ago
Misha133
89a8ea161f
feat: Embed comparison ( #2347 )
2 years ago
Ge
92215b1f74
fix: Missing Fact attribute in ColorTests ( #2425 )
2 years ago
Misha133
917118d094
[DOCS] Add a note about `DontAutoRegisterAttribute` ( #2430 )
* add a note about `DontAutoRegisterAttribute`
* Remove "to to" and add punctuation
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
2 years ago
BokuNoPasya
b7b7964de9
Fix IGuild.GetBansAsync() ( #2424 )
fix the problem of not being able to get more than 1000 bans
2 years ago
Armano den Boef
b6b5e95f48
Fix role icon & emoji assignment. ( #2416 )
2 years ago
Cenk Ergen
6da595e074
fix ci/cd error ( #2428 )
2 years ago