diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-18 08:33:27 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-18 08:33:27 -0800 |
| commit | 9232b8f065deb4637a74e7f85ab617bb527c51be (patch) | |
| tree | 9c2cc2bd6b6238a1bd039e9ad4900e8705197af2 /src/framework | |
| parent | Fix travis' cache by chmoding $HOME/.cargo (#252) (diff) | |
| download | serenity-9232b8f065deb4637a74e7f85ab617bb527c51be.tar.xz serenity-9232b8f065deb4637a74e7f85ab617bb527c51be.zip | |
Use an InterMessage to communicate over gateway
Instead of communicating over the gateway in a split form of a
`serde_json::Value` or a `client::bridge::gateway::ShardClientMessage`,
wrap them both into a single enum for better interaction between the
client, gateway, and voice modules.
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/mod.rs b/src/framework/standard/mod.rs index 4e43cf8..6a03344 100644 --- a/src/framework/standard/mod.rs +++ b/src/framework/standard/mod.rs @@ -810,7 +810,7 @@ impl StandardFramework { /// /// client.with_framework(StandardFramework::new() /// .before(|ctx, msg, cmd_name| { - /// println!("Running command {}", cmd_name); +/// println!("Running command {}", cmd_name); /// true /// })); /// ``` |