fix for guilds not being cached
This commit is contained in:
parent
ff56ab3c83
commit
e9e321ebb1
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1309,7 +1309,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.4.5-rc.1"
|
version = "1.4.5-rc.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.4.5-rc.1"
|
version = "1.4.5-rc.2"
|
||||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -398,6 +398,8 @@ impl Framework for RegexFramework {
|
|||||||
if command.check_permissions(&ctx, &guild, &member).await {
|
if command.check_permissions(&ctx, &guild, &member).await {
|
||||||
dbg!(command.name);
|
dbg!(command.name);
|
||||||
|
|
||||||
|
GuildData::from_guild(guild, &pool).await;
|
||||||
|
|
||||||
(command.func)(&ctx, &msg, args).await;
|
(command.func)(&ctx, &msg, args).await;
|
||||||
} else if command.required_perms == PermissionLevel::Restricted
|
} else if command.required_perms == PermissionLevel::Restricted
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user