Commit Graph

3534 Commits

Author SHA1 Message Date
Armano den Boef
6fdcf98240 docs: Improved DI documentation (#2407) 2022-08-02 11:20:27 +02:00
SKProCH
503fa755a0 feat: Add async callbacks for IModuleBase (#2370) 2022-08-02 11:19:31 +02:00
Armano den Boef
bf493ea040 feat: Labs deprecation & readme expansion (#2406) 2022-08-01 21:47:53 +02:00
Armano den Boef
519deda6e7 fix: Sharding sample inaccurate (#2408) 2022-08-01 21:46:27 +02:00
Armano den Boef
902326d1f3 fix: Range of issues presented by analyzer (#2404) 2022-08-01 18:53:22 +02:00
zaanposni
cfd2662963 docs: ChannelUpdated event xml comment (#2366) 2022-08-01 17:43:11 +02:00
Armano den Boef
a663f61a86 fix: Webhookupdated data naming 2022-08-01 17:41:25 +02:00
CottageDwellingCat
010e8e828f feat: Support the WEBHOOKS_UPDATED event (#2384)
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
2022-08-01 17:38:10 +02:00
Armano den Boef
246282dda3 docs: Improve IF cmd execution docs (#2405)
Adds samples and better explains workflow.
2022-08-01 17:01:01 +02:00
Misha133
cf25acdbc1 docs: Add IgnoreGroupNames clarification to IF docs (#2374) 2022-08-01 13:39:11 +02:00
misticos
06ed995122 docs: Add ServerStarter.Host to deployment.md (#2385) 2022-08-01 13:37:41 +02:00
Misha133
ee6e0adf7c Add RequiredInput to example modal (#2348) - Misha-133 2022-08-01 13:23:43 +02:00
Wojciech Berdowski
e0d68d47d4 Add note about voice binaries on linux
Makes voice section about precompiled binaries more visible.
2022-08-01 13:20:48 +02:00
Cenk Ergen
05120f0428 Add AutoServiceScopes to IF docs 2022-08-01 13:19:34 +02:00
Quin Lynch
20f0932612 meta: 3.7.2 2022-06-02 12:03:38 -03:00
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
2022-06-02 10:19:28 -03:00
Quin Lynch
7adf516b20 fix: Disable TIV restrictions for rollout of TIV (#2342) 2022-06-02 10:18:27 -03:00
d4n
0fad3e8b37 feat: Add method overloads to InteractionService (#2328) 2022-06-02 10:12:49 -03:00
CottageDwellingCat
3a37f8914c feat: AddOptions no longer has an uneeded restriction, added AddOptions to SlashCommandOptionBuilder (#2338) 2022-06-02 10:12:08 -03:00
Quin Lynch
b50afd7d8d meta: 3.7.1 2022-05-27 08:43:04 -03:00
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>
2022-05-27 08:28:43 -03:00
Armano den Boef
a890de9304 feature: better call control in ParseHttpInteraction (#2330)
* Init

* Fix channelid xmldoc
2022-05-27 08:25:49 -03:00
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>
2022-05-27 08:25:33 -03:00
Quin Lynch
e1f9b768ae fix: NRE with Cacheable.DownloadAsync() (#2331) 2022-05-27 08:25:17 -03:00
d4n
d3a693ab67 feature: Add missing interaction properties (#2325) 2022-05-25 06:12:03 -03:00
Quin Lynch
2c428600b0 meta: fix target errors 2022-05-24 05:16:13 -03:00
Quin Lynch
1fadb71204 Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev 2022-05-24 02:56:28 -03:00
Quin Lynch
ac3b1a4f89 meta: 3.7.0 2022-05-24 02:56:21 -03:00
Quin Lynch
88f6168eeb fix: NRE with bot scope and user parameters (#2320) 2022-05-24 02:47:03 -03:00
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>
2022-05-24 02:30:25 -03:00
ShineSyndrome
aae549a976 fix: typo in modal section of docs (#2318) 2022-05-24 02:29:42 -03:00
sabihoshi
f47f3190d0 fix: Use IDiscordClient.GetUserAsync impl in DiscordSocketClient (#2319) 2022-05-24 02:29:16 -03:00
Tripletri
54a5af7db4 fix: Upload file size limit (#2313) 2022-05-23 03:43:38 -03:00
Quin Lynch
437c8a7f43 Update README.md 2022-05-22 08:05:05 -03:00
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>
2022-05-18 04:57:37 -03:00
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
2022-05-18 04:56:57 -03:00
Misha133
20bd2e9e2f [Docs] Autocomplete examples (#2288)
* Improved example in int.framework intro

* Added example to `autocompletion`

* modified example to utilise user's input

* added case insensetive matching; mentioned that 25 suggestions is an API limit
2022-05-18 04:52:38 -03:00
Cenk Ergen
b465d609f0 fix: Application commands are disabled to everyone except admins by default (#2293) 2022-05-18 04:52:14 -03:00
Armano den Boef
1f01881beb feature: Add DefaultArchiveDuration to ITextChannel (#2295) 2022-05-18 04:51:37 -03:00
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>
2022-05-18 04:50:55 -03:00
Armano den Boef
6d21e42ddf Replace Project- with PackageReference on samples. (#2297)
* Init

* Resolve errors
2022-05-18 04:49:21 -03:00
Armano den Boef
725d2557dd fix: close-stage bucketId being null (#2299) 2022-05-18 04:48:34 -03:00
Jeroen Heijster
e35fbedc0a Fixed typos. (#2300) 2022-05-18 04:48:10 -03:00
Raiden Shogun
442fea1340 Added IAttachment to docs#2302) 2022-05-18 04:47:55 -03:00
Armano den Boef
94a37156f3 Resolve NRE at get audit for Deleted User (#2304) 2022-05-18 04:47:23 -03:00
Cenk Ergen
6fbd396832 Add Nullable ComponentTypeConverter and TypeReader (#2307)
* add nullable ComponentTypeConverter and TypeReader

* add converter and reader to interactionservice
2022-05-18 04:45:18 -03:00
Nhea
b333de2237 feature: add UpdateAsync to SocketModal (#2289) 2022-05-13 21:59:38 -03:00
openmilk
b0a3b65bc0 feature: Webhook support for threads (#2291)
* Added thread support to webhooks

Added thread support to delete/send messages for webhooks

* Revert "Added thread support to webhooks"

This reverts commit c45ef389c5df6a924b6ea5d46d5507386904f965.

* read added threads as im a dummy

* fixed formating

* Fixed modify EmbedMessage
2022-05-13 19:28:46 -03:00
Paulo
20ffa64525 fix: Possible NRE in Sanitize (#2290) 2022-05-13 13:03:45 -03:00
Quin Lynch
23656e844e feature: Text-In-Voice (#2269)
* Initial implementation

* Remove blocking webhooks

* add safeguard for tiv

* fix tests
2022-05-09 22:57:28 -03:00