diff --git a/DiscordBot/StartupAction.cs b/DiscordBot/StartupAction.cs index 8e7a94a..7f228fc 100644 --- a/DiscordBot/StartupAction.cs +++ b/DiscordBot/StartupAction.cs @@ -1,10 +1,16 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace DiscordBot { - internal record StartupAction(string Command, Action RunAction) : IStartupAction; + internal class StartupAction : IStartupAction + { + public string Command { get; init; } + public Action RunAction { get; init; } + + public StartupAction(string command, Action runAction) + { + this.Command = command; + this.RunAction = runAction; + } + } }