Fokusnikh
438ca37a1d
Logic and naming changes
GetActiveThreadsInChannelAsync had hell a lot of unnecessary things.
Also did a little renaming
3 years ago
Fokusnikh
07b81b6d31
Squashed commit of the following:
commit 515bec1af9
Author: Fokusnikh <96922685+Polybroo@users.noreply.github.com>
Date: Tue Aug 23 20:06:14 2022 +0200
GetPrivateArchivedThreads and GetJoinedPrivateArchivedThreads are now GuildChannel's thing
commit 383bd2bb01
Author: Fokusnikh <96922685+Polybroo@users.noreply.github.com>
Date: Tue Aug 23 19:42:30 2022 +0200
GetActiveThreads and GetPublicArchivedThreads are now GuildChannel's thing
3 years ago
Fokusnikh
a4fe3ef354
A little fix (whoopsie)
3 years ago
Fokusnikh
dc015f9779
ForumChannels returns only threads it is parent of
3 years ago
Bob
65b98f8b12
Update xmldocs to reflect the ConnectedUsers split ( #2418 )
3 years ago
Cenk Ergen
e551431d72
Max/Min length fields for ApplicationCommandOption ( #2379 )
* implement max/min length fields for ApplicationCommandOption
* fix badly formed xml comments
3 years ago
d4n
1eb42c6128
fix: Issues related to absence of bot scope ( #2352 )
3 years ago
Alex Thomson
ba02416421
fix: DisconnectAsync not disconnecting users ( #2346 )
3 years ago
Armano den Boef
902326d1f3
fix: Range of issues presented by analyzer ( #2404 )
3 years ago
zaanposni
cfd2662963
docs: ChannelUpdated event xml comment ( #2366 )
3 years ago
Armano den Boef
a663f61a86
fix: Webhookupdated data naming
3 years ago
CottageDwellingCat
010e8e828f
feat: Support the WEBHOOKS_UPDATED event ( #2384 )
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
3 years ago
d4n
35db22e527
feat: Add support for attachments on interaction response type 7 ( #2336 )
* Add support for attachments on interaction response type 7
* Add missing checks
3 years ago
Quin Lynch
7adf516b20
fix: Disable TIV restrictions for rollout of TIV ( #2342 )
3 years ago
Quin Lynch
e1f9b768ae
fix: NRE with Cacheable.DownloadAsync() ( #2331 )
3 years ago
d4n
d3a693ab67
feature: Add missing interaction properties ( #2325 )
3 years ago
Quin Lynch
88f6168eeb
fix: NRE with bot scope and user parameters ( #2320 )
3 years ago
Quin Lynch
7a07fd62e4
feature: Forum channels ( #2316 )
* initial implementation
* Update SocketForumChannel.cs
* rest forum channel and remove message builder for 4.x
* Update src/Discord.Net.Core/DiscordConfig.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/IForumChannel.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Update src/Discord.Net.Core/DiscordConfig.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/IForumChannel.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/IForumChannel.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/IForumChannel.cs
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
3 years ago
sabihoshi
f47f3190d0
fix: Use IDiscordClient.GetUserAsync impl in DiscordSocketClient ( #2319 )
3 years ago
Armano den Boef
1f01881beb
feature: Add DefaultArchiveDuration to ITextChannel ( #2295 )
3 years ago
Nhea
b333de2237
feature: add UpdateAsync to SocketModal ( #2289 )
3 years ago
Quin Lynch
23656e844e
feature: Text-In-Voice ( #2269 )
* Initial implementation
* Remove blocking webhooks
* add safeguard for tiv
* fix tests
3 years ago
Quin Lynch
e136759073
feature: Treat warnings as errors and set warning level to 5 ( #2270 )
3 years ago
moiph
0ec8938a67
feature: Support FailIfNotExists on MessageReference ( #2283 )
Fixes #2282
3 years ago
Quin Lynch
f2bb55e804
fix: null user on interaction without bot scope ( #2271 )
3 years ago
Cenk Ergen
a8f607553b
fix: Permissions v2 Invalid Operation Exception ( #2267 )
* implement fix
* implement fix
3 years ago
Quin Lynch
d98b3cc495
feature: V2 Permissions ( #2222 )
* Initial V2 permissions
* add perms-v2 attributes and properties, add deprecation messages
* add perms-v2 properties to command info classes
* add perms-v2 fields to Rest/SocketApplicationCommand entities and IApplicationCommand
* fix json name of DmPermission field
Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
3 years ago
Cenk Ergen
4ce1801bdf
feature: Passing CustomId matches into contexts ( #2136 )
* add logic for passing the wild card captures into the context
* move concrete impl of IRouteSegmentMatch to internal
* Apply suggestions from code review
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* fix build errors
* Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
3 years ago
Alex Thomson
275b833205
Fix browser property ( #2254 )
3 years ago
Alex Thomson
daba58cdd4
Fix SocketGuild not returning the AudioClient ( #2248 )
3 years ago
Armano den Boef
d8757a5afa
feature: Update bans to support pagination ( #2223 )
* Cacheless impl
* Ignore cache impl
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Implement xmldoc consistency
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Quin Lynch
bfd0d9bede
fix: GuildMemberUpdated cacheable before entity incorrect ( #2225 )
3 years ago
Armano den Boef
e38104bb32
feature: Make bidirectional formatting optional ( #2204 )
* Init
* Clearing up comment on config entry.
* Update user entities to remove storage of the setting
Co-authored-by: Quin Lynch <lynchquin@gmail.com>
3 years ago
Armano den Boef
8522447c27
Fix gateway interactions not running without bot scope. ( #2217 )
* Init
* Implement public channelId
3 years ago
Armano den Boef
c4131cfc8b
Fix: ShardedClients not pushing PresenceUpdates ( #2219 )
3 years ago
FeroxFoxxo
305d7f9e13
Fix: Integration model from GuildIntegration and added INTEGRATION gateway events ( #2168 )
* fix integration models; add integration events
* fix description on IGUILD for integration
* fix typo in integration documentation
* fix documentation in connection visibility
* removed public identitiers from app and connection
* Removed REST endpoints that are not part of the API.
* Added documentation for rest integrations
* added optional types
* Fixed rest interaction field with not being IsSpecified
3 years ago
Armano den Boef
d48a7bd348
Fix: serialization error on thread creation timestamp. ( #2188 )
3 years ago
d4n
741ed809d6
Add missing methods to IComponentInteraction ( #2201 )
3 years ago
Armano den Boef
82473bce69
Update GuildMemberUpdated comment regarding presence ( #2193 )
3 years ago
Quin Lynch
25aaa4948a
fix: thread owner always null ( #2182 )
4 years ago
Quin Lynch
f8ec3c79c2
Fix/ambigiuous reference ( #2181 )
* fix: Ambigiuous reference when creating roles
* Update RestGuild.cs
4 years ago
Quin Lynch
24b7bb593a
Fix: sharded client logout ( #2179 )
4 years ago
MrCakeSlayer
1ba96d6fbd
Add configuration toggle to suppress Unknown dispatch warnings ( #2162 )
4 years ago
CottageDwellingCat
1fb62de14b
Support Sending Message Flags ( #2131 )
* Add message flags
* Add webhook message flags
4 years ago
Quin Lynch
b3370c33e2
Fix usage of CacheMode.AllowDownload in channels ( #2154 )
Co-Authored-By: ✨ <25006819+sabihoshi@users.noreply.github.com>
Co-authored-by: ✨ <25006819+sabihoshi@users.noreply.github.com>
4 years ago
Quin Lynch
6bf5818e72
Add IsInvitable and CreatedAt to threads ( #2153 )
* Add IsInvitable and CreatedAt to threads
* Update src/Discord.Net.Core/Entities/Channels/IThreadChannel.cs
Co-Authored-By: Jared L <48422312+lhjt@users.noreply.github.com>
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com>
4 years ago
Quin Lynch
1dc473c7e4
Add Image property to Guild Scheduled Events ( #2151 )
* Add Image property to create and modify events
* Add CDN routes to get cover image
* Update banner names
* Update CDN.cs
* Update IGuildScheduledEvent.cs
4 years ago
Quin Lynch
5594739135
Clarify Users property on SocketGuildChannel ( #2149 )
4 years ago
EpicOfficer
8bcd3da9e4
Add self_video to VoiceState ( #2137 )
* Add self_video to VoiceState
* Update selfVideo flag
4 years ago
d4n
f601e9bc34
Fix context menu comand message type ( #2128 )
4 years ago