package Ġcom . bl itz offline . alph am usic . commands Ċ Ċ import Ġcom . bl itz offline . alph am usic . Alpha Music Ċ import Ġcom . bl itz offline . alph am usic . utils . as Embed Nullable Ċ import Ġcom . bl itz offline . alph am usic . utils . terminate Ċ import Ġdev . tri ump ht e am . cmd . core . Base Command Ċ import Ġdev . tri ump ht e am . cmd . core . annotation . Command Ċ import Ġdev . tri ump ht e am . cmd . core . annotation . Default Ċ import Ġdev . tri ump ht e am . cmd . core . annotation . Description Ċ import Ġdev . tri ump ht e am . cmd . core . annotation . Requirement Ċ import Ġdev . tri ump ht e am . cmd . core . annotation . Requirements Ċ import Ġdev . tri ump ht e am . cmd . slash . sender . Slash Sender Ċ Ċ @ Command (" grab ") Ċ @ Description (" Get Ġa ĠDM Ġlisting Ġthe Ġcurrently Ġplaying Ġsong !") Ċ class ĠGrab Command ( private Ġval Ġbot : ĠAlpha Music ) Ġ: ĠBase Command () Ġ{ ĊĠĠĠ Ġ@ Default ĊĠĠĠ Ġ@ Requirements ( ĊĠĠĠĠĠĠĠ ĠRequirement (" command _ in _ guild ", Ġmessage Key Ġ= Ġ" command _ not _ in _ guild "), ĊĠĠĠĠĠĠĠ ĠRequirement (" bot _ in _ vc ", Ġmessage Key Ġ= Ġ" bot _ not _ in _ vc "), ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun ĠSl ash Sender . grab () Ġ{ ĊĠĠĠĠĠĠĠ Ġdefer Reply (). queue () ĊĊĠĠĠĠĠĠĠ Ġval Ġguild Ġ= Ġguild Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġval Ġmusic Manager Ġ= Ġbot . get Music Manager ( guild ) ĊĠĠĠĠĠĠĠ Ġval Ġplaying Ġ= Ġmusic Manager . player . playing Track . as Embed Nullable ( icon Ġ= Ġuser . avatar Url , Ġshow Timestamp Ġ= Ġfalse ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġreturn Ġevent . terminate (" There Ġis Ġno Ġsong Ġplaying Ġcurrently !", Ġdeferred Ġ= Ġtrue ) ĊĊĠĠĠĠĠĠĠ Ġevent . user . open Private Channel () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. flatMap Ġ{ Ġit . sendMessage Embed s ( playing ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. queue ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġevent . terminate (" Check Ġyour ĠD Ms ! ĠCurrently Ġplaying Ġsong Ġwas Ġlisted Ġthere .", Ġdeferred Ġ= Ġtrue ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġevent . terminate (" Something Ġwent Ġwrong Ġwhile Ġgrab bing . ĠMake Ġsure Ġyour ĠD Ms Ġare Ġnot Ġclosed !", Ġdeferred Ġ= Ġtrue ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }