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:
parent
0a016ad564
commit
41e5f32374
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1175,7 +1175,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.1.7"
|
version = "1.1.8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.1.7"
|
version = "1.1.8"
|
||||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -404,6 +404,8 @@ WHERE
|
|||||||
channels.guild_id = (SELECT id FROM guilds WHERE guild = ?) AND
|
channels.guild_id = (SELECT id FROM guilds WHERE guild = ?) AND
|
||||||
channels.channel = ? AND
|
channels.channel = ? AND
|
||||||
FIND_IN_SET(reminders.enabled, ?)
|
FIND_IN_SET(reminders.enabled, ?)
|
||||||
|
ORDER BY
|
||||||
|
reminders.time
|
||||||
LIMIT
|
LIMIT
|
||||||
?
|
?
|
||||||
",
|
",
|
||||||
@ -433,6 +435,8 @@ ON
|
|||||||
WHERE
|
WHERE
|
||||||
channels.channel = ? AND
|
channels.channel = ? AND
|
||||||
FIND_IN_SET(reminders.enabled, ?)
|
FIND_IN_SET(reminders.enabled, ?)
|
||||||
|
ORDER BY
|
||||||
|
reminders.time
|
||||||
LIMIT
|
LIMIT
|
||||||
?
|
?
|
||||||
",
|
",
|
||||||
@ -555,7 +559,7 @@ WHERE
|
|||||||
count + 1,
|
count + 1,
|
||||||
reminder.content,
|
reminder.content,
|
||||||
reminder.channel,
|
reminder.channel,
|
||||||
time.format("%Y-%m-%D %H:%M:%S")
|
time.format("%Y-%m-%d %H:%M:%S")
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -380,7 +380,6 @@ impl Execute for Result<SubCommand, ()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[command]
|
#[command]
|
||||||
#[permission_level(Managed)]
|
|
||||||
async fn todo_user(ctx: &Context, msg: &Message, args: String) {
|
async fn todo_user(ctx: &Context, msg: &Message, args: String) {
|
||||||
let mut split = args.split(' ');
|
let mut split = args.split(' ');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user