From c179ea6c07c9f5acc5f6ed487e9346ffed2493ea Mon Sep 17 00:00:00 2001 From: Toastie <toastie@toastiet0ast.com> Date: Wed, 19 Mar 2025 11:37:48 +1300 Subject: [PATCH] Updated changelog, upped version to 6.0.7 .schl and .schd now show/take kwums --- CHANGELOG.md | 17 +++++++++++++++++ src/EllieBot/EllieBot.csproj | 2 +- .../Utility/Scheduled/ScheduledCommands.cs | 4 ++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3530247..f20c301 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ *a,c,f,r,o* +## [6.0.7] - 18.03.2025 + +### Added + + - Schedule commands! + - `.scha <time> <text>` adds the command to be excuted after the specified amount of time + - `.schd <id>` deletes the command with the specified id + - `.schl` lists your scheduled commands + - `.masskick` added as massban and masskill already exist + - `.xpex` and `.xpexl` are back, as there was no way to exclude specific users or roles with .xprate + +### Fix + + - `.xprate` will now (as exclusion did) respect parent channel xp rates in threads + - the xprate system will first check if a thread channel has a rate set + - if it doesn't it will try to use the parent channel's rate + ## [6.0.6] - 16.03.2025 ### Added diff --git a/src/EllieBot/EllieBot.csproj b/src/EllieBot/EllieBot.csproj index e3e2d15..f8ab19d 100644 --- a/src/EllieBot/EllieBot.csproj +++ b/src/EllieBot/EllieBot.csproj @@ -4,7 +4,7 @@ <Nullable>enable</Nullable> <ImplicitUsings>true</ImplicitUsings> <SatelliteResourceLanguages>en</SatelliteResourceLanguages> - <Version>6.0.6</Version> + <Version>6.0.7</Version> <!-- Output/build --> <RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory> diff --git a/src/EllieBot/Modules/Utility/Scheduled/ScheduledCommands.cs b/src/EllieBot/Modules/Utility/Scheduled/ScheduledCommands.cs index 575d1ac..4bb6f92 100644 --- a/src/EllieBot/Modules/Utility/Scheduled/ScheduledCommands.cs +++ b/src/EllieBot/Modules/Utility/Scheduled/ScheduledCommands.cs @@ -33,7 +33,7 @@ public partial class Utility foreach (var cmd in pageCommands) { eb.AddField( - $"`{GetText(strs.schedule_id)}:` {cmd.Id}", + $"`{GetText(strs.schedule_id)}:` {(kwum)cmd.Id}", $""" `{GetText(strs.schedule_command)}:` {cmd.Text} `{GetText(strs.schedule_when)}:` {TimestampTag.FromDateTime(cmd.When, TimestampTagStyles.Relative)} @@ -47,7 +47,7 @@ public partial class Utility [Cmd] [RequireContext(ContextType.Guild)] - public async Task ScheduleDelete([Leftover] int id) + public async Task ScheduleDelete([Leftover] kwum id) { var success = await scs.DeleteScheduledCommandAsync(id, ctx.Guild.Id, ctx.User.Id);