diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/07_voice/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/07_voice/src/main.rs b/examples/07_voice/src/main.rs index 35dcedf..c70a7c3 100644 --- a/examples/07_voice/src/main.rs +++ b/examples/07_voice/src/main.rs @@ -63,7 +63,7 @@ command!(deafen(context, message) { }, }; - if handler.is_deafened() { + if handler.self_deaf { check_msg(context.say("Already deafened")); } else { handler.deafen(true); @@ -147,7 +147,7 @@ command!(mute(context, message) { }, }; - if handler.is_muted() { + if handler.self_mute { check_msg(context.say("Already muted")); } else { handler.mute(true); |