From d4f743801e6e88f90352ad08b86676cc97430664 Mon Sep 17 00:00:00 2001 From: Jokler Date: Fri, 6 Mar 2020 20:20:47 +0100 Subject: Add search command to the music bot --- src/command.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.rs') diff --git a/src/command.rs b/src/command.rs index db22028..c907d51 100644 --- a/src/command.rs +++ b/src/command.rs @@ -15,6 +15,8 @@ use structopt::StructOpt; pub enum Command { /// Adds url to playlist Add { url: String }, + /// Adds the first video found on YouTube + Search { query: Vec }, /// Starts audio playback Play, /// Pauses audio playback -- cgit v1.2.3-70-g09d2