Remora.Discord.Hosting 7.0.1

Prefix Reserved
dotnet add package Remora.Discord.Hosting --version 7.0.1
                    
NuGet\Install-Package Remora.Discord.Hosting -Version 7.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Remora.Discord.Hosting" Version="7.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Remora.Discord.Hosting" Version="7.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Remora.Discord.Hosting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Remora.Discord.Hosting --version 7.0.1
                    
#r "nuget: Remora.Discord.Hosting, 7.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Remora.Discord.Hosting@7.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Remora.Discord.Hosting&version=7.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Remora.Discord.Hosting&version=7.0.1
                    
Install as a Cake Tool

Remora.Discord.Hosting

This package provides an implementation of a hosted service that runs the gateway client in the background.

Structure

The hosted service is quite simple, and merely runs the gateway client. If configured, critical errors in the gateway (which should only happen in the case of a bug in Remora.Discord or your system configuration) may also gracefully terminate the application.

Usage

Usage is relatively standard for applications that use a .NET Generic Host architecture.

private static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args)
    .AddDiscordService
    (
        services =>
        {
            // ...
        }
    )

Optionally, you may configure some behaviour by way of DiscordServiceOptions, where additional options are exposed.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Remora.Discord.Hosting:

Package Downloads
Remora.Discord

Metapackage for Remora.Discord's various components

VTP.Remora.InProcessSharding

Adds support to Remora to handle multiple shards in the same process

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Remora.Discord.Hosting:

Repository Stars
angelobreuer/Lavalink4NET
Lavalink4NET is a Lavalink wrapper with node clustering, caching and custom players for .NET with support for Discord.Net, DSharpPlus, Remora, and NetCord.
Version Downloads Last Updated
7.0.1 8,215 5/24/2025
7.0.0 14,686 2/13/2025
6.0.10 45,662 5/28/2024
6.0.9 25,822 2/5/2024
6.0.8 14,287 11/14/2023
6.0.7 28,869 7/24/2023
6.0.6 18,328 5/11/2023
6.0.5 1,441 3/20/2023
6.0.4 1,773 1/19/2023
6.0.3 1,199 1/10/2023
6.0.2 1,552 12/28/2022
6.0.1 1,767 12/10/2022
6.0.0 1,579 10/30/2022
5.0.28 17,042 9/2/2022
5.0.27 1,591 8/19/2022
5.0.26 1,655 7/28/2022
5.0.25 1,472 7/26/2022
5.0.24 1,435 7/26/2022
5.0.23 2,468 6/29/2022
5.0.22 1,410 6/27/2022
5.0.21 1,546 6/23/2022
5.0.20 1,685 6/20/2022
5.0.19 1,405 6/19/2022
5.0.18 1,495 6/18/2022
5.0.17 1,515 6/14/2022
5.0.16 1,429 6/8/2022
5.0.15 1,453 6/3/2022
5.0.14 1,481 5/25/2022
5.0.13 1,399 5/23/2022
5.0.12 1,625 5/15/2022
5.0.11 1,543 5/10/2022
5.0.10 1,982 5/3/2022
5.0.9 2,289 4/25/2022
5.0.8 1,865 4/18/2022
5.0.7 1,407 4/18/2022
5.0.6 1,631 4/2/2022
5.0.5 1,453 4/2/2022
5.0.4 1,501 3/21/2022
5.0.3 1,426 3/17/2022
5.0.2 1,452 3/15/2022
5.0.1 2,195 2/20/2022
5.0.0 1,483 2/19/2022
5.0.0-rc1 923 2/14/2022
4.0.11 1,532 2/14/2022
4.0.10 1,583 1/27/2022
4.0.9 2,758 1/11/2022
4.0.8 34,563 1/2/2022
4.0.7 1,667 12/23/2021
4.0.6 1,111 12/21/2021
4.0.5 1,321 12/16/2021
4.0.4 1,185 12/11/2021
4.0.3 1,202 12/5/2021
4.0.2 3,029 11/26/2021
4.0.1 7,021 11/24/2021
4.0.0 2,109 11/20/2021
3.1.16 1,878 11/9/2021
3.1.15 1,484 11/6/2021
3.1.14 1,594 10/30/2021
3.1.13 1,271 10/28/2021
3.1.12 3,488 10/15/2021
3.1.11 1,816 10/7/2021
3.1.9 1,439 10/3/2021
3.1.8 1,263 10/2/2021
3.1.7 1,195 9/30/2021
3.1.6 1,514 9/26/2021
3.1.5 1,252 9/24/2021
3.1.4 1,312 9/23/2021
3.1.3 1,257 9/16/2021
3.1.2 1,236 9/15/2021
3.1.1 1,546 9/8/2021
3.1.0 2,391 9/4/2021
3.0.47 2,810 8/21/2021
3.0.46 1,236 8/21/2021
3.0.45 1,446 8/18/2021
3.0.44 1,284 8/12/2021
3.0.43 1,273 8/11/2021
3.0.42 1,408 8/11/2021
3.0.41 1,311 8/2/2021
3.0.40 1,411 8/2/2021
3.0.39 1,532 7/31/2021
3.0.38 1,324 7/29/2021
3.0.37 1,263 7/28/2021
3.0.36 1,105 7/28/2021
3.0.35 1,534 7/22/2021
3.0.34 1,287 7/17/2021
3.0.33 1,238 7/14/2021
3.0.32 1,336 7/12/2021
3.0.31 1,271 7/11/2021
3.0.30 1,281 7/5/2021
3.0.29 1,164 7/3/2021
3.0.28 1,086 7/1/2021
3.0.27 1,420 6/14/2021
3.0.26 1,382 5/28/2021
3.0.26-beta1 1,061 5/30/2021
3.0.25 1,332 5/23/2021
3.0.24 1,273 5/20/2021
3.0.23 1,277 5/4/2021
3.0.22 1,282 4/22/2021
3.0.21 1,260 4/15/2021
3.0.20 1,301 4/10/2021
3.0.19 1,225 4/5/2021
3.0.18 1,317 4/4/2021
3.0.17 1,578 3/28/2021
3.0.16 1,646 3/25/2021
3.0.15 1,244 3/25/2021
3.0.14 1,457 3/16/2021
3.0.13 1,330 3/14/2021
3.0.12 1,299 3/13/2021
3.0.11 1,333 3/11/2021
3.0.10 1,407 3/6/2021
3.0.9 1,344 3/1/2021
3.0.8 1,440 3/1/2021 3.0.8 is deprecated because it has critical bugs.
3.0.7 1,284 2/28/2021
3.0.6 1,172 2/23/2021
3.0.5 1,438 2/22/2021
3.0.4 1,296 2/21/2021
3.0.3 1,159 2/16/2021
3.0.2 1,335 2/13/2021
3.0.1 1,339 2/11/2021
3.0.0 1,174 2/10/2021
2.0.7 1,158 2/6/2021
2.0.6 1,201 2/5/2021
2.0.5 1,175 1/29/2021
2.0.4 1,159 1/27/2021
2.0.3 1,269 1/21/2021
2.0.2 1,202 1/17/2021
2.0.1 1,182 1/10/2021
2.0.0 1,145 1/10/2021
1.1.2 1,275 1/9/2021
1.1.1 1,252 12/31/2020
1.1.0 1,144 12/27/2020
1.0.1 1,333 12/25/2020
1.0.0 1,190 12/25/2020
1.0.0-beta8 1,015 12/23/2020
1.0.0-beta6 1,101 12/18/2020
1.0.0-beta5 1,033 12/10/2020
1.0.0-beta4 1,037 11/26/2020
1.0.0-beta3 1,023 11/15/2020
1.0.0-beta2 1,066 11/14/2020
1.0.0-beta1 1,036 11/9/2020

Update dependencies.