Parallaxox

Help Commands with Pages

Jan 30th, 2021 (edited)
1,464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //https://www.youtube.com/watch?v=bMa0vlHINaU
  2. const Pagination = require('discord-paginationembed')
  3. const FieldsEmbed = new Pagination.FieldsEmbed()
  4. .setArray([{word: `help`}, {word: `commands`}])
  5. .setAuthorizedUsers([message.author.id])
  6. .setChannel(message.channel)
  7. .setElementsPerPage(4)
  8. .setPageIndicator(true)
  9. .formatField('Commands', el => el.word)
  10. FieldsEmbed.embed
  11. .setColor('RED')
  12. .setTitle('HI")
  13. .setTimestamp()
  14. FieldsEmbed.build()
Add Comment
Please, Sign In to add comment