Skip to content

Aux/FdgtBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord GitHub Workflow Status Nuget

FdgtBuilder

Fluently create commands for https://github.com/fdgt-apis/api

Builds

Latest builds are pushed automatically to Nuget at https://www.nuget.org/packages/FdgtBuilder

Examples

To output: "bits --bitscount 999999 Woohoo!"

string command = Fdgt.UsingBits()
    .WithAmount(999999)
    .WithMessage("Woohoo!")
    .Build();

With the FdgtBuilder.TwitchLib library

client.SendBitsEvent(bits =>
{
    bits.WithAmount(999999);
    bits.WithMessage("Woohoo!");
});