2
0
mirror of synced 2025-01-13 01:54:07 +00:00
2023-11-12 10:07:23 +01:00

19 lines
476 B
C#

using Core;
using KubernetesWorkflow.Types;
namespace CodexDiscordBotPlugin
{
public static class CoreInterfaceExtensions
{
public static RunningContainers DeployCodexDiscordBot(this CoreInterface ci, DiscordBotStartupConfig config)
{
return Plugin(ci).Deploy(config);
}
private static CodexDiscordBotPlugin Plugin(CoreInterface ci)
{
return ci.GetPlugin<CodexDiscordBotPlugin>();
}
}
}