Fokusnikh
70cb22a93b
Revert "Logic and naming changes"
This reverts commit 438ca37a1d .
3 years ago
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
Kuba_Z2
32b03c8063
Added support for lottie stickers ( #2359 )
3 years ago
Misha133
89a8ea161f
feat: Embed comparison ( #2347 )
3 years ago
BokuNoPasya
b7b7964de9
Fix IGuild.GetBansAsync() ( #2424 )
fix the problem of not being able to get more than 1000 bans
3 years ago
Armano den Boef
b6b5e95f48
Fix role icon & emoji assignment. ( #2416 )
3 years ago
Cenk Ergen
6da595e074
fix ci/cd error ( #2428 )
3 years ago
Bob
65b98f8b12
Update xmldocs to reflect the ConnectedUsers split ( #2418 )
3 years ago
Gutyina Gergő
8dfe19f328
Fix placeholder length being hardcoded ( #2421 )
* Fix placeholder length being hardcoded
* Add docs for TextInputBuilder.MaxPlaceholderLength
3 years ago
Cenk Ergen
500e7b44ca
Using RespondWithModalAsync<IModal>() without prior IModal declaration ( #2369 )
* add RespondWithModalAsync method for initializing missing ModalInfos on runtime
* update method name and add inline docs
3 years ago
Armano den Boef
02bc3b7977
Fix NRE on commandbase data assignment ( #2414 )
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
Armano den Boef
b0b8167efb
fix: Remove group check from RequireContextAttribute ( #2409 )
3 years ago
Alex Thomson
ba02416421
fix: DisconnectAsync not disconnecting users ( #2346 )
3 years ago
Pusheon
f17866085e
fix: Add DeleteMessagesAsync to IVoiceChannel ( #2367 )
Also adds remaining rate-limit information to client log.
3 years ago
SKProCH
503fa755a0
feat: Add async callbacks for IModuleBase ( #2370 )
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
Quin Lynch
20f0932612
meta: 3.7.2
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
d4n
0fad3e8b37
feat: Add method overloads to InteractionService ( #2328 )
3 years ago
CottageDwellingCat
3a37f8914c
feat: AddOptions no longer has an uneeded restriction, added AddOptions to SlashCommandOptionBuilder ( #2338 )
3 years ago
Quin Lynch
b50afd7d8d
meta: 3.7.1
3 years ago
Discord-NET-Robot
18dd95442f
[Robot] Add missing json error ( #2326 )
* Add 50600 Error code
* Update src/Discord.Net.Core/DiscordErrorCode.cs
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Armano den Boef
a890de9304
feature: better call control in ParseHttpInteraction ( #2330 )
* Init
* Fix channelid xmldoc
3 years ago
Armano den Boef
712a4aea48
fix: voice perms not retaining text perms. ( #2329 )
* Init
* Fix switch casting as text and not as voice
* rearrange to have voice fall through the switch first
Co-authored-by: Quin Lynch <lynchquin@gmail.com>
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
1fadb71204
Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev
3 years ago
Quin Lynch
ac3b1a4f89
meta: 3.7.0
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
Tripletri
54a5af7db4
fix: Upload file size limit ( #2313 )
3 years ago
Armano den Boef
cea59b55ba
feature: Add Parse & TryParse to EmbedBuilder & Add ToJsonString extension ( #2284 )
* Add parse & tryparse to embedbuilder.
* Add tostring extension for embeds
* Modify comments
* Resolve suggestions
* Update src/Discord.Net.Rest/Extensions/StringExtensions.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Armano den Boef
a24dde4b19
feature: optional API calling to RestInteraction ( #2281 )
* Take 2
* Expose channel & guild Id for manual calling
* Make api calling optional at runtime
* Resolve build errors
* Bind runtime option to interaction type
* Expose methods to get channel & guild from API
* Patch out NRE's, test on all int types
3 years ago
Cenk Ergen
b465d609f0
fix: Application commands are disabled to everyone except admins by default ( #2293 )
3 years ago
Armano den Boef
1f01881beb
feature: Add DefaultArchiveDuration to ITextChannel ( #2295 )
3 years ago
Misha133
13ccc7c997
feature: Add `.With` methods to ActionRowBuilder ( #2296 )
* Added `.With` methods to `ActionRowBuilder`
- Added `.WithButton` & `.WithSelectMenu` methods to `ActionRowBuilder`
- fixed a typo
* removed `<exception>` from methods which don't directly throw an exception
* Update src/Discord.Net.Core/Entities/Interactions/MessageComponents/ComponentBuilder.cs
* Update src/Discord.Net.Core/Entities/Interactions/MessageComponents/ComponentBuilder.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Armano den Boef
6d21e42ddf
Replace Project- with PackageReference on samples. ( #2297 )
* Init
* Resolve errors
3 years ago
Armano den Boef
725d2557dd
fix: close-stage bucketId being null ( #2299 )
3 years ago
Armano den Boef
94a37156f3
Resolve NRE at get audit for Deleted User ( #2304 )
3 years ago
Cenk Ergen
6fbd396832
Add Nullable ComponentTypeConverter and TypeReader ( #2307 )
* add nullable ComponentTypeConverter and TypeReader
* add converter and reader to interactionservice
3 years ago