fix: fixed some command groups incorrectly showing up as modules

This commit is contained in:
Kwoth
2024-08-08 12:15:34 +00:00
parent f631f16690
commit c95d1421c6
4 changed files with 14 additions and 5 deletions

View File

@@ -2,6 +2,12 @@
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
## [5.1.7] - 08.08.2024
### Fixed
- Fixed some command groups incorrectly showing up as modules
## [5.1.6] - 07.08.2024 ## [5.1.6] - 07.08.2024
### Added ### Added

View File

@@ -1,9 +1,11 @@
namespace NadekoBot.Modules.Administration.DangerousCommands; using NadekoBot.Modules.Administration.DangerousCommands;
namespace NadekoBot.Modules.Administration;
public partial class Administration public partial class Administration
{ {
[Group] [Group]
public class CleanupCommands : CleanupModuleBase public partial class CleanupCommands : CleanupModuleBase
{ {
private readonly ICleanupService _svc; private readonly ICleanupService _svc;

View File

@@ -1,8 +1,9 @@
namespace NadekoBot.Modules.Utility; namespace NadekoBot.Modules.Utility;
public partial class UtilityCommands public partial class Utility
{ {
public class PromptCommands : NadekoModule<IAiAssistantService> [Group]
public partial class PromptCommands : NadekoModule<IAiAssistantService>
{ {
[Cmd] [Cmd]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]

View File

@@ -4,7 +4,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings> <ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>5.1.6</Version> <Version>5.1.7</Version>
<!-- Output/build --> <!-- Output/build -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory> <RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>