aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2018-01-05 22:51:49 +0100
committerZeyla Hellyer <[email protected]>2018-01-21 09:29:44 -0800
commit89c27f4ea59b1e4ef7065a15ce1f486cb99426c3 (patch)
treec6c908cbfe2cbfdd77d05bf7b62e4ccc8e579061 /src/framework/standard
parentBump to v0.4.6 (diff)
downloadserenity-89c27f4ea59b1e4ef7065a15ce1f486cb99426c3.tar.xz
serenity-89c27f4ea59b1e4ef7065a15ce1f486cb99426c3.zip
Fix `has_all_requirements` (#245)
This fixes the behaviour of help-commands not showing in dms.
Diffstat (limited to 'src/framework/standard')
-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 6b85239..5906f20 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.