Commit Graph

3973 Commits

Author SHA1 Message Date
Suiram1701
cce62747c9 Improved exception messages of builders (#3092)
* Fixed type reader/converter parsing exception

* Added the provided value to exceptions of some builders and, used more the Preconditions class.

* Removed unused `System.Xml.Linq` usings
2025-04-15 00:19:03 +03:00
Mihail Gribkov
649f52b491 [Feature] Per file attachement size limits (#3090)
* `SendFilesAsync` check file size per attachment instead of combined

* add `AttachmentSizeLimit` to interaction entites
2025-04-05 16:44:33 +03:00
ForceFK
fb90701149 Add size in CDN.GetGuildSplashUrl (#3087) 2025-03-31 21:32:57 +03:00
Suiram1701
88cfbe5453 Fixed type reader/converter parsing exception (#3084) 2025-03-28 20:12:29 +00:00
Mihail Gribkov
6f623a65e4 add missing gif sticker format (#3081) 2025-03-16 00:36:52 +03:00
Mihail Gribkov
3a40b586ab Meta 3.17.2 (#3077)
* Update CHANGELOG.md

* Update NUGET_README.md cuz why not

* Update Discord.Net.targets

* Update Discord.Net.nuspec

* Update docfx.json

* Update CHANGELOG.md
2025-03-09 22:04:08 +03:00
Mihail Gribkov
54e841694e Add empty service scopes (#3078) 2025-03-09 21:52:53 +03:00
Zach Goodson
41ad6aceac Make Make GetShardFor(ulong guildId) & DiscordShardedClient.GetUserAsync() public (#3075)
* Make GetShardFor(ulong guildId) public

* Make DiscordShardedClient.GetUserAsync() public
2025-03-09 21:09:06 +03:00
Mihail Gribkov
9c9407b7f4 [Feature] Add excludeDeleted argument to GetEntitlementsAsync (#3074)
* add `excludeDeleted` argument

* i love when it still builds locally somehow
2025-03-02 01:17:08 +03:00
Mihail Gribkov
aa66928c48 [Fix] SocketGuild.GetApplicationCommandAsync was fetching global commands (#3073) 2025-03-02 01:03:14 +03:00
Mihail Gribkov
d71fcb1a42 AutoServiceScopes strikes again (#3072) 2025-03-02 00:55:59 +03:00
Mihail Gribkov
6fb2a29351 add package lock files for | add prop in targets | update action (#3071)
* add package lock files for | add prop in targets | update action

* oh so you can use netfx reference assemblies even on windows
2025-03-02 00:14:44 +03:00
Mihail Gribkov
81e49f7e9e cache nuget packages in the dotnet.yml action 2025-03-01 23:58:33 +03:00
mini
7fb537fd72 [Featured] Consider AutoServiceScopes in autocomplete handler executions (#3068)
* Add AutoServiceScopes to autocomplete handlers

* Fix disposing behavior

* Update AutocompleteHandler.cs

---------

Co-authored-by: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com>
2025-03-01 23:52:41 +03:00
Mihail Gribkov
5f6c26bf9c Possibly fix mute & deaf state for guild users (#3070) 2025-02-27 21:36:59 +03:00
Łukasz Domeradzki
6e7b3c2577 Correct empty value exception (#3064) 2025-02-09 22:13:17 +03:00
Mihail Gribkov
c625f5fe0b [Fix] SocketApplicationCommand missing GuildId (#3063) 2025-02-03 21:55:33 +03:00
Mihail Gribkov
52c2f0d918 yeet FluentAssertions (#3061) 2025-01-25 23:10:59 +03:00
Mihail Gribkov
bb58d7188b Ok this failed to commit apparently 2025-01-19 13:55:53 +03:00
Mihail Gribkov
3e9a8dd452 Meta 3.17.1 (#3058) 2025-01-19 13:49:15 +03:00
Mihail Gribkov
50aa278a9a move back to 8.0.0 deps (#3057) 2025-01-19 13:39:27 +03:00
Mihail Gribkov
0e9caf382a Add MentionRaidProtectionEnabled (#3056) 2025-01-19 13:37:57 +03:00
Mihail Gribkov
d828cd8821 oops (#3053) 2025-01-16 01:09:13 +03:00
Mihail Gribkov
9c224ec4f5 Use ubuntu-22.04 instead of ubuntu-latest for workflows 2025-01-15 21:37:15 +03:00
Leon Schimmel
0174745881 Added Header and Subtext to the Format class (#3052) 2025-01-15 01:48:45 +03:00
Mihail Gribkov
b5f5df0fde Task.Delay(0) => Task.CompletedTask (#3049) 2025-01-08 20:20:49 +03:00
Ge
35e812253a An AddSlashCommand overload should be AddAutocompleteCommand in ModuleBuilder (#3014) 2025-01-08 01:14:09 +03:00
Mihail Gribkov
2759dbacdb whoops (#3047) 2025-01-08 01:02:38 +03:00
Mihail Gribkov
36439b6325 Refactor & update member search v2 (#3046) 2025-01-08 00:37:41 +03:00
Mihail Gribkov
b3c09b5615 Update docs.yml (#3044) 2024-12-21 00:11:23 +03:00
Mihail Gribkov
995830f793 bump stuffz + DOCFX AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (#3043) 2024-12-21 00:05:18 +03:00
Mihail Gribkov
5d66f96a4d bru (#3042) 2024-12-20 23:40:52 +03:00
Mihail Gribkov
bc9d1d6264 Meta 3.17.0 (#3040)
* Update CHANGELOG.md

* Update Discord.Net.nuspec

* Update Discord.Net.targets

* Update docfx.json

* i'll just hope it magically works
2024-12-20 23:30:55 +03:00
Mihail Gribkov
58a8f10237 Update docs.yml (#3039) 2024-12-20 23:22:22 +03:00
Mihail Gribkov
b7208d4d99 [Feature] Scheduled event recurrence rule (#3023)
* api modelsssssssss

* recurrence rulesssss
2024-12-20 23:16:11 +03:00
Mihail Gribkov
438e31edd1 [Fix] Clamp cache size (#3038)
* fix

* clamp max cache size

* net 4.6.1 strikes again

* real
2024-12-13 21:17:11 +03:00
Mihail Gribkov
d2d8d73170 add missing overwrite perms (#3037) 2024-12-12 22:14:42 +03:00
Mihail Gribkov
79fade6762 [Feature] Support for multiple subscription tiers (#3036) 2024-12-12 22:10:59 +03:00
Ge
aaa8df944c Fixes incorrect cast of parameters in CommandBuilder (#3015) 2024-12-05 09:09:24 +03:00
Mihail Gribkov
c78296fd2d [Fix] NRE in message commands in user app contexts (#3035)
* bump few more things

* expose `MentionedRoleIds` on `SocketMessage` + add some syntax sugar

* right, we can't have nice things cuz netfx

* omfg that's an I/O operation in ctor bruh
2024-12-04 23:49:08 +03:00
Mihail Gribkov
d5879c861a [Fix] Entitlements starts_at is nullable (#3034)
* i wonder if it was just as simple as that

* nope

* nope x2

* nope x3
2024-12-02 01:59:21 +03:00
Mihail Gribkov
93229f6d2e Add net8.0 and net9.0 to the metapackage (#3033) 2024-12-01 20:52:44 +03:00
Mihail Gribkov
d780d6ce02 Add net8.0 and net9.0 (#3032) 2024-12-01 20:43:47 +03:00
Mihail Gribkov
a884ad18dd [Fix] Interaction Service failing to create scopes with some DI providers (#3031) 2024-12-01 20:32:26 +03:00
Mihail Gribkov
96a832788c [Fix] NRE on thread member creation without a guild user in the payload (#3030)
lets hope for the best
2024-11-23 20:31:10 +03:00
Mihail Gribkov
a1e50c4bbf [Fix] Create a new scope when building interaction service modules if AutoServiceScopes = true (#3028)
* Update ModuleBuilder.cs

* oh right the `using`
2024-11-16 20:37:18 +03:00
Takaaki Suzuki
f644e6831a Eliminate the waste of checking arguments under the same conditions. (#3027) 2024-11-16 15:17:03 +00:00
Mihail Gribkov
164a289623 Build with .NET 9 SDK (#3025) 2024-11-12 22:39:14 +03:00
Mihail Gribkov
5904ecde5a [Feature] Support sending voice messages (#3024)
* yup

* a
2024-11-11 21:53:11 +03:00
Mihail Gribkov
8b929690a9 yippee (#3021) 2024-10-22 21:46:54 +03:00