Instead of repeating *pageCount.setLabel()* on every if check, you could just have made one *pageCount.setLabel()* call after adjusting the index for each if check. Also you could have added this: first.setDisabled(index === 0); prev.setDisabled(index === 0); next.setDisabled(index === pages.length - 1); last.setDisabled(index === pages.length - 1); instead of having *2* if-else statements for each case ---------- Good video tho. I updated my pagination in a good way because of you, thanks!
@MrJAwesomeYT8 ай бұрын
😉thanks! yeah i didnt really look at the code much before making the video as i copied it from a staff member on my discord. thanks for the feedback though
@raveeshnilaweera8 ай бұрын
nice 🎉
@klebt5 ай бұрын
Very helpful, thanks!
@Titsou_18 ай бұрын
Could you make a tutorial on how to make a chatbot with setup channel system?
@wkjames4098 ай бұрын
Great video. It helps a lot. Do you offer help for personal projects?
@Vtubeprime8 ай бұрын
music system using lavalink please reply sir
@MrJAwesomeYT8 ай бұрын
check discord.gg/codinglounge - you can buy a music bot fully coded.