Updated changelog, upped version to 6.0.7

.schl and .schd now show/take kwums
This commit is contained in:
Toastie 2025-03-19 11:37:48 +13:00
parent 98fddbd9b1
commit c179ea6c07
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
3 changed files with 20 additions and 3 deletions
CHANGELOG.md
src/EllieBot
EllieBot.csproj
Modules/Utility/Scheduled

View file

@ -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

View file

@ -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>

View file

@ -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);