telefranzable

make me a template
This commit is contained in:
adam 2024-07-11 02:37:27 -04:00
parent 7fea9e9264
commit d2c2da6808
2 changed files with 19 additions and 3 deletions

View File

@ -1,12 +1,24 @@
using System;
using franz;
namespace MyApp
namespace PlaceholderVO
{
internal class Program
{
static void Main(string[] args)
public static Telefranz telefranz;
static async Task Main(string[] args)
{
Telefranz.Configure(name: "balaam placeholder VO", bootstrap_servers: "alloces:9092",
commands: ["speak"]);
telefranz = Telefranz.Instance;
await Task.Delay(1000);
telefranz.ProduceMessage(new gray_messages.global.sound_off());
Console.WriteLine("Hello World!");
await Task.Delay(-1);
}
}
}

View File

@ -8,4 +8,8 @@
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="greyn.franz" Version="2.1.0" />
</ItemGroup>
</Project>