Socket
Book a DemoInstallSign in
Socket

discord-listing-embed-pages

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-listing-embed-pages

Create a discord embed pages using this package

1.0.2
latest
npmnpm
Version published
Maintainers
1
Created
Source

How to use

const { embedPages } = require('discord-listing-embed-pages')
let array = ['1', '2', '3', '5', '6']
let options = {
perPage: 3,
title: "Title",
color: "BLUE",
timestamp: true,
fields: [{ name: "Field name", value: "Field value", inline: true }]
}
embedPages(client, message, array, options) // if no options add {} instead

// Default options
options.timestamp = false
options.footer = null
options.footerImage = null
options.thumbnail = null
options.perPage = 4
options.user = message.author
options.joinBy = '\n'
options.fields = []
options.color = null
options.image = null
options.emojis = {
        first_track: '⏮️',
        previous_track: '◀',
        next_track: '▶',
        last_track: '⏭️',
        delete: '🗑',
        jump_to: '↗️'
    }

Output

Keywords

discord embed pages

FAQs

Package last updated on 26 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.