Compare commits

...

3 Commits
5.1.6 ... 5.1.7

Author SHA1 Message Date
Kwoth
c95d1421c6 fix: fixed some command groups incorrectly showing up as modules 2024-08-08 12:15:53 +00:00
Kwoth
f631f16690 fix: fixed one of the migrations which was preventing some bots from starting 2024-08-07 17:45:25 +00:00
Kwoth
d397c2dce8 docs: fixed changelog 2024-08-07 16:46:33 +00:00
5 changed files with 19 additions and 6 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
## [5.1.7] - 08.08.2024
### Fixed
- Fixed some command groups incorrectly showing up as modules
## [5.1.6] - 07.08.2024
### Added
@@ -14,7 +20,7 @@ Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except da
### Fixed
- `.afk` messages can no longer ping, and the response is moved to DMs to avoid
- `.afk` messages can no longer ping, and the response is moved to DMs to avoid abuse
- Possible fix for `.remind` timestamp
### Removed

View File

@@ -49,5 +49,9 @@ left join guildconfigs on reactionrolemessage.guildconfigid = guildconfigs.id;")
builder.Sql($"""
DELETE FROM "DelMsgOnCmdChannel" WHERE "GuildConfigId" is NULL;
""");
builder.Sql("""
DELETE FROM "WarningPunishment" WHERE "GuildConfigId" NOT IN (SELECT "Id" from "GuildConfigs");
""");
}
}

View File

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

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>