reverted previous changes. dependency upgrade

This commit is contained in:
2021-01-13 19:19:55 +00:00
parent e866171ea7
commit 702743c108
6 changed files with 301 additions and 411 deletions

View File

@@ -399,6 +399,8 @@ impl Framework for RegexFramework {
let member = guild.member(&ctx, &msg.author).await.unwrap();
if command.check_permissions(&ctx, &guild, &member).await {
dbg!(command.name);
(command.func)(&ctx, &msg, args).await;
} else if command.required_perms == PermissionLevel::Restricted
{
@@ -474,6 +476,8 @@ impl Framework for RegexFramework {
.unwrap_or("")
.to_string();
dbg!(command.name);
(command.func)(&ctx, &msg, args).await;
}
}