Set correct REST user-agent

This commit is contained in:
spiral 2021-05-26 23:09:43 +01:00
parent ba6beab245
commit b894a9f86e
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -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)