Commit Graph

693 Commits

Author SHA1 Message Date
Mihail Gribkov
b5f5df0fde Task.Delay(0) => Task.CompletedTask (#3049) 2025-01-08 20:20:49 +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
b7208d4d99 [Feature] Scheduled event recurrence rule (#3023)
* api modelsssssssss

* recurrence rulesssss
2024-12-20 23:16: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
Mihail Gribkov
d780d6ce02 Add net8.0 and net9.0 (#3032) 2024-12-01 20:43:47 +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
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
88ea2ed9ba more monetizatios stuffz (#3002)
* uhhhhhhhhhhhhhhhhhhh yes

* uhhhhhhhhhhhhhhhhhhh yes

* ~~i love git~~
2024-09-14 00:28:48 +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
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
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
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
Mihail Gribkov
26bb789b0a uh yes pls (#2963) 2024-07-20 23:35:19 +03:00
Mihail Gribkov
6b691b1ad2 this object is fucked but at least its not missing props now (#2956) 2024-07-04 00:00:49 +03:00
Mihail Gribkov
ae497945b4 longer polls (#2953) 2024-07-02 01:17:04 +03:00
Mihail Gribkov
8afea2c09d Update for the breaking change discord has made + v3 is cringe (#2951)
* update for the breaking change discord made + v3 is fucked

* this could've bee a cool surprise 4 everyone
2024-06-29 20:21:15 +03:00
Mihail Gribkov
cb79f04b93 add IsAvailable to GuildEmote 2024-06-29 20:20:41 +03:00
Mihail Gribkov
85a13e9fff Hotfix 3.15.2 (#2946) 2024-06-18 22:16:33 +03:00
Mihail Gribkov
5a71ad3b78 [Fix] ButtonBuilder validations(#2943) 2024-06-18 00:53:44 +03:00
Mihail Gribkov
9d92435493 [Feature] Add purchase notification (#2942) 2024-06-16 20:33:40 +03:00
Mihail Gribkov
21195a8a93 [Feature] Add MessageCallData (#2934) 2024-06-14 11:23:34 +03:00
Mihail Gribkov
3be72a8ae6 [Feature] Public constructor for Emote (#2936) 2024-06-14 11:21:08 +03:00
Mihail Gribkov
531b5eb3b7 [Feature] premium buttonz (#2933) 2024-06-14 00:43:11 +03:00
Mihail Gribkov
f7f29d5cc8 [Feature] Add UseExternalApps permission (#2941) 2024-06-10 23:57:31 +03:00
Bence Szucs
9030a5b2bb [Feature] Config Bypass for CanSendResponse (#2932)
* Adds bool switch for DeferAsyncTimeCheck in DiscordConfig

* Adds DeferAsyncTimeCheck bool to DiscordSocketClient

* Adds DeferAsyncTimeCheck to DeferAsync in SocketCommandBase

* Adds DeferAsyncTimeCheck to DeferAsync in SocketModal

* Adds DeferAsyncTimeCheck to DeferAsync in SocketMessageComponent

* Changes name of DeferAsyncTimeCheck to be more general

* Moves ResponseInternalTimeCheck from socket client to base client

* Adds ResponseInternalTimeCheck to Rest interactions

* Adds ResponseInternalTimeCheck to socket interactions
2024-05-16 21:25:21 +00:00
enonibobble
aa424f6f37 Enable nuget debug symbols. (#2929) 2024-05-12 22:17:52 +03:00
zobweyt
1a5cba875d [Feature] Parameter precondition attribute for simplifying performing hierarchical operations within a guild (#2906)
* Support interaction framework and update bundled preconditions docs

* Support text commands and update bundled preconditions docs

* Fix example

* Move hierarchy util to `PermissionUtils`

* Refactoring
2024-05-12 01:27:15 +03:00
Mihail Gribkov
476ec068f1 [Feature] Polls (#2902)
no breakings hopefully
2024-05-11 20:34:12 +00:00
Proddy
93cb71af57 Fix null error when using a SelectMenuBuilder constructor (#2924)
* Fix null error when using a `SelectMenuBuilder` constructor

* Update references to `Options` to support `null`
2024-05-11 23:23:51 +03:00
Mihail Gribkov
f9086d3a2c more cringe (#2919) 2024-04-28 17:42:38 +03:00
Mihail Gribkov
f85bf9ac48 bettah bulk bans (#2915) 2024-04-23 00:13:31 +03:00
Quin Lynch
a2f624e6de Fix: Don't depend on WebSocket for Interaction service (#2912)
* unfuck interaction service to not depend on WS

* Add XML docs

* fix summary refs
2024-04-16 00:57:10 -03:00
Mihail Gribkov
d1da2a00e9 [Feature] Guild bans with seconds prune period (#2898)
* rip legacy code

* rename so no conflicts

* eh renamed wrong thing
2024-04-04 03:57:37 -04:00
Mihail Gribkov
24a69785fe [Feature] Initial user apps support (#2883)
* omg it kinda works somehow

* more things added

* a bit of xmldocs

* added interaction framework support

* working? IF

* more builder stuff

* space

* rename attribute to prevent conflict with `ContextType` enum

* context type

* moar features

* remove integration types

* trigger workflow

* modelzzzz

* `InteractionContextType`

* allow setting custom status with `SetGameAsync`

* bugzzz

* app permissions

* message interaction context

* hm

* push for cd

* structs lets goooo

* whoops forgot to change types

* whoops x2

* tweak some things

* xmldocs + missing prop + fix enabled in dm

* moar validations

* deprecate a bunch of stuffz

* disable moar obsolete warnings

* add IF sample

* Apply suggestions from code review

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

* Update src/Discord.Net.Rest/Entities/RestApplication.cs

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

---------

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2024-03-18 21:24:05 +00:00
Mihail Gribkov
bfc8dc229e Update library dependencies (#2806)
* bump dependencies

* sealed class

* forgot to push

* downgrade `IDisposableAnalyzers` to `4.0.2`

* also forgot to push

* Update docs.yml

* samples => `net8.0` | deps more up to date

* mark as non-trimmable & remove some cringe conditions

* format for beauty
2024-03-19 00:23:01 +03:00
Mihail Gribkov
03402cd4d2 [Feature] Bulk ban support (#2881) 2024-03-16 01:22:23 +03:00
Mihail Gribkov
d0c0a56884 [Feature] Support setting banner on bot profiles (#2879) 2024-03-14 22:30:23 +00:00
Mihail Gribkov
fa51f0a86f Fix optional param being non-optional (#2869) 2024-03-02 01:06:46 +03:00
Mihail Gribkov
5a62ba1af4 [Feature] Allow switching voice channels without disconnecting (external clients only) (#2866)
* eh well it should work

* fix issues

* make sure an external client is used
2024-02-26 13:54:18 +03:00
Proddy
6870ac5386 Fixed a bug when creating a SelectMenuBuilder from a SelectMenuComponent incorrectly set the CustomId (#2862) 2024-02-24 17:32:18 +00:00
Mihail Gribkov
eb5678aea5 [Feature] Add Icon size parameter to GetGuildIconUrl CDN method (#2832)
* we need biggah iconssss
2024-02-24 03:09:29 +03:00