Обновление статуса переехало в отдельный класс, в реакции на сообщение только известный набор статусов возвращаем

This commit is contained in:
ftc
2024-01-20 19:14:35 +03:00
parent 9a005df9c7
commit 15bf517434
4 changed files with 97 additions and 10 deletions
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace ZaoBot.Problems
{
public enum Status
{
UNKNOWN,
OK,
PROBLEM
}
class Item
{
public string label;
public string name;
public Status status;
}
}