ModdedMinecraftClub_CrashAlert/src/CommandContext.cs
using Remora.Rest.Core;

namespace Mmcc.CrashAlert;

public class CommandContext
{
    public string BaseDir { get; set; } = null!;
    public int Interval { get; set; }
    public string DiscordWebhookToken { get; set; } = null!;
    public Snowflake DiscordWebhookId { get; set; }
    public string ServerRuntimeDir => Path.Join(BaseDir, "server-runtime");
    public string CrashLogsDir => Path.Join(ServerRuntimeDir, "crash-reports");
}