From b491f8d828883964bee1132c859afe9ffd3d243c Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 9 Aug 2024 14:29:00 +1200 Subject: [PATCH] fixed some command groups incorrectly showing up as modules --- CHANGELOG.md | 6 ++++++ src/EllieBot/EllieBot.csproj | 2 +- .../Administration/DangerousCommands/CleanupCommands.cs | 6 ++++-- src/EllieBot/Modules/Utility/Ai/UtilityCommands.cs | 5 +++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2688201..55d60c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/EllieBot/EllieBot.csproj b/src/EllieBot/EllieBot.csproj index ff1c6ec..b67381c 100644 --- a/src/EllieBot/EllieBot.csproj +++ b/src/EllieBot/EllieBot.csproj @@ -4,7 +4,7 @@ enable true en - 5.1.6 + 5.1.7 $(MSBuildProjectDirectory) diff --git a/src/EllieBot/Modules/Administration/DangerousCommands/CleanupCommands.cs b/src/EllieBot/Modules/Administration/DangerousCommands/CleanupCommands.cs index e4e8e76..c49e77b 100644 --- a/src/EllieBot/Modules/Administration/DangerousCommands/CleanupCommands.cs +++ b/src/EllieBot/Modules/Administration/DangerousCommands/CleanupCommands.cs @@ -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; diff --git a/src/EllieBot/Modules/Utility/Ai/UtilityCommands.cs b/src/EllieBot/Modules/Utility/Ai/UtilityCommands.cs index e4f3f04..1fd6cfd 100644 --- a/src/EllieBot/Modules/Utility/Ai/UtilityCommands.cs +++ b/src/EllieBot/Modules/Utility/Ai/UtilityCommands.cs @@ -1,8 +1,9 @@ namespace EllieBot.Modules.Utility; -public partial class UtilityCommands +public partial class Utility { - public class PromptCommands : EllieModule + [Group] + public partial class PromptCommands : EllieModule { [Cmd] [RequireContext(ContextType.Guild)]