Set correct REST user-agent
This commit is contained in:
parent
ba6beab245
commit
b894a9f86e
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
@ -13,7 +12,7 @@ namespace Myriad.Rest
|
|||||||
{
|
{
|
||||||
public class DiscordApiClient
|
public class DiscordApiClient
|
||||||
{
|
{
|
||||||
private const string UserAgent = "Test Discord Library by @Ske#6201";
|
private const string UserAgent = "DiscordBot (https://github.com/xSke/PluralKit/tree/main/Myriad/, vMyriad)";
|
||||||
private readonly BaseRestClient _client;
|
private readonly BaseRestClient _client;
|
||||||
|
|
||||||
public DiscordApiClient(string token, ILogger logger)
|
public DiscordApiClient(string token, ILogger logger)
|
||||||
|
Loading…
Reference in New Issue
Block a user