add notary module, utilities and server online in bot`s game

This commit is contained in:
Дмитрий Шиманский
2023-11-11 18:08:33 +03:00
parent dde8b38520
commit 7ce56c1388
12 changed files with 514 additions and 27 deletions

View File

@@ -29,12 +29,6 @@ namespace DiscordApp.Controllers
})
.ToArray();
}
public static async Task<bool> isAllowed(IServiceProvider services)
{
var context = services.GetRequiredService<ActionContext>();
if (context.HttpContext.Request.Cookies["geff"] == "ok") { return true; }
else { return false; }
}
}
}