Restructured the project structure back to the way it was, there's no reasonable way to split the modules

This commit is contained in:
Kwoth
2024-04-26 22:26:24 +00:00
parent 6c9c8bf63e
commit e0819f760c
768 changed files with 192 additions and 1047 deletions

View File

@@ -0,0 +1,19 @@
#nullable disable
namespace NadekoBot;
public sealed record SmartPlainText : SmartText
{
public string Text { get; init; }
public SmartPlainText(string text)
=> Text = text;
public static implicit operator SmartPlainText(string input)
=> new(input);
public static implicit operator string(SmartPlainText input)
=> input.Text;
public override string ToString()
=> Text;
}