DonRole.cs 664 B

123456789101112131415161718192021
  1. using System.Threading.Tasks;
  2. using MafiaTelegramBot.Controllers;
  3. using MafiaTelegramBot.Models;
  4. using MafiaTelegramBot.Resources;
  5. using Telegram.Bot.Types;
  6. using User = MafiaTelegramBot.DataBase.User;
  7. namespace MafiaTelegramBot.Game.GameRoles
  8. {
  9. public class DonRole : Role
  10. {
  11. protected override Roles RoleKey => Roles.Don;
  12. protected override async Task<Message> NightAction(User user)
  13. {
  14. var room = await RoomController.GetRoom(user.GetRoomKey());
  15. //TODO this is what user can do in night phase
  16. return await Bot.SendWithMarkdown2(user.ChatId, strings.unexpected_error);
  17. }
  18. }
  19. }