Added SelfUpdate

This commit is contained in:
2024-07-13 22:33:09 +03:00
parent 349c669284
commit 6599428043
8 changed files with 157 additions and 95 deletions

View File

@@ -12,5 +12,11 @@ namespace DiscordBot
this.Command = command;
this.RunAction = runAction;
}
public StartupAction(string command, Action runAction)
{
this.Command = command;
this.RunAction = (args) => runAction();
}
}
}