2.0.1 ā€¢ Published 2 years ago

easyutil-discordjs v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Easyutil-Discordjs

ā„¹ What version i need for discord.js?

Discord.js V 14.0.x

šŸ“œ Introduction

Easyutil-Discordjs is a library that allows you to manage easily navigation embeds.

šŸ“„ Installing the package

šŸŒ Windows version:

npm i easyutil-discordjs

šŸ“¦ Example of use - (Basic)

// Language: TypeScript

import { EmbedBuilder } from 'discord.js';
import { PaginationBuilder } from 'easyutil-discordjs';

// Your interaction command handler...

const embeds: EmbedBuilder[] = [];
for (let i = 1; i <= 5; i++) {
	embeds.push(new EmbedBuilder().setTitle(`Category ${i}`).setDescription("Description"));
	}
	
// The NavEmbedBuilder class initialize with an array of embeds
const nav = new PaginationBuilder({embeds: embeds});
nav.start(interaction);

šŸ“· Screenshots:

šŸ“¦ Example of use - (Advanced)

// Language: TypeScript

import { EmbedBuilder } from 'discord.js';
import { PaginationBuilder } from 'easyutil-discordjs';

// Your interaction command handler...

const embeds: EmbedBuilder[] = [];
for (let i = 1; i <= 5; i++) {
	embeds.push(new EmbedBuilder().setTitle(`Category ${i}`).setDescription("Description"));
	}
	
// The NavEmbedBuilder class initialize with an array of embeds
const nav = new PaginationBuilder({
	embeds: embeds, options: {
		message: "Botones expirados!", 
		buttons: {first: 'āœ”', left: 'šŸ‘»', mid: 'šŸ¤–', right: 'āŒ›', last: 'šŸŽ'}
		}
	});
nav.start(interaction);
1.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago