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:
jude 2020-10-29 20:25:37 +00:00
parent 0a016ad564
commit 41e5f32374
4 changed files with 7 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1175,7 +1175,7 @@ dependencies = [
[[package]]
name = "reminder_rs"
version = "1.1.7"
version = "1.1.8"
dependencies = [
"Inflector",
"async-trait",

View File

@ -1,6 +1,6 @@
[package]
name = "reminder_rs"
version = "1.1.7"
version = "1.1.8"
authors = ["jellywx <judesouthworth@pm.me>"]
edition = "2018"

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(' ');