Removed unneeded NadekoSubmodule and NadekoSubmodule<T> classes

This commit is contained in:
Kwoth
2022-02-26 08:11:25 +01:00
parent f5a706f57a
commit 80800673b9
61 changed files with 61 additions and 68 deletions

View File

@@ -8,7 +8,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class AcropobiaCommands : NadekoSubmodule<GamesService>
public partial class AcropobiaCommands : NadekoModule<GamesService>
{
private readonly DiscordSocketClient _client;

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class ChatterBotCommands : NadekoSubmodule<ChatterBotService>
public partial class ChatterBotCommands : NadekoModule<ChatterBotService>
{
private readonly DbService _db;

View File

@@ -5,7 +5,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class HangmanCommands : NadekoSubmodule<IHangmanService>
public partial class HangmanCommands : NadekoModule<IHangmanService>
{
[Cmd]
[RequireContext(ContextType.Guild)]

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class NunchiCommands : NadekoSubmodule<GamesService>
public partial class NunchiCommands : NadekoModule<GamesService>
{
private readonly DiscordSocketClient _client;

View File

@@ -8,7 +8,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class PollCommands : NadekoSubmodule<PollService>
public partial class PollCommands : NadekoModule<PollService>
{
private readonly DiscordSocketClient _client;

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class SpeedTypingCommands : NadekoSubmodule<GamesService>
public partial class SpeedTypingCommands : NadekoModule<GamesService>
{
private readonly GamesService _games;
private readonly DiscordSocketClient _client;

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class TicTacToeCommands : NadekoSubmodule<GamesService>
public partial class TicTacToeCommands : NadekoModule<GamesService>
{
private readonly SemaphoreSlim _sem = new(1, 1);
private readonly DiscordSocketClient _client;

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Games;
public partial class Games
{
[Group]
public partial class TriviaCommands : NadekoSubmodule<GamesService>
public partial class TriviaCommands : NadekoModule<GamesService>
{
private readonly IDataCache _cache;
private readonly ICurrencyService _cs;