diff --git a/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll b/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll index 095ea46ef..6e8839796 100644 Binary files a/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll and b/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll differ diff --git a/docs/_template/description-generator/plugins/LICENSE b/docs/_template/description-generator/plugins/LICENSE index eb92c0a03..d74703f3d 100644 --- a/docs/_template/description-generator/plugins/LICENSE +++ b/docs/_template/description-generator/plugins/LICENSE @@ -19,3 +19,11 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +============================================================================== + +Humanizer (https://github.com/Humanizr/Humanizer) +The MIT License (MIT) +Copyright (c) .NET Foundation and Contributors + +============================================================================== \ No newline at end of file diff --git a/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll b/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll index ccb2b0e37..be36969c9 100644 Binary files a/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll and b/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll differ diff --git a/docs/_template/last-modified/plugins/LibGit2Sharp.dll b/docs/_template/last-modified/plugins/LibGit2Sharp.dll index 316515072..5b3568103 100644 Binary files a/docs/_template/last-modified/plugins/LibGit2Sharp.dll and b/docs/_template/last-modified/plugins/LibGit2Sharp.dll differ diff --git a/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config b/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config index 21a2b5601..c93e4cc22 100644 --- a/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config +++ b/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config @@ -1,4 +1,4 @@ - - + + diff --git a/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so new file mode 100644 index 000000000..4324c2ad9 Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so differ diff --git a/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so new file mode 100644 index 000000000..a72d7419d Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so differ diff --git a/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so new file mode 100644 index 000000000..a1f59dfb3 Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so differ diff --git a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so new file mode 100644 index 000000000..b47f83e21 Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so differ diff --git a/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib b/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib new file mode 100644 index 000000000..cb1e7eb8c Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll b/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll new file mode 100644 index 000000000..af7d32a6d Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll b/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll new file mode 100644 index 000000000..c680911e2 Binary files /dev/null and b/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll differ diff --git a/docs/_template/light-dark-theme/partials/head.tmpl.partial b/docs/_template/light-dark-theme/partials/head.tmpl.partial index c214e7548..5de762b66 100644 --- a/docs/_template/light-dark-theme/partials/head.tmpl.partial +++ b/docs/_template/light-dark-theme/partials/head.tmpl.partial @@ -10,7 +10,7 @@ - + diff --git a/docs/docfx.json b/docs/docfx.json index f114a435b..f691d3a8f 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -10,7 +10,7 @@ "dest": "api", "filter": "filterConfig.yml", "properties": { - "TargetFramework": "netstandard2.0" + "TargetFramework": "net5.0" } } ], @@ -45,18 +45,6 @@ ] } ], - "resource": [ - { - "files": [ - "**/images/**", - "**/samples/**", - "langwordMapping.yml", - "marketing/logo/**.svg", - "marketing/logo/**.png", - "favicon.ico" - ] - } - ], "dest": "_site", "template": [ "default", diff --git a/docs/guides/concepts/entities.md b/docs/guides/concepts/entities.md index f194d1065..e3ca7db32 100644 --- a/docs/guides/concepts/entities.md +++ b/docs/guides/concepts/entities.md @@ -31,8 +31,7 @@ But that doesn't mean a message _can't_ come from a retrieve information about a guild from a message entity, you will need to cast its channel object to a `SocketTextChannel`. -You can find out various types of entities in the @FAQ.Misc.Glossary -page. +You can find out various types of entities in the [Glossary page.](xref:FAQ.Glossary) ## Navigation diff --git a/docs/guides/getting_started/installing.md b/docs/guides/getting_started/installing.md index a2464a29a..58ebeda34 100644 --- a/docs/guides/getting_started/installing.md +++ b/docs/guides/getting_started/installing.md @@ -11,7 +11,7 @@ may also compile this library yourself should you so desire. ## Supported Platforms -Discord.Net targets [.NET 5.0], but is also available on older versions, like [.NET Standard] and [.NET Core]; this still means +Discord.Net targets [.NET 6.0] and [.NET 5.0], but is also available on older versions, like [.NET Standard] and [.NET Core]; this still means that creating applications using the latest version of .NET (6.0) is most recommended. If you are bound by Windows-specific APIs or other limitations, you may also consider targeting [.NET Framework] @@ -23,6 +23,7 @@ other limitations, you may also consider targeting [.NET Framework] > implementation and may crash the application upon startup. [Mono]: https://www.mono-project.com/ +[.NET 6.0]: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-6 [.NET 5.0]: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-5 [.NET Standard]: https://docs.microsoft.com/en-us/dotnet/articles/standard/library [.NET Core]: https://docs.microsoft.com/en-us/dotnet/articles/core/ diff --git a/docs/guides/int_framework/post-execution.md b/docs/guides/int_framework/post-execution.md index 28a093df5..c68d14fa5 100644 --- a/docs/guides/int_framework/post-execution.md +++ b/docs/guides/int_framework/post-execution.md @@ -16,7 +16,7 @@ If you are using the `RunMode.Async` to run your commands, you must use the Interaction Service events to get the execution results. When using `RunMode.Async`, [InteractionService.ExecuteCommandAsync] will always return a successful result. -[InteractionService.ExecuteCommandAsync]: xref: Discord.Interactions.InteractionService.ExecuteCommandAsync* +[InteractionService.ExecuteCommandAsync]: xref:Discord.Interactions.InteractionService.ExecuteCommandAsync* ## Results @@ -39,7 +39,7 @@ Interaction Result come in a handful of different flavours: [ExecuteResult]: xref:Discord.Interactions.ExecuteResult [PreconditionGroupResult]: xref:Discord.Interactions.PreconditionGroupResult [PreconditionResult]: xref:Discord.Interactions.PreconditionResult -[SearchResult]: xref:Discord.Interactions.SearchResult +[SearchResult]: xref:Discord.Interactions.SearchResult`1 [TypeConverterResult]: xref:Discord.Interactions.TypeConverterResult [IResult.Error]: xref:Discord.Interactions.IResult.Error* diff --git a/docs/guides/text_commands/intro.md b/docs/guides/text_commands/intro.md index f0b310162..6632c127a 100644 --- a/docs/guides/text_commands/intro.md +++ b/docs/guides/text_commands/intro.md @@ -187,7 +187,7 @@ service provider. ### Module Constructors -Modules are constructed using @Guides.Commands.DI. Any parameters +Modules are constructed using [Dependency Injection](xref:Guides.TextCommands.DI). Any parameters that are placed in the Module's constructor must be injected into an @System.IServiceProvider first. diff --git a/docs/guides/v2_v3_guide/v2_to_v3_guide.md b/docs/guides/v2_v3_guide/v2_to_v3_guide.md index 3ff74a364..2bd914e17 100644 --- a/docs/guides/v2_v3_guide/v2_to_v3_guide.md +++ b/docs/guides/v2_v3_guide/v2_to_v3_guide.md @@ -27,4 +27,4 @@ There is a new event called `PresenceUpdated` that is called when a user's prese ## Migrating your commands to slash command -The new InteractionService was designed to act like the previous service for text-based commands. Your pre-existing code will continue to work, but you will need to migrate your modules and response functions to use the new InteractionService methods. Docs on this can be found in the Guides section. +The new InteractionService was designed to act like the previous service for text-based commands. Your pre-existing code will continue to work, but you will need to migrate your modules and response functions to use the new InteractionService methods. Docs on this can be found [here](xref:Guides.IntFw.Intro) diff --git a/docs/index.md b/docs/index.md index bb89e3ec3..b63369f6e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -79,10 +79,4 @@ Components of a message such as buttons and dropdowns, which can be interacted w Message components can be set in rows and multiple can exist on a single message! - Explanation on how to add & respond to message components can be found in the -[Message Component Guides](xref:Guides.MessageComponents.Intro) - -> [!Note] -> More experienced users might want to refer to the -> [API Documentation](xref:API.Docs) for a breakdown of the individual -> components in the library. - +[Message Component Guides](xref:Guides.MessageComponents.Intro) \ No newline at end of file