MichaelMcCarthy
f32d3f6346
Update creating-slash-commands.md ( #2684 )
...
typo ApplicationCommandException does not contain Error as it contains Errors
2023-06-27 11:14:15 -03:00
Christopher Bonnell
23e27e0b49
[Fix] Interaction Framework Choice mistake ( #2660 )
2023-04-15 01:05:29 +02:00
Collin Herber
4b4b6078b3
Update intro.md ( #2623 )
2023-03-31 13:19:38 +02:00
Ge
ee617d8ef3
Fix typos in comments and documentation ( #2608 )
...
* Fix typos in comments and documentations
* Fixes more typo
2023-02-26 20:49:16 +01:00
Jan
71e9ecb21e
Fix example of documentation ( #2594 )
2023-02-09 21:59:17 +00:00
Casmir
59c2008eaa
Doc patch ( #2587 )
2023-02-07 13:44:44 +00:00
Misha133
e3da96fbf5
[Feature] Expose GetCurrentUser method & missing current user API methods ( #2574 )
...
* add stuff
* forgot to push
* docs
* Update DiscordRestClient.cs
* Apply suggestions from code review
* Update toc.yml
---------
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com >
2023-02-06 17:20:54 +01:00
Zach Goodson
4aded83ab6
Fixed typo in code example. ( #2552 )
2023-01-21 11:47:39 +01:00
Ikko Ashimine
1d53ea7679
[Docs] Fix typo in autocompletion.md ( #2548 )
...
Interations -> Interactions
2022-12-25 16:53:00 -04:00
Misha133
48fb1b5df4
[Feature] Selects v2 support ( #2507 )
...
* Initial support for new select types
* Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev
* some component&action row builder additions
* remove redundant code
* changes1
* maybe working rest part?
* working-ish state?
* fix some xml docs & small rework
* typos
* fix `ActionRowBuilder`
* update DefaultArrayComponentConverter to accomodate new select-v2 types
* now supports dm channels in channel selects
* add a note to IF docs
* add notes about nullable properties
* <see langword="null"/>
* update Modal.cs
Co-authored-by: cat <lumitydev@gmail.com >
Co-authored-by: Cenngo <cenk.ergen1@gmail.com >
2022-12-25 13:41:15 +01:00
Misha133
56b1a930e7
[Feature] Age restricted (NSFW) application commands support ( #2531 )
...
* add `nsfw` to data model & internal methods; add missing property
* add `nsfw` prop to command builders
* add `NsfwCommandAttribute` to Interaction Framework
* working state
* docs?
2022-12-20 01:00:56 +03:00
Halbritter
20d8fdf0bf
Fully qualify SlashCommandBuilder namespace ( #2534 )
...
Update to make sure its cleear which SlashCommandBuilder is used.
2022-12-16 14:08:42 -04:00
Payton
ea039b848c
Update events.cs ( #2505 )
...
Fixed compiler error caused by missing semicolon
2022-11-07 17:26:18 +01:00
Misha133
a4d34f6947
[Docs] Update samples to use MessageContent intent & update v2 => v3 guide ( #2471 )
2022-09-25 22:27:14 +02:00
Marten
2a6fca6653
[Docs] Text Commands: Added a warning about the message content intent ( #2458 )
...
* Added a warning about the `message content` intent
* Improved line length
* Warning -> Important
2022-09-14 12:08:00 -03:00
Nikolay
525dd6048a
[Docs] Context menu of slash commands supported on mobile ( #2459 )
2022-09-10 05:03:14 -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
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
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
Armano den Boef
c49d4830af
docs: Fix missing entries in TOC ( #2415 )
2022-08-03 11:11:26 +02:00
Armano den Boef
6fdcf98240
docs: Improved DI documentation ( #2407 )
2022-08-02 11:20:27 +02:00
Armano den Boef
bf493ea040
feat: Labs deprecation & readme expansion ( #2406 )
2022-08-01 21:47:53 +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
ShineSyndrome
aae549a976
fix: typo in modal section of docs ( #2318 )
2022-05-24 02:29:42 -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
Raiden Shogun
442fea1340
Added IAttachment to docs#2302)
2022-05-18 04:47:55 -03:00
Armano den Boef
9bd088f9b9
[Docs] Adding permission docs for interaction framework ( #2265 )
...
* Get rid of mediatrsample sln
* Add framework perms doc
* Append suggestion
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com >
* Append suggestion
Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com >
2022-04-28 12:21:00 -03:00
Cenk Ergen
f5dbb95610
docs: Interaction Service Perms-v2 docs ( #2263 )
...
* add perms v2 docs
* add perms v2 docs
2022-04-28 08:48:37 -03:00
Ge
2b49322a54
docs: Fix TextCommands reference in first-bot.md ( #2264 )
2022-04-28 08:48:11 -03:00
Diego-VP20
26c1a7e80f
docs: Add files to the parameters ( #2244 )
2022-04-27 11:08:07 -03:00
Misha133
18f001e37b
[DOCS] Group commands example ( #2246 )
...
* add Group Command Examples to int_framework intro
* update subcommad group's name
* added some comments t othe example code
* fixed naming
* added spaces in comments
2022-04-22 07:26:54 -03:00
MrCakeSlayer
8eec6a00ac
Fix log severity mapping for guide sample ( #2249 )
2022-04-18 03:51:40 -03:00
Duke
53ab9f3b16
MediatR Guide + sample ( #2218 )
...
* Add guide for MediatR
* Add sample for MediatR
* Fix exposed token in program.cs
* Fix review points
* Remove newline in MediatrDiscordEventListener.cs
2022-04-05 14:18:25 -03:00
TricolorHen061
0439437a65
Fix small typo in modal example ( #2216 )
2022-04-04 18:20:09 -03:00
Robin Sue
d5342e4585
Fix Serilog Level Mapping ( #2202 )
2022-03-26 09:42:07 -03:00
Raiden Shogun
c286b9978e
Fixed typo ( #2206 )
...
`await arg2.Interaction.RespondAsync("Command exception: {arg3.ErrorReason}");` would never have showed the `ErrorReason` because a `$` was missing before the string.
2022-03-26 09:33:21 -03:00
Armano den Boef
7262990654
Resolve complex param sample reference ( #2166 )
2022-03-03 17:19:25 -04:00
Cenk Ergen
5522bc443d
Create Complex Params Docs ( #2160 )
...
* create complex params docs
* Update docs/guides/int_framework/intro.md
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com >
2022-03-02 20:02:12 -04:00
Quin Lynch
36d6ce9ec8
Unneeded build event ( #2158 )
...
Build() at the end of the command creation isn't needed. The build is done on line 34.
Co-authored-by: Cookiezzz <Cookiezzz@users.noreply.github.com >
2022-03-02 19:24:10 -04:00
Quin Lynch
c80067425a
Display name support for enum type converter ( #2156 )
...
* Display name support for enum type converter
* allow display attribute on enum type converter
* update docs/examples to include enum Display sample
* Revert "allow display attribute on enum type converter"
This reverts commit a0eec5b7555d366f9de7421f6fcf6bc71f2a4557.
* adds ChoiceDisplay for enum type converters
* Update EnumChoiceAttribute.cs
* fix renamed folder issue
* fix namespace
Co-authored-by: Xeno <eliotd@gmail.com >
2022-03-02 19:23:51 -04:00
Ilay Nahman
b7f6db96ef
Fix docs typos ( #2119 )
...
Changed frist to first and dont to don't
2022-03-02 15:09:57 -04:00
Duke
1fc07e742f
Guides for Serilog and EFCore ( #2134 )
...
* Add serilog guide
* added suggestions from Rozen
* Add efcore guide
* Fix review changes
* Fix grammatical errors & review points
2022-03-02 15:08:51 -04:00
Almighty-Shogun
7d8911bfed
Fixed documentation typo's ( #2127 )
...
* Fixed typo at line 39
On this code example for the documentation there was a typo on the README.md file at line 39. There was an `;` where there should not be one.
The code that had the typo:
```cs
var tb = new TextInputBuilder()
.WithLabel("Labeled")
.WithCustomId("text_input")
.WithStyle(TextInputStyle.Paragraph)
.WithMinLength(6); // This ";" does not belong here.
.WithMaxLength(42)
.WithRequired(true)
.WithPlaceholder("Consider this place held.");
```
* Changed `ExecuteAsync` to `ExecuteCommandAsync`
`_interactionService.ExecuteAsync(ctx, serviceProvider);` cannot be executed because the method `ExecuteAsync` does not exists.
* Changed `componBuild()` to `components.Build()`
2022-03-02 15:07:15 -04:00
Sean
69da238a0f
prefer shortened linq update ( #2093 )
2022-02-11 21:45:54 -04:00
Armano den Boef
01735c82fb
Fix ToString() on CommandInfo ( #2094 )
2022-02-11 21:45:36 -04:00