Owop.NET is an asynchronous .NET library for interfacing with OurWorldOfPixels (OWOP). It follows in the footsteps of projects such as OWOP.js and is designed for easily creating OWOP bots.
usingMicrosoft.Extensions.Logging;usingOwop.Client;// Create our client instanceusingvarclient=IOwopClient.Create();// Fires when our client connects to the worldclient.Connected+= args =>{args.World.Logger.LogInformation($"Connected as ID {args.World.ClientPlayer.Id}");};// Fires when another player uses the /tell command on usclient.Tell+=async msg =>{awaitmsg.Player.Tell($"Hello from {msg.World.Name}!");};// Connect to a world!// World name defaults to "main" if none is providedawaitclient.Connect(options:newConnectionOptions{Nickname="MyFirstBot"});