FAQ - WOLFApi-TS and Wolfringo
WOLFApi-TS is a TypeScript unofficial WOLF library, developed by Masa.
In this FAQ article, I explain some differences between WOLFApi-TS and Wolfringo, to make Wolfringo easier to use for anyone who used WOLFApi-TS in the past.
Will Wolfringo work with same framework versions as WOLFApi-TS?
No. Not at all.
WOLFApi-TS is designed for TypeScript, while Wolfringo is designed for .NET Languages (C#/VB.NET/etc).
Does Wolfringo have Plugins?
WOLFApi-TS calls them "Plugins", but functionally they are the same as "Commands" in other libraries.
Wolfringo features a full Commands System.
Do Wolfringo Commands allow requiring permission, or work in group only?
WOLFApi-TS allows restricting commands execution with a iPluginOptions
object.
Wolfringo allows doing the same using C# Attributes. Feel free to check Commands Requirements guide for more details.
Does Wolfringo have a class that allows me to easily reply to a message?
WOLFApi-TS's WolfClient has a Messaging
property that allows you to reply to the message.
Wolfringo includes a similar feature, but instead of a property, it has a set of extension methods for IWolfClient. They'll be available in any of your client instances as long as you have Wolfringo.Utilities installed (installed automatically with main Wolfringo metapackage).
private async void OnChatMessage(ChatMessage message)
{
await _client.ReplyTextAsync(message, "Okay, will do!");
}
Check Sender Utility guide for more details.