fix: rename client related classes to be specific to gateway
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
namespace StevesBot.Worker.Discord;
|
||||
|
||||
internal sealed class DiscordClientException : Exception
|
||||
{
|
||||
public DiscordClientException()
|
||||
{
|
||||
}
|
||||
|
||||
public DiscordClientException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public DiscordClientException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace StevesBot.Worker.Discord;
|
||||
|
||||
internal sealed class DiscordGatewayClientException : Exception
|
||||
{
|
||||
public DiscordGatewayClientException()
|
||||
{
|
||||
}
|
||||
|
||||
public DiscordGatewayClientException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public DiscordGatewayClientException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
namespace StevesBot.Worker.Discord;
|
||||
|
||||
internal sealed class DiscordClientOptions
|
||||
internal sealed class DiscordGatewayClientOptions
|
||||
{
|
||||
public string ApiUrl { get; init; } = string.Empty;
|
||||
public string AppToken { get; init; } = string.Empty;
|
||||
Reference in New Issue
Block a user