Remora.Discord.Rest 50.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Remora.Discord.Rest --version 50.0.0
                    
NuGet\Install-Package Remora.Discord.Rest -Version 50.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.Rest" Version="50.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Remora.Discord.Rest" Version="50.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Remora.Discord.Rest" />
                    
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.Rest --version 50.0.0
                    
#r "nuget: Remora.Discord.Rest, 50.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.
#:package Remora.Discord.Rest@50.0.0
                    
#: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.Rest&version=50.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Remora.Discord.Rest&version=50.0.0
                    
Install as a Cake Tool

Remora.Discord.Rest

This package contains an implementations of Discord's REST API, complete with client-side data validation checks and full rate limiting support.

The primary goal of this project is to provide a concrete, rules-compliant implementation of Discord's REST API endpoints, mapping them to appropriately accessible asynchronous tasks and services.

Structure

The library mostly mirrors Remora.Discord.API.Abstractions in structure, maintaining an implementation of each corresponding REST API interface. The implementations are registered as transient services, available to you via dependency injection.

Usage

To enable injection of the REST API services, add them to your service container by way of the AddDiscordRest extension method.

services.AddDiscordRest(serviceProvider => GetTokenFromSomewhere(serviceProvider));

Two things to note:

  • You are not required to call any other methods from dependency libraries (such as Remora.Discord.API) - this call takes care of all transitive dependencies itself.
  • You must, at this point, provide a way to access your bot's token in plain text. This access only happens after the container is constructed, and an API instance is requested, so you have access to the built container.

After this point, you may inject any of the IDiscordRest[...]API services into your own services.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 was computed.  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.Rest:

Package Downloads
Remora.Discord.Gateway

Remora.Discord's implementation of a Discord gateway client

Remora.Discord.Unstable

Unstable or experimental features of Remora.Discord.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
53.0.0 560 5/24/2025
52.0.0 14,757 2/13/2025
51.0.0 47,548 5/28/2024
50.0.0 26,064 2/5/2024
49.0.0 47,713 11/14/2023
48.0.0 30,097 7/24/2023
47.1.0 19,509 5/11/2023
47.0.0 3,068 3/20/2023
46.0.0 3,747 1/19/2023
45.0.1 3,141 1/10/2023
45.0.0 3,522 12/28/2022
44.0.1 6,274 12/10/2022
44.0.0 4,008 10/30/2022
43.0.0 20,773 9/2/2022
42.0.0 4,115 8/19/2022
41.0.1 6,784 7/26/2022
41.0.0 3,741 7/26/2022
40.0.4 7,742 6/29/2022
40.0.3 3,776 6/27/2022
40.0.2 4,033 6/23/2022
40.0.1 4,827 6/20/2022
40.0.0 3,789 6/19/2022
39.0.1 3,787 6/18/2022
39.0.0 3,832 6/14/2022
38.0.1 3,801 6/8/2022
38.0.0 3,847 6/3/2022
37.0.0 3,876 5/25/2022
36.0.0 6,770 5/15/2022
35.0.1 3,969 5/10/2022
35.0.0 6,138 5/3/2022
34.0.0 7,262 4/25/2022
33.0.0 4,623 4/18/2022
32.0.0 8,074 4/2/2022
31.0.0 9,314 3/15/2022
30.0.1 5,085 2/20/2022
30.0.0 3,647 2/19/2022
30.0.0-rc1 1,300 2/14/2022
29.0.0 3,704 2/14/2022
28.0.0 3,970 1/27/2022
27.1.0 5,679 1/11/2022
27.0.3 35,836 1/2/2022
27.0.2 3,491 12/23/2021
27.0.1 1,758 12/21/2021
27.0.0 1,959 12/16/2021
26.0.0 1,829 12/11/2021
25.0.3 2,026 12/5/2021
25.0.2 3,727 11/26/2021
25.0.1 7,563 11/24/2021
25.0.0 2,866 11/20/2021
24.0.3 2,539 11/9/2021
24.0.2 2,368 11/6/2021
24.0.1 2,736 10/30/2021
24.0.0 2,041 10/28/2021
23.0.8 4,275 10/15/2021
23.0.7 2,621 10/7/2021
23.0.5 2,172 10/3/2021
23.0.4 2,023 10/2/2021
23.0.3 1,926 9/30/2021
23.0.2 2,597 9/26/2021
23.0.1 1,996 9/24/2021
23.0.0 2,015 9/23/2021
22.0.5 2,081 9/16/2021
22.0.4 2,113 9/15/2021
22.0.3 2,360 9/8/2021
22.0.2 3,411 9/4/2021
22.0.1 3,728 8/21/2021
22.0.0 2,209 8/18/2021
21.0.2 3,186 8/12/2021
21.0.1 1,656 8/11/2021
21.0.0 2,406 8/11/2021
20.1.2 591 8/9/2021
20.1.1 3,864 8/2/2021
20.1.0 2,488 7/31/2021
20.0.0 2,083 7/29/2021
19.0.2 2,063 7/28/2021
19.0.1 1,935 7/28/2021
19.0.0 2,423 7/22/2021
18.0.0 1,940 7/17/2021
17.1.1 1,885 7/14/2021
17.1.0 1,995 7/12/2021
17.0.0 1,903 7/11/2021
16.0.1 1,955 7/5/2021
16.0.0 1,736 7/3/2021
15.0.0 1,809 7/1/2021
14.0.0 2,102 6/14/2021
13.0.0 1,042 6/10/2021
13.0.0-beta2 1,225 5/30/2021
13.0.0-beta1 1,587 5/28/2021
12.0.0 2,955 5/20/2021
11.0.0 2,339 5/4/2021
10.0.0 1,949 4/22/2021
9.0.1 1,883 4/15/2021
9.0.0 1,903 4/10/2021
8.0.0 2,095 4/5/2021
7.0.5 1,997 4/4/2021
7.0.4 2,556 3/28/2021
7.0.3 2,836 3/25/2021
7.0.2 3,413 3/16/2021
7.0.1 1,884 3/14/2021
7.0.0 3,047 3/11/2021
6.0.8 2,134 3/6/2021
6.0.7 1,979 3/1/2021
6.0.6 3,196 2/28/2021
6.0.5 3,371 2/22/2021
6.0.4 1,870 2/21/2021
6.0.3 1,588 2/16/2021
6.0.2 1,939 2/13/2021
6.0.1 2,217 2/11/2021
6.0.0 1,923 2/10/2021
5.0.1 1,712 2/6/2021
5.0.0 1,746 2/5/2021
4.0.2 1,714 1/29/2021
4.0.1 1,672 1/27/2021
4.0.0 2,058 1/21/2021
3.0.0 1,944 1/17/2021
2.0.1 1,758 1/10/2021
2.0.0 1,909 1/10/2021
1.1.2 1,865 1/9/2021
1.1.1 2,027 12/31/2020
1.1.0 1,894 12/27/2020
1.0.0 3,446 12/25/2020
1.0.0-beta8 1,103 12/18/2020
1.0.0-beta7 1,132 12/10/2020
1.0.0-beta6 1,155 11/26/2020
1.0.0-beta5 1,741 11/14/2020
1.0.0-beta4 1,352 11/8/2020
1.0.0-beta3 528 10/17/2020
1.0.0-beta2 523 10/6/2020
1.0.0-beta10 1,099 12/23/2020
1.0.0-beta1 518 10/6/2020
1.0.0-alpha1 515 9/27/2020

Update dependencies.
           BREAKING: Implement applied tags for webhooks.