script-splitter/Program.cs

25 lines
608 B
C#
Raw Normal View History

2024-07-11 00:27:08 -04:00
using System;
2024-07-11 02:37:27 -04:00
using franz;
2024-07-11 00:27:08 -04:00
2024-07-11 02:37:27 -04:00
namespace PlaceholderVO
2024-07-11 00:27:08 -04:00
{
internal class Program
{
2024-07-11 02:37:27 -04:00
public static Telefranz telefranz;
static async Task Main(string[] args)
2024-07-11 00:27:08 -04:00
{
2024-07-11 02:37:27 -04:00
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());
2024-07-11 00:27:08 -04:00
Console.WriteLine("Hello World!");
2024-07-11 02:37:27 -04:00
await Task.Delay(-1);
2024-07-11 00:27:08 -04:00
}
}
2024-07-11 02:37:27 -04:00
}