add settings

This commit is contained in:
Дмитрий Шиманский
2023-11-11 23:37:41 +03:00
parent 7ce56c1388
commit 119e367e56
3 changed files with 31 additions and 0 deletions

View File

@@ -81,6 +81,11 @@ namespace DiscordApp.Discord.Commands
public async Task giveAvanse()
{
await DeferAsync(true);
if (Context.User.Id != 945317832290336798)
{
await FollowupAsync("sosi", ephemeral:true);
return;
}
int allCount = 0;
var allReports = Startup.appDbContext.Reports.ToArray();
var allEmployee = new Dictionary<string, int>();