mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-02 21:43:08 +00:00
24 lines
665 B
C#
24 lines
665 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);
|
|
}
|
|
|
|
public static RunningContainers DeployRewarderBot(this CoreInterface ci, RewarderBotStartupConfig config)
|
|
{
|
|
return Plugin(ci).DeployRewarder(config);
|
|
}
|
|
|
|
private static CodexDiscordBotPlugin Plugin(CoreInterface ci)
|
|
{
|
|
return ci.GetPlugin<CodexDiscordBotPlugin>();
|
|
}
|
|
}
|
|
}
|