aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2017-11-04 19:51:40 +0100
committeralex <[email protected]>2017-11-04 19:51:40 +0100
commit114e43a3d0079072593588ad7b2de9f8588e041d (patch)
tree7ea7d73a4d1a57e1718c04e1bddc5f0d0e20ba75 /src/framework
parentFix Client's framework set (diff)
downloadserenity-114e43a3d0079072593588ad7b2de9f8588e041d.tar.xz
serenity-114e43a3d0079072593588ad7b2de9f8588e041d.zip
Fix Help-Commands to list all eligible commands in DMs. (#212)
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/help_commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/help_commands.rs b/src/framework/standard/help_commands.rs
index 56d096e..8cbcb21 100644
--- a/src/framework/standard/help_commands.rs
+++ b/src/framework/standard/help_commands.rs
@@ -69,7 +69,7 @@ pub fn has_all_requirements(cmd: &Command, msg: &Message) -> bool {
}
}
}
- false
+ !cmd.guild_only
}
/// Posts an embed showing each individual command group and its commands.