package Ġdev . f studio . mc _ discord _ bot . disk ord . command . list Ċ Ċ import Ġcom . j esse cor bet t . disk ord . api . channel . Embed Ċ import Ġcom . j esse cor bet t . disk ord . api . channel . Embed Footer Ċ import Ġdev . f studio . mc _ discord _ bot . api . mc world stats . common . response . Player Ċ import Ġdev . f studio . mc _ discord _ bot . util . M ics Util . getRandom Color Ċ import Ġdev . f studio . mc _ discord _ bot . util . all Players Title Ċ import Ġdev . f studio . mc _ discord _ bot . util . extensions . convertTo Dead Ċ import Ġdev . f studio . mc _ discord _ bot . util . extensions . fix Underline Ċ import Ġdev . f studio . mc _ discord _ bot . util . footer Text Ċ Ċ fun ĠEmbed . embed Player List Message ( data : ĠList < Player >) Ġ{ ĊĠĠĠ Ġtitle Ġ= Ġall Players Title ĊĠĠĠ Ġdescription Ġ= ĠStringBuilder (). apply Ġ{ ĊĠĠĠĠĠĠĠ Ġdata . forEach Indexed Ġ{ Ġindex , Ġplayer Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġappend (" ** ${ index Ġ+ Ġ 1 }. Ġ** ${ player . name . fix Underline (). convertTo Dead ( player . ab and oned )}\ n ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ}. toString () ĊĠĠĠ Ġcolor Ġ= ĠgetRandom Color () ĊĠĠĠ Ġfooter Ġ= ĠEmbed Footer ( footer Text ) Ċ }