diff --git a/Newsbot.Collector.Domain/Interfaces/IDiscordNotificationClient.cs b/Newsbot.Collector.Domain/Interfaces/IDiscordNotificationClient.cs index 864d6a3..57d99ef 100644 --- a/Newsbot.Collector.Domain/Interfaces/IDiscordNotificationClient.cs +++ b/Newsbot.Collector.Domain/Interfaces/IDiscordNotificationClient.cs @@ -2,7 +2,7 @@ using Newsbot.Collector.Domain.Models; namespace Newsbot.Collector.Domain.Interfaces; -public interface IDiscordNotificatioClient +public interface IDiscordClient { void SendMessage(DiscordMessage payload); } \ No newline at end of file diff --git a/Newsbot.Collector.Services/Notifications/Discord/DiscordWebhookClient.cs b/Newsbot.Collector.Services/Notifications/Discord/DiscordClient.cs similarity index 90% rename from Newsbot.Collector.Services/Notifications/Discord/DiscordWebhookClient.cs rename to Newsbot.Collector.Services/Notifications/Discord/DiscordClient.cs index 8559a71..b8f7564 100644 --- a/Newsbot.Collector.Services/Notifications/Discord/DiscordWebhookClient.cs +++ b/Newsbot.Collector.Services/Notifications/Discord/DiscordClient.cs @@ -6,16 +6,16 @@ using Newtonsoft.Json; namespace Newsbot.Collector.Services.Notifications.Discord; -public class DiscordWebhookClient : IDiscordNotificatioClient +public class DiscordClient : IDiscordClient { private readonly string[] _webhooks; - public DiscordWebhookClient(string webhook) + public DiscordClient(string webhook) { _webhooks = new[] { webhook }; } - public DiscordWebhookClient(string[] webhooks) + public DiscordClient(string[] webhooks) { _webhooks = webhooks; }