
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
something-random-on-discord
Advanced tools
A very easy to use package which gives you random things.
You can not use v2.0.0 because i made a big mistake, now i will continue with version v3.0.0
[ API Issue ]
: Changed the API to reddit API
const discord = require("discord.js")
const client = new discord.Client()
const random = require("something-random-on-discord").Random
client.on("ready", () => {
console.log("Ready to go")
})
client.on("message", async message => {
if(message.content === "!meme") {
let data = await random.getMeme()
message.channel.send(data)
}
})
client.login("TOKEN")
getMeme(): Provieds You the JSON embed with meme image and title.
let data = await random.getMeme()
message.channel.send(data)
getAdvice(): Provieds You a random advice.
let data = await random.getAdvice()
message.channel.send(data)
getNeko(): Provieds You a random neko image.
let data = await random.getNeko()
message.channel.send(data)
getRandomJoke(): Provieds You a Random Funny Joke.
let data = await random.getRandomJoke()
message.channel.send(data)
getNameJoke(): Provieds You a Random Funny Joke related to your name.
let data = await random.getNameJoke("ctk", "warrior")
message.channel.send(data)
getAnimeImgURL(type): Provied you a random image url of anime(based on action), availabe actions are "pat", "hug", "waifu", "cry", "kiss", "slap", "smug", "punch"
let data = await random.getAnimeImgURL("cry")
message.channel.send(data)
getFact(): Provides you a random fact.
let data = await random.getFact();
message.channel.send(data);
getNPM(): it provides the information of given package.
let data = await random.getNPM("discord.js");
message.channel.send(data);
const srod = require("something-random-on-discord").ServerAssistant
isHoisted(): Checks if the given name is hoisted or not.
srod.isHoisted("! Mattechi276") //returns true
isURL(): Checks wheather given link is url or not.
srod.isURL("https://withwin.in") //returns true
[ New ] checkProfanity(string)
: Check wheather if string contains any bad word
srod.checkProfanity("fuck you lmao").then(string => {
//returns { profanity: true }
})
CTK'S SERVER => JOIN OR DIE
FAQs
A very easy to use package which gives you random things.
The npm package something-random-on-discord receives a total of 43 weekly downloads. As such, something-random-on-discord popularity was classified as not popular.
We found that something-random-on-discord 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.