Commit Graph

3978 Commits

Author SHA1 Message Date
Mihail Gribkov
3fd06a3504 Fix build (#3159) 2025-07-14 01:49:22 +03:00
Mihail Gribkov
61b99ef872 Remove debug lines from .gitignore (accidental commit) 2025-07-14 01:41:17 +03:00
Mihail Gribkov
f9ba642976 [Fix] Certain global user properies not getting updated (#3158)
* yep

* fix
2025-07-14 01:39:46 +03:00
OverwrittenCode
978f999843 fix(IsLoadableModule): return false for abstract classes (#3148)
* fix(IsLoadableModule): return false for abstract classes

IsLoadableModule did not check the property TypeInfo.IsAbstract.
Therefore, an unnecessary warning log stated that it could not be loaded.

Now, if a class is abstract, it will be ignored safely and all the inheritors will continue to load any commands.

* fix: handle other attributes

Co-authored-by: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>

* refactor: simplify attribute logic

* fix: correct terminology in debug message

---------

Co-authored-by: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>
2025-07-13 23:22:32 +03:00
Mihail Gribkov
79b455ecf4 [Feature] User primary guild (#3156) 2025-07-13 23:22:04 +03:00
Mihail Gribkov
800a23430d [CV2] QoL & fixes (#3153) 2025-07-01 22:11:27 +03:00
Mihail Gribkov
c343ce95a5 Guild member JoinedAt nullability (#3152)
* GuildMember.JoinedAt is nullable
2025-07-01 00:18:40 +03:00
Mihail Gribkov
f18c836b5f [CV2] add children component counts to IComponentContainer (#3147) 2025-06-12 13:25:08 +03:00
ForceFK
c07c28de10 Fixed missing Type in constructor SelectMenuBuilder(SelectMenuComponent) (#3146) 2025-06-11 21:55:03 +00:00
Mihail Gribkov
6e1f9c1092 add ApproximateUserAuthorizationCount (#3145) 2025-06-12 00:41:44 +03:00
OverwrittenCode
1e5090012d fix: edge case missed (#3144)
Follow-up to https://github.com/discord-net/Discord.Net/pull/3142 (commit 0c1536d).
2025-06-11 12:13:08 +03:00
OverwrittenCode
0c1536d48a Fix overflow exception (#3142)
* refactor(TimestampTagStyles): replace ASCII integer values with character literals (#1)

* fix: validate min/max value against OverflowException
2025-06-07 12:35:36 +03:00
Daniel Willett
7a74f781ae Fixed incorrect ComponentType in TextDisplayBuilder. (#3140) 2025-06-05 22:53:17 +03:00
jiraya
dc3bd768a5 feat: support POLL_RESULT (46) in MessageType enum (#3131)
* feat: support POLL_RESULT (46) in MessageType enum

* oops
2025-06-05 22:53:08 +03:00
d4n
35d94ca32b Fix visibility of MessageComponent.Empty (#3139) 2025-05-29 00:42:09 +03:00
d4n
b338d307b6 Fix value of TextDisplayBuilder.MaxContentLength (#3138) 2025-05-28 21:36:38 +00:00
Mihail Gribkov
2b142de56c meta3.18.0-beta.3 2025-05-27 00:58:16 +03:00
Mihail Gribkov
35b493c11c Fix some CV2 oversights (#3135) 2025-05-24 22:28:35 +03:00
OverwrittenCode
e68fa50797 refactor(TimestampTagStyles): replace ASCII integer values with character literals (#1) (#3133) 2025-05-21 12:10:51 +00:00
jiraya
523212af40 fix: correct typo (#3130) 2025-05-17 13:33:13 +00:00
d4n
b1c2fcb610 Fix error when only sending components in response to interactions (#3129) 2025-05-16 08:53:31 +03:00
Robin Laevaert
9f9b093add Change comment to reflect longer polls (#3127) 2025-05-11 14:45:00 +00:00
Mihail Gribkov
5f2d173361 [Fix] Include section accessories in ComponentCount() (#3126) 2025-05-11 16:47:34 +03:00
Mihail Gribkov
56d6980aa8 Add empty constructors for containers (#3125)
* add empty ctors
2025-05-10 00:19:09 +03:00
Mihail Gribkov
5761c4848f Update CHANGELOG.md 2025-05-09 21:01:21 +03:00
Suiram1701
f1ff1913cf Ensure the required gateway intent is available when connected to audio (#3108) 2025-05-09 20:54:28 +03:00
Mihail Gribkov
be8e6e0394 Component search fixes & improvements (#3123) 2025-05-09 20:54:08 +03:00
Mihail Gribkov
57cdec70bf Fix Ids in ActionRowComponent and SelectmenuComponent (#3122) 2025-05-09 19:19:21 +03:00
Mihail Gribkov
4ab96c7721 yep (#3121) 2025-05-09 18:18:16 +03:00
Mihail Gribkov
c888c84752 use Color for container AccentColor & fix action row validation (#3120) 2025-05-09 15:01:11 +03:00
Mihail Gribkov
b72938028f Add component => builder converters (#3119) 2025-05-09 13:13:25 +03:00
Mihail Gribkov
4760dc5efd More CI updates 2025-05-09 01:21:30 +03:00
Mihail Gribkov
47ce77e572 meta 3.18.0-beta.1 (#3117)
* meta 3.18.0-beta.1

* :copium_truck1::copium_truck2::copium_truck3:
2025-05-09 01:03:56 +03:00
Mihail Gribkov
2c3e74dac9 fix metapacakge suffix (again) 2025-05-08 22:34:27 +03:00
Mihail Gribkov
1ce6c2d07d fix metapacakge suffix 2025-05-08 22:00:26 +03:00
Mihail Gribkov
e5c49a7624 Add beta suffix support to metapackage as well (#3116) 2025-05-08 21:55:08 +03:00
Mihail Gribkov
8ff563f55d Update nightly version format for metapackage 2025-05-08 21:34:13 +03:00
Mihail Gribkov
29dff786c2 Add manual dispatch to dotnet build (#3115) 2025-05-08 21:29:15 +03:00
Mihail Gribkov
2b6a9129c9 Fix NRE responding with a modal info class with null required fields (#3114) 2025-05-08 21:15:12 +03:00
Mihail Gribkov
d0a78d73f9 [CI] Add nuget beta build support (#3113) 2025-05-08 20:51:08 +03:00
Mihail Gribkov
c39849df43 more control over nightly feeds (#3112) 2025-05-08 20:22:15 +03:00
Mihail Gribkov
cc59e7dc7e alter nightly package version format (#3111) 2025-05-08 20:15:37 +03:00
Mihail Gribkov
cc81669d83 CV2 Find component by id (#3110)
* Find components by id

* i love when CI fails cuz of xmldoc
2025-05-08 13:25:00 +03:00
Mihail Gribkov
348928a065 update component limits + add ComponentCount() extension (#3107) 2025-04-30 00:09:32 +03:00
Mihail Gribkov
05a0acc34c [Fix] Providing multiple message flags fails to pass validations (#3106) 2025-04-27 13:55:33 +03:00
Mihail Gribkov
8686102d87 Reapply "[Feature] Components V2 (#3065)" (#3100) (#3104)
This reverts commit d27bb49b2d.
2025-04-27 00:31:08 +03:00
Mihail Gribkov
25230f31cd meta 3.17.4 (#3102) 2025-04-27 00:17:57 +03:00
Mihail Gribkov
ec0621a264 fix NRE introduced in 3.17.3 (#3101) 2025-04-27 00:14:36 +03:00
Mihail Gribkov
d27bb49b2d Revert "[Feature] Components V2 (#3065)" (#3100)
This reverts commit ba78e0c1f0.
2025-04-27 00:05:40 +03:00
Mihail Gribkov
ba78e0c1f0 [Feature] Components V2 (#3065)
* oh well. at least it runs

* well that's some breakings

* all the models (i think)

* barebones builder impl

* commit

* initial take on `WithX` component builder design

* actually usable stuff now

* few more changes

* fixes, changes, syntax sugar

* rework message flags + auto add `ComponentsV2`

* apparently it's also nullable

* fix build

* webhook component supports + builder validations + some xmldoc

* `ResolvedUnfurledMediaItem` + fix missing accessory on sections

* missing xmldoc

* fix modal + whatever change

* yeet unused dep
2025-04-26 23:40:03 +03:00