aboutsummaryrefslogtreecommitdiff
path: root/src/framework/mod.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-12 15:26:19 +0200
committeracdenisSK <[email protected]>2017-08-12 15:26:19 +0200
commit125c1b8feff65ed86136ca0c3b75cdfa073aefc3 (patch)
tree36865e2986488377a0a41fa59f506fc8acce1ac1 /src/framework/mod.rs
parentDon't do any other fuzz about private channels if they're already in the cache (diff)
downloadserenity-125c1b8feff65ed86136ca0c3b75cdfa073aefc3.tar.xz
serenity-125c1b8feff65ed86136ca0c3b75cdfa073aefc3.zip
Add support for custom delimeters
Diffstat (limited to 'src/framework/mod.rs')
-rw-r--r--src/framework/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/mod.rs b/src/framework/mod.rs
index 9206040..ce484e4 100644
--- a/src/framework/mod.rs
+++ b/src/framework/mod.rs
@@ -937,7 +937,7 @@ impl ::Framework for BuiltinFramework {
utils::parse_quotes(&content[command_length..])
} else {
content[command_length..]
- .split_whitespace()
+ .split(&self.configuration.delimeter)
.map(|arg| arg.to_owned())
.collect::<Vec<String>>()
}