Commit Graph

3561 Commits

Author SHA1 Message Date
Julian
fca9c6b618 Fix: remove Module from _typedModuleDefs (#2417) 2022-09-02 21:31:51 +00:00
Discord-NET-Robot
b967e6907c [Robot] Add missing json error (#2447)
* Add 20024, 30032, 30034, 30052, 40012, 40043, 40058, 40066, 40067, 50017, 50132, 50138, 50146, 110001, 200000, 200001, 220001, 220002, 220003, 220004, 240000 Error codes

* Update src/Discord.Net.Core/DiscordErrorCode.cs

* Apply suggestions from code review

Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2022-09-02 21:14:16 +00:00
Damian Kraaijeveld
376a812b6a Return a list instead of an array (#2451) 2022-09-02 14:04:53 -07:00
Armano den Boef
370bdfa3c6 Bump to Discord API v10 (#2448)
* Bump, add messagecontent intent

* Update comments

Co-authored-by: Rozen <Rozen4334@outlook.com>
2022-09-01 11:48:00 -07:00
Cenk Ergen
fbc5ad414f fix BulkOverwriteCommands NRE (#2444) 2022-08-29 15:24:33 +03:00
Viktor Chernikov
9feb703a82 Wrong symbol fix (#2438) 2022-08-29 11:25:13 +02:00
Kuba_Z2
0aa381d468 Fix typos of word length (#2443) 2022-08-29 11:24:32 +02:00
Quin Lynch
adf012d1dd meta: 3.8.0 (#2441) 2022-08-28 12:04:08 -03:00
Cenk Ergen
39bbd298c3 Interactions Command Localization (#2395)
* Request headers (#2394)

* add support for per-request headers

* remove unnecessary usings

* Revert "remove unnecessary usings"

This reverts commit 8d674fe4faf985b117f143fae3877a1698170ad2.

* remove nullable strings from RequestOptions

* Add Localization Support to Interaction Service (#2211)

* add json and resx localization managers

* add utils class for getting command paths

* update json regex to make langage code optional

* remove IServiceProvider from ILocalizationManager method params

* replace the command path method in command map

* add localization fields to rest and websocket application command entity implementations

* move deconstruct extensions method to extensions folder

* add withLocalizations parameter to rest methods

* fix build error

* add rest conversions to interaction service

* add localization to the rest methods

* add inline docs

* fix implementation bugs

* add missing inline docs

* inline docs correction (Name/Description Localized properties)

* add choice localization

* fix conflicts

* fix conflicts

* add missing command props fields to ToApplicationCommandProps methods

* add locale parameter to Get*ApplicationCommandsAsync methods for fetching localized command names/descriptions

* Apply suggestions from code review

Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>

* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs

Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>

* add inline docs to LocalizationTarget

* fix upstream merge errors

* fix command parsing for context command names with space char

* fix command parsing for context command names with space char

* fix failed to generate buket id

* fix get guild commands endpoint

* update rexs localization manager to use single-file pattern

* Upstream Merge Localization Branch (#2434)

* fix ci/cd error (#2428)

* Fix role icon & emoji assignment. (#2416)

* Fix IGuild.GetBansAsync() (#2424)

fix the problem of not being able to get more than 1000 bans

* [DOCS] Add a note about `DontAutoRegisterAttribute`  (#2430)

* add a note about `DontAutoRegisterAttribute`

* Remove "to to" and add punctuation

Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>

* fix: Missing Fact attribute in ColorTests (#2425)

* feat: Embed comparison (#2347)

* Fix broken code snippet in dependency injection docs (#2420)

* Fixed markdown formatting to show code snippet

* Fixed constructor injection code snippet pointer

* Added support for lottie stickers (#2359)

Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: BokuNoPasya <49203428+1NieR@users.noreply.github.com>
Co-authored-by: Misha133 <61027276+Misha-133@users.noreply.github.com>
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
Co-authored-by: Ge <gehongyan1996@126.com>
Co-authored-by: Charlie U <52503242+cpurules@users.noreply.github.com>
Co-authored-by: Kuba_Z2 <77853483+KubaZ2@users.noreply.github.com>

* remove unnecassary fields from ResxLocalizationManager

* update int framework guides

* remove space character tokenization from ResxLocalizationManager

Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: BokuNoPasya <49203428+1NieR@users.noreply.github.com>
Co-authored-by: Misha133 <61027276+Misha-133@users.noreply.github.com>
Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
Co-authored-by: Ge <gehongyan1996@126.com>
Co-authored-by: Charlie U <52503242+cpurules@users.noreply.github.com>
Co-authored-by: Kuba_Z2 <77853483+KubaZ2@users.noreply.github.com>
2022-08-26 18:45:27 +03:00
Kuba_Z2
32b03c8063 Added support for lottie stickers (#2359) 2022-08-21 10:14:55 -04:00
Charlie U
ddcf68a29f Fix broken code snippet in dependency injection docs (#2420)
* Fixed markdown formatting to show code snippet

* Fixed constructor injection code snippet pointer
2022-08-21 13:58:51 +02:00
Misha133
89a8ea161f feat: Embed comparison (#2347) 2022-08-21 13:57:51 +02:00
Ge
92215b1f74 fix: Missing Fact attribute in ColorTests (#2425) 2022-08-21 13:57:00 +02:00
Misha133
917118d094 [DOCS] Add a note about DontAutoRegisterAttribute (#2430)
* add a note about `DontAutoRegisterAttribute`

* Remove "to to" and add punctuation

Co-authored-by: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com>
2022-08-21 13:56:02 +02:00
BokuNoPasya
b7b7964de9 Fix IGuild.GetBansAsync() (#2424)
fix the problem of not being able to get more than 1000 bans
2022-08-21 13:54:19 +02:00
Armano den Boef
b6b5e95f48 Fix role icon & emoji assignment. (#2416) 2022-08-21 13:53:14 +02:00
Cenk Ergen
6da595e074 fix ci/cd error (#2428) 2022-08-21 13:52:57 +02:00
Bob
65b98f8b12 Update xmldocs to reflect the ConnectedUsers split (#2418) 2022-08-15 13:34:17 -04:00
Gutyina Gergő
8dfe19f328 Fix placeholder length being hardcoded (#2421)
* Fix placeholder length being hardcoded

* Add docs for TextInputBuilder.MaxPlaceholderLength
2022-08-15 13:33:23 -04:00
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
2022-08-10 11:37:40 +03:00
Armano den Boef
02bc3b7977 Fix NRE on commandbase data assignment (#2414) 2022-08-04 11:05:22 +02:00
Cenk Ergen
e551431d72 Max/Min length fields for ApplicationCommandOption (#2379)
* implement max/min length fields for ApplicationCommandOption

* fix badly formed xml comments
2022-08-03 16:44:30 +03:00
d4n
1eb42c6128 fix: Issues related to absence of bot scope (#2352) 2022-08-03 11:17:43 +02:00
Armano den Boef
c49d4830af docs: Fix missing entries in TOC (#2415) 2022-08-03 11:11:26 +02:00
Armano den Boef
b0b8167efb fix: Remove group check from RequireContextAttribute (#2409) 2022-08-03 10:54:30 +02:00
Alex Thomson
ba02416421 fix: DisconnectAsync not disconnecting users (#2346) 2022-08-02 11:26:34 +02:00
Pusheon
f17866085e fix: Add DeleteMessagesAsync to IVoiceChannel (#2367)
Also adds remaining rate-limit information to client log.
2022-08-02 11:24:37 +02:00
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