user command support

This commit is contained in:
derpystuff 2024-03-19 17:28:37 +01:00
parent af5a7f4252
commit 86936dc100
14 changed files with 710 additions and 11 deletions

View file

@ -164,7 +164,10 @@ module.exports.formatPaginationEmbeds = function(embeds){
formatted.push(ne)
} else if (e.embeds){
ne.embeds = e.embeds.map((se)=>{
se.footer.text = se.footer.text + ` • Page ${i}/${l}`
if(se.footer) se.footer.text = se.footer.text + ` • Page ${i}/${l}`
else se.footer = {
text: `Page ${i}/${l}`
}
return se;
})