fixed some command groups incorrectly showing up as modules

This commit is contained in:
Toastie 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
## [5.1.7] - 09.08.2024
### Fixed
- Fixed some command groups incorrectly showing up as modules
## [5.1.6] - 08.08.2024
### Added

View file

@ -4,7 +4,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>5.1.6</Version>
<Version>5.1.7</Version>
<!-- Output/build -->
<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
{
[Group]
public class CleanupCommands : CleanupModuleBase
public partial class CleanupCommands : CleanupModuleBase
{
private readonly ICleanupService _svc;

View file

@ -1,8 +1,9 @@
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]
[RequireContext(ContextType.Guild)]