mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-02 21:43:08 +00:00
37 lines
807 B
C#
37 lines
807 B
C#
using Core;
|
|
using KubernetesWorkflow;
|
|
|
|
namespace CodexDiscordBotPlugin
|
|
{
|
|
public class CodexDiscordBotPlugin : IProjectPlugin, IHasLogPrefix, IHasMetadata
|
|
{
|
|
private readonly IPluginTools tools;
|
|
|
|
public CodexDiscordBotPlugin(IPluginTools tools)
|
|
{
|
|
this.tools = tools;
|
|
}
|
|
|
|
public string LogPrefix => "(DiscordBot) ";
|
|
|
|
public void Announce()
|
|
{
|
|
tools.GetLog().Log($"Codex DiscordBot (BiblioTech) loaded.");
|
|
}
|
|
|
|
public void AddMetadata(IAddMetadata metadata)
|
|
{
|
|
metadata.Add("codexdiscordbotid", "todo");
|
|
}
|
|
|
|
public void Decommission()
|
|
{
|
|
}
|
|
|
|
public RunningContainer Deploy()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|