patch for times on del output being bad. patch for look output not being ordered. patch for user todo list being restricted

This commit is contained in:
2020-10-29 20:25:37 +00:00
parent 0a016ad564
commit 41e5f32374
4 changed files with 7 additions and 4 deletions

View File

@ -404,6 +404,8 @@ WHERE
channels.guild_id = (SELECT id FROM guilds WHERE guild = ?) AND
channels.channel = ? AND
FIND_IN_SET(reminders.enabled, ?)
ORDER BY
reminders.time
LIMIT
?
",
@ -433,6 +435,8 @@ ON
WHERE
channels.channel = ? AND
FIND_IN_SET(reminders.enabled, ?)
ORDER BY
reminders.time
LIMIT
?
",
@ -555,7 +559,7 @@ WHERE
count + 1,
reminder.content,
reminder.channel,
time.format("%Y-%m-%D %H:%M:%S")
time.format("%Y-%m-%d %H:%M:%S")
)
});

View File

@ -380,7 +380,6 @@ impl Execute for Result<SubCommand, ()> {
}
#[command]
#[permission_level(Managed)]
async fn todo_user(ctx: &Context, msg: &Message, args: String) {
let mut split = args.split(' ');