Updated changelog, upped version to 6.0.7
.schl and .schd now show/take kwums
This commit is contained in:
parent
98fddbd9b1
commit
c179ea6c07
3 changed files with 20 additions and 3 deletions
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -2,6 +2,23 @@
|
||||||
|
|
||||||
*a,c,f,r,o*
|
*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
|
## [6.0.6] - 16.03.2025
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>true</ImplicitUsings>
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<Version>6.0.6</Version>
|
<Version>6.0.7</Version>
|
||||||
|
|
||||||
<!-- Output/build -->
|
<!-- Output/build -->
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
|
|
|
@ -33,7 +33,7 @@ public partial class Utility
|
||||||
foreach (var cmd in pageCommands)
|
foreach (var cmd in pageCommands)
|
||||||
{
|
{
|
||||||
eb.AddField(
|
eb.AddField(
|
||||||
$"`{GetText(strs.schedule_id)}:` {cmd.Id}",
|
$"`{GetText(strs.schedule_id)}:` {(kwum)cmd.Id}",
|
||||||
$"""
|
$"""
|
||||||
`{GetText(strs.schedule_command)}:` {cmd.Text}
|
`{GetText(strs.schedule_command)}:` {cmd.Text}
|
||||||
`{GetText(strs.schedule_when)}:` {TimestampTag.FromDateTime(cmd.When, TimestampTagStyles.Relative)}
|
`{GetText(strs.schedule_when)}:` {TimestampTag.FromDateTime(cmd.When, TimestampTagStyles.Relative)}
|
||||||
|
@ -47,7 +47,7 @@ public partial class Utility
|
||||||
|
|
||||||
[Cmd]
|
[Cmd]
|
||||||
[RequireContext(ContextType.Guild)]
|
[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);
|
var success = await scs.DeleteScheduledCommandAsync(id, ctx.Guild.Id, ctx.User.Id);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue