diff options
| author | acdenisSK <[email protected]> | 2017-08-12 15:26:19 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-08-12 15:26:19 +0200 |
| commit | 125c1b8feff65ed86136ca0c3b75cdfa073aefc3 (patch) | |
| tree | 36865e2986488377a0a41fa59f506fc8acce1ac1 /src/framework/mod.rs | |
| parent | Don't do any other fuzz about private channels if they're already in the cache (diff) | |
| download | serenity-125c1b8feff65ed86136ca0c3b75cdfa073aefc3.tar.xz serenity-125c1b8feff65ed86136ca0c3b75cdfa073aefc3.zip | |
Add support for custom delimeters
Diffstat (limited to 'src/framework/mod.rs')
| -rw-r--r-- | src/framework/mod.rs | 2 |
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>>() } |