mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Removed unneeded NadekoSubmodule and NadekoSubmodule<T> classes
This commit is contained in:
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class AutoAssignRoleCommands : NadekoSubmodule<AutoAssignRoleService>
|
||||
public partial class AutoAssignRoleCommands : NadekoModule<AutoAssignRoleService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -8,7 +8,7 @@ namespace NadekoBot.Modules.Administration
|
||||
{
|
||||
[Group]
|
||||
[OwnerOnly]
|
||||
public partial class DangerousCommands : NadekoSubmodule<DangerousCommandsService>
|
||||
public partial class DangerousCommands : NadekoModule<DangerousCommandsService>
|
||||
{
|
||||
private async Task InternalExecSql(string sql, params object[] reps)
|
||||
{
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class GameVoiceChannelCommands : NadekoSubmodule<GameVoiceChannelService>
|
||||
public partial class GameVoiceChannelCommands : NadekoModule<GameVoiceChannelService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -3,7 +3,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class GreetCommands : NadekoSubmodule<GreetService>
|
||||
public partial class GreetCommands : NadekoModule<GreetService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class LocalizationCommands : NadekoSubmodule
|
||||
public partial class LocalizationCommands : NadekoModule
|
||||
{
|
||||
private static readonly IReadOnlyDictionary<string, string> _supportedLocales = new Dictionary<string, string>
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class MuteCommands : NadekoSubmodule<MuteService>
|
||||
public partial class MuteCommands : NadekoModule<MuteService>
|
||||
{
|
||||
private async Task<bool> VerifyMutePermissions(IGuildUser runnerUser, IGuildUser targetUser)
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class DiscordPermOverrideCommands : NadekoSubmodule<DiscordPermOverrideService>
|
||||
public partial class DiscordPermOverrideCommands : NadekoModule<DiscordPermOverrideService>
|
||||
{
|
||||
// override stats, it should require that the user has managessages guild permission
|
||||
// .po 'stats' add user guild managemessages
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class PlayingRotateCommands : NadekoSubmodule<PlayingRotateService>
|
||||
public partial class PlayingRotateCommands : NadekoModule<PlayingRotateService>
|
||||
{
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
|
@@ -4,7 +4,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class PrefixCommands : NadekoSubmodule
|
||||
public partial class PrefixCommands : NadekoModule
|
||||
{
|
||||
public enum Set
|
||||
{
|
||||
|
@@ -8,7 +8,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class ProtectionCommands : NadekoSubmodule<ProtectionService>
|
||||
public partial class ProtectionCommands : NadekoModule<ProtectionService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class PruneCommands : NadekoSubmodule<PruneService>
|
||||
public partial class PruneCommands : NadekoModule<PruneService>
|
||||
{
|
||||
private static readonly TimeSpan _twoWeeks = TimeSpan.FromDays(14);
|
||||
|
||||
|
@@ -9,7 +9,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
|
||||
public partial class Administration
|
||||
{
|
||||
public partial class RoleCommands : NadekoSubmodule<RoleCommandsService>
|
||||
public partial class RoleCommands : NadekoModule<RoleCommandsService>
|
||||
{
|
||||
public enum Exclude { Excl }
|
||||
|
||||
|
@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class SelfCommands : NadekoSubmodule<SelfService>
|
||||
public partial class SelfCommands : NadekoModule<SelfService>
|
||||
{
|
||||
public enum SettableUserStatus
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class SelfAssignedRolesCommands : NadekoSubmodule<SelfAssignedRolesService>
|
||||
public partial class SelfAssignedRolesCommands : NadekoModule<SelfAssignedRolesService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -7,7 +7,7 @@ public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
[NoPublicBot]
|
||||
public partial class LogCommands : NadekoSubmodule<ILogCommandService>
|
||||
public partial class LogCommands : NadekoModule<ILogCommandService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class TimeZoneCommands : NadekoSubmodule<GuildTimezoneService>
|
||||
public partial class TimeZoneCommands : NadekoModule<GuildTimezoneService>
|
||||
{
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
|
@@ -11,7 +11,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class UserPunishCommands : NadekoSubmodule<UserPunishService>
|
||||
public partial class UserPunishCommands : NadekoModule<UserPunishService>
|
||||
{
|
||||
public enum AddRole
|
||||
{
|
||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Administration;
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
public partial class VcRoleCommands : NadekoSubmodule<VcRoleService>
|
||||
public partial class VcRoleCommands : NadekoModule<VcRoleService>
|
||||
{
|
||||
[Cmd]
|
||||
[UserPerm(GuildPerm.ManageRoles)]
|
||||
|
Reference in New Issue
Block a user