aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/mod.rs
diff options
context:
space:
mode:
authorPerry Fraser <[email protected]>2018-10-01 16:38:07 -0400
committerzeyla <[email protected]>2018-10-01 13:38:07 -0700
commit9865d9ccd727a7f6c5c9a6094b87af0f6353831b (patch)
treeb9d13d1ff517347da19d198b257481fffbbb68db /src/framework/standard/mod.rs
parentChange DOS line endings to UNIX line endings (diff)
downloadserenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.tar.xz
serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.zip
A bunch of typo fixes (#404)
Diffstat (limited to 'src/framework/standard/mod.rs')
-rw-r--r--src/framework/standard/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/standard/mod.rs b/src/framework/standard/mod.rs
index aa32d11..7e99a0f 100644
--- a/src/framework/standard/mod.rs
+++ b/src/framework/standard/mod.rs
@@ -951,7 +951,7 @@ impl StandardFramework {
/// Sets what code should be executed when a user sends `(prefix)help`.
///
- /// If a command named `help` was set with [`command`], then this takes precendence first.
+ /// If a command named `help` was set with [`command`], then this takes precedence first.
///
/// [`command`]: #method.command
pub fn help(mut self, f: HelpFunction) -> Self {
@@ -1238,7 +1238,7 @@ pub fn has_correct_roles(cmd: &Arc<CommandOptions>, guild: &Guild, member: &Memb
/// The command can't be used in the current channel (as in `DM only` or `guild only`).
#[derive(PartialEq, Debug)]
pub enum HelpBehaviour {
- /// Strikes a command by applying `~~{comand_name}~~`.
+ /// Strikes a command by applying `~~{command_name}~~`.
Strike,
/// Does not list a command in the help-menu.
Hide,