1234567891011121314151617181920212223 |
- using System.Threading.Tasks;
- using MafiaTelegramBot.Controllers;
- using MafiaTelegramBot.Models;
- using MafiaTelegramBot.Resources;
- using Telegram.Bot.Types;
- using User = MafiaTelegramBot.DataBase.User;
- namespace MafiaTelegramBot.Game.GameRoles
- {
- public abstract class Role
- {
- protected abstract Roles RoleKey { get; }
- protected async Task<Message> DayAction(User user)
- {
- var room = await RoomController.GetRoom(user.GetRoomKey());
- //TODO user telling anything in one minute and vote
- return await Bot.SendWithMarkdown2(user.ChatId, strings.unexpected_error);
- }
- protected abstract Task<Message> NightAction(User user);
- }
- }
|