1.0.9 • Published 1 year ago

pagesembed v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

discord

Pages Embed 📋

# Create and control Embed pages
-
## This `pagesembed` the package is used for `v14` version only and will be downloaded after v13 version for users of this version 

Install Package 📁

# npm i pagesembed

Features of what ⚒

#1 Is it possible to change an emoji to words: ["🟢"]

#2 Is it possible to change words to emoji: ["🟢"]

#3 Is it useful to change the waiting time: ["🟢"]

#4 Is it possible to change the shape of the baton: ["🟢"]

#5 Can I add more than one embed: ["🟢"] 

Details and explanation 🌚

# style1: "" || If you want the fixed color "" leave it empty

# style1: "Secondary" || if you want to change the guest of steel baton [Secondary, Primary, Danger, Success]

- 

# "", // If you want the fixed emoji "" leave it empty

# "❤", // if you want to change the guest of emoji ["❤"]

Example Bot 😌

const { Client, EmbedBuilder } = require ('discord.js')
const client = new Client({
	intents: 131071,
     partials: [
		1, 2, 5, 3,
		4, 6, 0
	  ],
   });

/**
 * @pagesembed 
 * @install_package [ npm i pagesembed ]
 */

const pagesembed = require("pagesembed") // Package

client.on('messageCreate', async pkgPage => {
if(pkgPage.content.includes("?test")){
let embeds = [
new EmbedBuilder().setTitle(' embeds: 1').setDescription('[Description : 1]'),
new EmbedBuilder().setTitle(' embeds: 2').setDescription('[Description : 2]'),
new EmbedBuilder().setTitle(' embeds: 3').setDescription('[Description : 3]'),
new EmbedBuilder().setTitle(' embeds: 4').setDescription('[Description : 4]')
]; // Create Embed inlimted
pagesembed(pkgPage, [
"⏮", // Skip Back Page[0] 
"◀", // Back One Page
"X", // exit Pages is Display
"▶", // Next Pages[~]
"⏭", // Skip Next Pages[~]
{
"valueEmbed":embeds,
"style1":"",
"style2":"",
"style3":"",
"style4":"", 
"style5":"", 
"time": 30000 // Edit Time Filter end Display all Buttons  { End Time } 
} // If you don't want to change the fixed color leave it empty: you can change the time of my kidneys: [Secondary, Primary, Danger, Success]
])
}
})

client.login("Add Token Here")

Image Test Code

Image Test Code Style Embed and Button 📥 image

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago