Cleanup all interaction commands for .net6

This commit is contained in:
Daan Boerlage 2021-11-07 00:16:11 +01:00
parent 47299dd1de
commit d0bc5810a9
Signed by: daan
GPG key ID: FCE070E1E4956606
7 changed files with 139 additions and 157 deletions

View file

@ -1,6 +1,3 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using Geekbot.Commands.Karma; using Geekbot.Commands.Karma;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;

View file

@ -1,4 +1,3 @@
using System.Threading.Tasks;
using Geekbot.Commands.Karma; using Geekbot.Commands.Karma;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;

View file

@ -1,4 +1,3 @@
using System.Threading.Tasks;
using Geekbot.Commands.Karma; using Geekbot.Commands.Karma;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;

View file

@ -1,4 +1,3 @@
using System.Threading.Tasks;
using Geekbot.Commands.Karma; using Geekbot.Commands.Karma;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;

View file

@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Geekbot.Core.Converters; using Geekbot.Core.Converters;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Highscores; using Geekbot.Core.Highscores;
@ -10,8 +6,8 @@ using Geekbot.Core.Interactions.ApplicationCommand;
using Geekbot.Core.Interactions.Request; using Geekbot.Core.Interactions.Request;
using Geekbot.Core.Interactions.Response; using Geekbot.Core.Interactions.Response;
namespace Geekbot.Web.Commands namespace Geekbot.Web.Commands;
{
public class Rank : InteractionBase public class Rank : InteractionBase
{ {
private readonly DatabaseContext _database; private readonly DatabaseContext _database;
@ -99,4 +95,3 @@ namespace Geekbot.Web.Commands
return Task.FromResult(SimpleResponse(res)); return Task.FromResult(SimpleResponse(res));
} }
} }
}

View file

@ -1,4 +1,3 @@
using System.Threading.Tasks;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;
using Geekbot.Core.Interactions.ApplicationCommand; using Geekbot.Core.Interactions.ApplicationCommand;
@ -7,8 +6,8 @@ using Geekbot.Core.Interactions.Response;
using Geekbot.Core.KvInMemoryStore; using Geekbot.Core.KvInMemoryStore;
using Geekbot.Core.RandomNumberGenerator; using Geekbot.Core.RandomNumberGenerator;
namespace Geekbot.Web.Commands namespace Geekbot.Web.Commands;
{
public class Roll : InteractionBase public class Roll : InteractionBase
{ {
private readonly IKvInMemoryStore _kvInMemoryStore; private readonly IKvInMemoryStore _kvInMemoryStore;
@ -63,4 +62,3 @@ namespace Geekbot.Web.Commands
return SimpleResponse(res); return SimpleResponse(res);
} }
} }
}

View file

@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Threading.Tasks;
using Geekbot.Core.Interactions; using Geekbot.Core.Interactions;
using Geekbot.Core.Interactions.ApplicationCommand; using Geekbot.Core.Interactions.ApplicationCommand;
using Geekbot.Core.Interactions.Embed;
using Geekbot.Core.Interactions.Request; using Geekbot.Core.Interactions.Request;
using Geekbot.Core.Interactions.Response; using Geekbot.Core.Interactions.Response;