fixed some command groups incorrectly showing up as modules

This commit is contained in:
Toastie (DCS Team) 2024-08-09 14:29:00 +12:00
parent 09a4a69521
commit b491f8d828
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
4 changed files with 14 additions and 5 deletions

View file

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

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>

View file

@ -1,9 +1,11 @@
namespace EllieBot.Modules.Administration.DangerousCommands; using EllieBot.Modules.Administration.DangerousCommands;
namespace EllieBot.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 EllieBot.Modules.Utility; namespace EllieBot.Modules.Utility;
public partial class UtilityCommands public partial class Utility
{ {
public class PromptCommands : EllieModule<IAiAssistantService> [Group]
public partial class PromptCommands : EllieModule<IAiAssistantService>
{ {
[Cmd] [Cmd]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]