mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
fix: .deletewaifus should now work
This commit is contained in:
@@ -16,9 +16,9 @@ public class GamblingCleanupService : IGamblingCleanupService, INService
|
|||||||
public async Task DeleteWaifus()
|
public async Task DeleteWaifus()
|
||||||
{
|
{
|
||||||
await using var ctx = _db.GetDbContext();
|
await using var ctx = _db.GetDbContext();
|
||||||
await ctx.GetTable<WaifuInfo>().DeleteAsync();
|
|
||||||
await ctx.GetTable<WaifuItem>().DeleteAsync();
|
await ctx.GetTable<WaifuItem>().DeleteAsync();
|
||||||
await ctx.GetTable<WaifuUpdate>().DeleteAsync();
|
await ctx.GetTable<WaifuUpdate>().DeleteAsync();
|
||||||
|
await ctx.GetTable<WaifuInfo>().DeleteAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task DeleteWaifu(ulong userId)
|
public async Task DeleteWaifu(ulong userId)
|
||||||
|
Reference in New Issue
Block a user