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
src/EllieBot
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue