package Ġcom . github . zm ig ue el . rad in ho Ċ Ċ import Ġcom . github . zm ig ue el . rad in ho . audio . Radio Music Manager Ċ import Ġcom . github . zm ig ue el . rad in ho . command . load Commands Ċ import Ġcom . github . zm ig ue el . rad in ho . command . slash Commands Ċ import Ġcom . github . zm ig ue el . rad in ho . config . load Config Ċ import Ġdev . k ord . core . K ord Ċ import Ġdev . k ord . core . event . gateway . Ready Event Ċ import Ġdev . k ord . core . event . interaction . Chat Input Command Interaction Create Event Ċ import Ġdev . k ord . core . on Ċ import Ġdev . k ord . gateway . Intent s Ċ import Ġdev . k ord . gateway . Priv ileged Intent Ċ import Ġkotlinx . coroutines . Coroutine Scope Ċ import Ġkotlinx . coroutines . as Coroutine Dispatcher Ċ import Ġjava . util . concurrent . Executors Ċ Ċ late init Ġvar Ġk ord : ĠK ord Ċ Ċ val Ġconfig Ġby Ġlazy Ġ{ ĊĠĠĠ Ġload Config () Ċ } Ċ Ċ val Ġmusic Manager Ġ= ĠRadio Music Manager () Ċ Ċ val Ġcoroutine Scope Ġ= ĠCor outine Scope ( ĊĠĠĠ ĠExec utors . new Cached ThreadPool (). as Coroutine Dispatcher () Ċ ) Ċ Ċ @ Opt In ( Priv ileged Intent :: class ) Ċ suspend Ġfun Ġmain () Ġ{ ĊĠĠĠ Ġk ord Ġ= ĠK ord ( config . discord . token ) Ġ{ ĊĠĠĠĠĠĠĠ Ġintent s Ġ= ĠInt ents . all ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġk ord . on < Ready Event > Ġ{ ĊĠĠĠĠĠĠĠ Ġprintln (" evento ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġk ord . on < Chat Input Command Interaction Create Event > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcommand Ġ= Ġslash Commands [ interaction . name ] Ġ?: Ġreturn @ on ĊĊĠĠĠĠĠĠĠ Ġcommand . action . invoke ( interaction ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġload Commands () ĊĊĠĠĠ Ġprintln (" bo a Ġno ite ") ĊĊĠĠĠ Ġk ord . login Ġ{ ĊĠĠĠĠĠĠĠ Ġplaying (" sim ") ĊĠĠĠ Ġ} Ċ } Ċ