diff options
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/07_voice.rs | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 439c876..8609c1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,4 @@ cache: - $HOME/.cargo script: - - cargo build + - cargo build --features voice @@ -81,6 +81,5 @@ path = "./examples/06_command_framework.rs" [[bin]] doc = false -features = ["voice"] name = "example-07" path = "./examples/07_voice.rs" diff --git a/examples/07_voice.rs b/examples/07_voice.rs index d4357c2..1dddb49 100644 --- a/examples/07_voice.rs +++ b/examples/07_voice.rs @@ -1,3 +1,5 @@ +// Requires the feature "voice" be enabled. + extern crate serenity; use serenity::client::{STATE, Client, Context}; |