WIP rehost stuff

This commit is contained in:
barelyprofessional
2026-02-05 23:26:46 -06:00
parent 477c121f72
commit 57e1b9c3b9
3 changed files with 10 additions and 1 deletions

View File

@@ -167,7 +167,6 @@ public class GetRandomImage : ICommand
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
CancellationToken ctx)
{
var logger = LogManager.GetCurrentClassLogger();
await using var db = new ApplicationDbContext();
var key = arguments["key"].Value.ToLower();
var images = db.Images.Where(i => i.Key == key);