aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-11-03 13:39:33 +0100
committeracdenisSK <[email protected]>2017-11-03 13:39:33 +0100
commit8c83866748bf7bf339df9a234c3297c8008ffa46 (patch)
tree5ea20e48e724f788558f0f79fbc5decca9d99f24 /src/framework
parentFix framework Args tests (diff)
downloadserenity-8c83866748bf7bf339df9a234c3297c8008ffa46.tar.xz
serenity-8c83866748bf7bf339df9a234c3297c8008ffa46.zip
Make `Command::aliases` public
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/command.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs
index 5910684..797bed5 100644
--- a/src/framework/standard/command.rs
+++ b/src/framework/standard/command.rs
@@ -85,7 +85,8 @@ pub struct Command {
pub guild_only: bool,
/// Whether command can only be used by owners or not.
pub owners_only: bool,
- pub(crate) aliases: Vec<String>,
+ /// Other names that can be used to call this command instead.
+ pub aliases: Vec<String>,
}
impl Command {