Commit Graph

3219 Commits

Author SHA1 Message Date
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
995830f793 bump stuffz + DOCFX AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (#3043) 2024-12-21 00:05:18 +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
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
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
Nora
3017f6b463 Add support for keyed services. (#3017)
* Add support for keyed services in ReflectionUtils.GetMember.

* Remove package reference to DI and add ref to Abstractions in Commands.
2024-10-12 22:44:46 +03:00
Mihail Gribkov
433bdc2a51 fix webhook ctor (#3008) 2024-09-14 19:51:18 +03:00
Mihail Gribkov
6b92cc2b08 Add missing permissions (#3006)
* yes

* no way tests actually save the day
2024-09-14 19:48:42 +03:00
Mihail Gribkov
682d87e62b Allow setting SuppressNotification in webhook client(#3007) 2024-09-14 19:42:58 +03:00
trueai-org
292f8c40eb fix: rest client add webporxy config, keep the processing logic with WebSocketProvider (#2974) 2024-09-14 19:25:40 +03:00
Spider
8a2ea4bb58 Add StickerId to REST and WebSocket Sticker audit log data classes (#3005) 2024-09-14 16:24:35 +00:00
Mihail Gribkov
7f18f7f5f0 Meat/3.16.0 (#3003)
* Update Discord.Net.targets

* Update docfx.json

* Update Discord.Net.nuspec

* Update CHANGELOG.md
2024-09-14 00:36:12 +03:00
Mihail Gribkov
88ea2ed9ba more monetizatios stuffz (#3002)
* uhhhhhhhhhhhhhhhhhhh yes

* uhhhhhhhhhhhhhhhhhhh yes

* ~~i love git~~
2024-09-14 00:28:48 +03:00
Mihail Gribkov
b87ec6ef09 option to dump gw payloads on errors (#2999)
* option to dump gw payloads on errors

* w a r n i n g
2024-09-13 22:41:33 +03:00
Mihail Gribkov
c53aac3487 tfw GH Copilot lets you down but you dont notice it (#3001) 2024-09-12 23:10:59 +03:00
Mihail Gribkov
31da3c2072 oops :3 (#2996) 2024-09-03 14:55:53 +03:00
Mihail Gribkov
f65d3ad14a use interaction method in `InteractionModuleBase.DeleteOriginalRespon… (#2995)
* use interaction method in `InteractionModuleBase.DeleteOriginalResponseAsync()`

* ok this was even more scuffed
2024-09-03 14:26:45 +03:00
Mihail Gribkov
9b8c7b1f69 more member flags (#2994) 2024-09-02 23:47:55 +03:00
Mihail Gribkov
c4d90cd6f1 [Feature] Message Forwards (#2918)
* code

* no guild

* iTS ALIVE (THANKS aDVAITH)
2024-08-31 14:29:20 +03:00
Mihail Gribkov
623a45765d minor optimization + make sure top level components are action rows (#2991) 2024-08-30 23:34:15 +03:00
Mihail Gribkov
466b491c3c GetRoleAsync W (#2989) 2024-08-29 11:22:58 +03:00
ForceFK
2aaa0fd2ff StickFormat gif and animated guild icon (#2986)
* Added support for animated server icon

* Added gif in StickFormatType

https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types
2024-08-29 11:10:33 +03:00
Mihail Gribkov
5ca5aa51c4 rename the new precondition + remove obsolete from the old one (#2988) 2024-08-29 00:04:54 +03:00
Mihail Gribkov
57eb906552 bannerz W (#2987) 2024-08-29 00:02:20 +03:00
Adriaan Waem
bc84b94bd9 Create a (Discord)Color using a string (#2979)
* Create a (Discord)Color using a string

* You made me learn bitwise operators and shifting I am angery now, also AI sucks at this shit

* xmldoc

* Apply suggestions from code review

---------

Co-authored-by: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com>
2024-08-14 19:57:25 +00:00
Ashley Cave
47f98bc01d Add Application Approximate User Install Count (#2978)
* Add Application Approximate User Install Count

* fix rider formatting moment
2024-08-09 21:21:43 +00:00
Mihail Gribkov
5407e1780b i think im getting scuffed myself (#2977) 2024-08-08 00:56:30 +03:00
Mihail Gribkov
1f252a3aa9 add an unscuffed precondition attribute (#2976)
* fix lul

* why does v3 has to be so scuffed
2024-08-07 14:26:59 +03:00
Mihail Gribkov
13ec6a0e82 Meta/3.15.3 (#2967)
* Update CHANGELOG.md

* Update Discord.Net.targets

* Update docfx.json

* Update Discord.Net.nuspec
2024-07-21 19:32:29 +03:00
Mihail Gribkov
359f6db62b [Fix] Fix CustomSticker.DeleteAsync() (#2966) 2024-07-21 19:16:35 +03:00
Mihail Gribkov
6e531a2344 [Feature] Add team member Role property (#2965) 2024-07-21 17:49:00 +03:00
ForceFK
bae7861759 Longer MaxCustomBlockMessageLength (#2957)
Adjusted the number of characters in MaxCustomBlockMessageLength to 150 according to the documentation.
2024-07-20 20:38:10 +00:00
Mihail Gribkov
e18915ac96 [Feature] Member search v2 (#2931)
* initial commit

* tweak some things

* a

* Update JoinSourceType.cs

* ill just hope it works

* yup

* docz
2024-07-20 23:37:22 +03:00
Zaratusa
24c760586b fix: crash when poll is null in RestMessageComponent (#2958) 2024-07-20 23:36:06 +03:00