aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.rs
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-01-29 20:45:40 +0100
committerGitHub <noreply@github.com>2020-01-29 20:45:40 +0100
commitcc9e2a50abe88ad30783d6708f565b5e2d885c6e (patch)
tree0ee5b1495fc402829c44fcb56aec5167b0ff7369 /src/command.rs
parentf8f986f9e17caac8dc246637de1c9063803d2699 (diff)
parent12f5c6dbe1ca2c6be21faa3bc239385aabef68e4 (diff)
downloadpokebot-cc9e2a50abe88ad30783d6708f565b5e2d885c6e.tar.gz
pokebot-cc9e2a50abe88ad30783d6708f565b5e2d885c6e.zip
Merge pull request #19 from Mavulp/multibot
Split the bot into a master bot and music bots
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.rs b/src/command.rs
index fbc714c..3a39290 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -27,4 +27,6 @@ pub enum Command {
Clear,
/// Changes the volume to the specified value
Volume { percent: f64 },
+ /// Leaves the channel
+ Leave,
}