Remora.Discord.Hosting 7.0.0

Prefix Reserved
dotnet add package Remora.Discord.Hosting --version 7.0.0
                    
NuGet\Install-Package Remora.Discord.Hosting -Version 7.0.0
                    
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.0" />
                    
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.0" />
                    
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.0
                    
#r "nuget: Remora.Discord.Hosting, 7.0.0"
                    
#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.
#addin nuget:?package=Remora.Discord.Hosting&version=7.0.0
                    
Install Remora.Discord.Hosting as a Cake Addin
#tool nuget:?package=Remora.Discord.Hosting&version=7.0.0
                    
Install Remora.Discord.Hosting 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. 
.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.0 12,862 2/13/2025
6.0.10 45,049 5/28/2024
6.0.9 25,554 2/5/2024
6.0.8 14,196 11/14/2023
6.0.7 28,786 7/24/2023
6.0.6 18,245 5/11/2023
6.0.5 1,370 3/20/2023
6.0.4 1,708 1/19/2023
6.0.3 1,132 1/10/2023
6.0.2 1,486 12/28/2022
6.0.1 1,700 12/10/2022
6.0.0 1,518 10/30/2022
5.0.28 16,938 9/2/2022
5.0.27 1,523 8/19/2022
5.0.26 1,580 7/28/2022
5.0.25 1,395 7/26/2022
5.0.24 1,359 7/26/2022
5.0.23 2,397 6/29/2022
5.0.22 1,339 6/27/2022
5.0.21 1,467 6/23/2022
5.0.20 1,604 6/20/2022
5.0.19 1,332 6/19/2022
5.0.18 1,419 6/18/2022
5.0.17 1,444 6/14/2022
5.0.16 1,357 6/8/2022
5.0.15 1,381 6/3/2022
5.0.14 1,397 5/25/2022
5.0.13 1,320 5/23/2022
5.0.12 1,544 5/15/2022
5.0.11 1,452 5/10/2022
5.0.10 1,914 5/3/2022
5.0.9 2,204 4/25/2022
5.0.8 1,788 4/18/2022
5.0.7 1,330 4/18/2022
5.0.6 1,556 4/2/2022
5.0.5 1,387 4/2/2022
5.0.4 1,424 3/21/2022
5.0.3 1,345 3/17/2022
5.0.2 1,375 3/15/2022
5.0.1 2,115 2/20/2022
5.0.0 1,402 2/19/2022
5.0.0-rc1 849 2/14/2022
4.0.11 1,452 2/14/2022
4.0.10 1,512 1/27/2022
4.0.9 2,670 1/11/2022
4.0.8 34,476 1/2/2022
4.0.7 1,581 12/23/2021
4.0.6 1,030 12/21/2021
4.0.5 1,241 12/16/2021
4.0.4 1,110 12/11/2021
4.0.3 1,135 12/5/2021
4.0.2 2,945 11/26/2021
4.0.1 6,944 11/24/2021
4.0.0 2,035 11/20/2021
3.1.16 1,807 11/9/2021
3.1.15 1,417 11/6/2021
3.1.14 1,516 10/30/2021
3.1.13 1,195 10/28/2021
3.1.12 3,409 10/15/2021
3.1.11 1,725 10/7/2021
3.1.9 1,354 10/3/2021
3.1.8 1,183 10/2/2021
3.1.7 1,113 9/30/2021
3.1.6 1,441 9/26/2021
3.1.5 1,181 9/24/2021
3.1.4 1,235 9/23/2021
3.1.3 1,189 9/16/2021
3.1.2 1,159 9/15/2021
3.1.1 1,274 9/8/2021
3.1.0 2,307 9/4/2021
3.0.47 2,720 8/21/2021
3.0.46 1,153 8/21/2021
3.0.45 1,367 8/18/2021
3.0.44 1,204 8/12/2021
3.0.43 1,185 8/11/2021
3.0.42 1,327 8/11/2021
3.0.41 1,235 8/2/2021
3.0.40 1,327 8/2/2021
3.0.39 1,451 7/31/2021
3.0.38 1,244 7/29/2021
3.0.37 1,176 7/28/2021
3.0.36 1,034 7/28/2021
3.0.35 1,452 7/22/2021
3.0.34 1,213 7/17/2021
3.0.33 1,158 7/14/2021
3.0.32 1,272 7/12/2021
3.0.31 1,191 7/11/2021
3.0.30 1,200 7/5/2021
3.0.29 1,076 7/3/2021
3.0.28 1,006 7/1/2021
3.0.27 1,352 6/14/2021
3.0.26 1,305 5/28/2021
3.0.26-beta1 973 5/30/2021
3.0.25 1,249 5/23/2021
3.0.24 1,205 5/20/2021
3.0.23 1,190 5/4/2021
3.0.22 1,198 4/22/2021
3.0.21 1,182 4/15/2021
3.0.20 1,225 4/10/2021
3.0.19 1,144 4/5/2021
3.0.18 1,233 4/4/2021
3.0.17 1,498 3/28/2021
3.0.16 1,566 3/25/2021
3.0.15 1,151 3/25/2021
3.0.14 1,383 3/16/2021
3.0.13 1,245 3/14/2021
3.0.12 1,217 3/13/2021
3.0.11 1,245 3/11/2021
3.0.10 1,325 3/6/2021
3.0.9 1,249 3/1/2021
3.0.8 1,322 3/1/2021 3.0.8 is deprecated because it has critical bugs.
3.0.7 1,210 2/28/2021
3.0.6 1,094 2/23/2021
3.0.5 1,352 2/22/2021
3.0.4 1,210 2/21/2021
3.0.3 1,069 2/16/2021
3.0.2 1,261 2/13/2021
3.0.1 1,250 2/11/2021
3.0.0 1,101 2/10/2021
2.0.7 1,076 2/6/2021
2.0.6 1,116 2/5/2021
2.0.5 1,103 1/29/2021
2.0.4 1,077 1/27/2021
2.0.3 1,169 1/21/2021
2.0.2 1,114 1/17/2021
2.0.1 1,099 1/10/2021
2.0.0 1,058 1/10/2021
1.1.2 1,183 1/9/2021
1.1.1 1,171 12/31/2020
1.1.0 1,060 12/27/2020
1.0.1 1,239 12/25/2020
1.0.0 1,105 12/25/2020
1.0.0-beta8 932 12/23/2020
1.0.0-beta6 1,009 12/18/2020
1.0.0-beta5 938 12/10/2020
1.0.0-beta4 958 11/26/2020
1.0.0-beta3 940 11/15/2020
1.0.0-beta2 984 11/14/2020
1.0.0-beta1 952 11/9/2020

BREAKING: Update target frameworks.
           BREAKING: Update dependencies.
           BREAKING: Catch-up on all discord features...