nadekobot almost builds

This commit is contained in:
Kwoth
2023-03-16 02:41:40 +01:00
parent 7a60868632
commit db2328cdaf
170 changed files with 397 additions and 202 deletions

View File

@@ -0,0 +1,23 @@
#nullable disable
namespace NadekoBot.Common.TypeReaders;
public class CommandOrExprInfo
{
public enum Type
{
Normal,
Custom
}
public string Name { get; set; }
public Type CmdType { get; set; }
public bool IsCustom
=> CmdType == Type.Custom;
public CommandOrExprInfo(string input, Type type)
{
Name = input;
CmdType = type;
}
}