diff --git a/Config.cs b/Config.cs index c9e74bc..4987bd4 100644 --- a/Config.cs +++ b/Config.cs @@ -39,6 +39,12 @@ public class Config : IConfig [Description("Duration (in seconds) of how long the kill notification should last.")] public float NotifyHintDuration { get; set; } = 10; + [Description("The name to use for the webhook.")] + public string WebhookName { get; set; } = "Kill Logs"; + + [Description("The URL to use for the webhook avatar.")] + public string WebhookAvatarUrl { get; set; } = "https://via.placeholder.com/150.png"; + public bool Debug { get; set; } = false; } diff --git a/EventHandlers.cs b/EventHandlers.cs index ab9b1df..1f67f84 100644 --- a/EventHandlers.cs +++ b/EventHandlers.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using Exiled.API.Features; -using Exiled.Events.EventArgs; using Exiled.Events.EventArgs.Player; using Exiled.Events.EventArgs.Server; using Exiled.Permissions.Extensions; diff --git a/KillLogs.csproj b/KillLogs.csproj index 6ea8d98..afbad7b 100644 --- a/KillLogs.csproj +++ b/KillLogs.csproj @@ -55,7 +55,7 @@ - +