mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 12:29:31 +02:00
add notary module, utilities and server online in bot`s game
This commit is contained in:
@@ -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; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user