
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
discord-paginator.js
Advanced tools
A lightweight package to paginate discord message for discord bots
A lightweight package to paginate discord message for discord bots with ease!
npm install discord-paginator.js
const BasePaginator = require('discord-paginator.js')
const pages = ['foo', 'bar'] //return foo at the first page, and bar at the second page
const Paginator = new BasePaginator({
pages: pages, //the pages
timeout: 120000, //the timeout for the reaction collector ended (in ms)
page: 'Page {current}/{total}', //Show the page counter to the message
filter: (reaction, user) => user.id == message.author.id //to filter the reaction collector
})
Paginator.spawn(message.channel) //to spawn the paginator to specific text channel
const Paginator = new BasePaginator({
pages: Array<String || Discord.MessageEmbed>, //The pages, can contain string or message embed
remove: String, //The emoji to despawn the paginator
reset: String, //The emoji to reset the paginator to first page
reaction: [String, String], //The emoji to move previous or next page
removeReaction: Boolean, //Remove the user reaction when used
removeAtEnd: Boolean, //Remove the reactions when the reaction collector is ended
pageCount: String, //Show the page counter to the message
timeout: Number, //The timeout for the reaction collector ended (in ms)
filter: Function //An additional filter for the paginator
})
await Paginator.spawn(Discord.TextChannel) //Spawn the paginator to specific text channel
FAQs
A lightweight package to paginate discord message for discord bots
We found that discord-paginator.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.