
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
discord.js-artisan
Advanced tools
Add-in that allows you to delete, save messages with files from the dialogue/channels in the Discord.
Artisan is the add-in for discord.js which allows you to delete, save messages with files from the dialogue/channels.
npm install discord.js-artisan
<> yarn add discord.js-artisan
const { Client } = require('discord.js')
const { Artisan } = require('discord.js-artisan')
const bot = new Client()
const artisan = new Artisan({
pathToSave: 'YOUR_CUSTOM_PATH_HERE',
saveEmbeds: true
})
bot
.once('ready', () => console.log('Ready!'))
.on('message', message => {
const { id: messageId, author, client, channel, content: cmd } = message
if (client.user.id !== author.id) return
// messageId - ID before which there will be a search for messages
if (cmd === 'dump') return artisan.dumper(channel, messageId)
else if (cmd === 'clear') return artisan.cleaner(channel, messageId)
})
.login('YOUR_USER_TOKEN_HERE').catch(console.error)
Type | Name | Description | Default |
---|---|---|---|
String | pathToSave | Path where dumper files will be stored | folder "dump" in work directory |
Boolean | saveEmbeds | Whether to save embeds | false |
Boolean | saveAttachments | Whether to save attachments | true |
These options need to be placed in the object and passed at
constuctor Artisan
FAQs
Add-in that allows you to delete, save messages with files from the dialogue/channels in the Discord.
We found that discord.js-artisan 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.