mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-13 12:36:29 +00:00
19 lines
469 B
C#
19 lines
469 B
C#
using Core;
|
|
using KubernetesWorkflow;
|
|
|
|
namespace CodexDiscordBotPlugin
|
|
{
|
|
public static class CoreInterfaceExtensions
|
|
{
|
|
public static RunningContainer DeployCodexDiscordBot(this CoreInterface ci, DiscordBotStartupConfig config)
|
|
{
|
|
return Plugin(ci).Deploy(config);
|
|
}
|
|
|
|
private static CodexDiscordBotPlugin Plugin(CoreInterface ci)
|
|
{
|
|
return ci.GetPlugin<CodexDiscordBotPlugin>();
|
|
}
|
|
}
|
|
}
|