[entertainment] shutdown roll handler

This commit is contained in:
Andriy
2022-12-16 16:35:45 +02:00
parent ffffe2a48a
commit 2cfcddf44d
+2 -2
View File
@@ -17,7 +17,7 @@ public class Roll : CommonHandler
private readonly IReputation _reputation;
private readonly UserService _userService;
[Command(InChat.Public, "roll", CommandParseMode.Both)]
// [Command(InChat.Public, "roll", CommandParseMode.Both)]
public async Task HandleRoll()
{
var cdOption = await Db.UserValues.FindOrCreateOption(Chat.Id, From.Id, "rollNextUse");
@@ -38,7 +38,7 @@ public class Roll : CommonHandler
Db.AddOrUpdate(cdOption);
}
[Command(InChat.Public, "reset_roll", CommandParseMode.Both)]
// [Command(InChat.Public, "reset_roll", CommandParseMode.Both)]
public async Task HandleResetRoll()
{
if (!_userService.IsUserSuper(From))