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!
😉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
join the community! discord.gg/codinglounge
nice 🎉
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!
😉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
Very helpful, thanks!
Could you make a tutorial on how to make a chatbot with setup channel system?
Great video. It helps a lot. Do you offer help for personal projects?
music system using lavalink please reply sir
check discord.gg/codinglounge - you can buy a music bot fully coded.
For Python
i dont know python
Oki