1.0.6 • Published 3 years ago
discord-buttons-page-v13 v1.0.6
��
<h1>Buttons Pages Discord</h1>
<p>
<a href="https://www.youtube.com/channel/UCFJDHPs7eT60mR3WcqrzzAA"><img src="https://yt3.ggpht.com/yti/APfAmoF1398WBb_aPUS0t_aMCmGXmpgPDHVKAWD74rohrQ=s88-c-k-c0x00ffffff-no-rj-mo"/></a>
<a href="https://g-ca.fr/profil/killerjumper"><img src="https://media.discordapp.net/attachments/859518903566860299/867168568940822528/final3000x3000.jpg?width=88&height=88"/></a>
</p>
<p>
<a><img src="https://media.discordapp.net/attachments/859518903566860299/867168561764237382/tumblr_ou44uhyE4X1uuhxwpo5_400.gif?width=296&height=240"/></a>
</p>
<br> <br>
=��� | Installation
npm i discord-buttons-page-v13
=��� | Setup
const Discord = require('discord.js'); // Define discord.js module with npm i discord.js@dev
const bot = new Discord.Client({ // Creating client of discord.js
// Activate intents for discord.js V13
});
' | Examples
const {createPages} = require('discord-buttons-page-v13');
bot.on('message', message => {
if(message.author.bot) return;
if(message.content != `!${commandName}`) return;
let embed1 = new Discord.MessageEmbed()
.setTitle('Exemple 1');
let embed2 = new Discord.MessageEmbed()
.setTitle('Exemple 2');
const embeds = [embed1, embed2];
const ButtonStyle = "PRIMARY"; // Or SECONDARY, SUCCESS, DANGER.
const msg_delete = "!help for help command !"; // D�fault : The embeds pages is closed !
createPages(bot, message, embeds, ButtonStyle, true, false, msg_delete);
});
=�h�<���
�� =�h�<��� | Help
=�e� | Contact
If you have any other problems or questions, you can join our Support Server !
1.0.6
3 years ago