Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
djs-tickets-v2
Advanced tools
discord_ticket_maker
packagenpm i djs-tickets-v2
const { DiscordTicketUpdated } = require('djs-tickets-v2`') const ticket = new DiscordTicketUpdated()
ticket.setRole(message, role) //SETS STAFF ROLE THAT GET PINGED WHEN NEW TICKET IS MADE
ticket.makeTicket(message, reason, "LMFAO") //MAKES A NEW TICKET
ticket.closeTicket(message, channel) //CLOSES AN EXISTING TICKET
ticket.msgTicketChannel(message, channel, args) //SEND MESSAGE TO THE TICKET
ticket.Category(message, ID) //SETS THE PARENT CATEGORY FOR A TICKET
ticket.editEmbed(message, args) //EDITS THE EMBED MESSAGE SENT DURING NEW TICKET
ticket.ticketAddUser(channel, user) //ADDS A USER TO THE TICKET
if you are unsure of what values to change, or do not understand, copy from the example above!
setRole(message, role)
This sets the role that gets pinged every time a support ticket is created!
Replace "message" with your message value
Replace "role" with the role mention, or value
makeTicket(message, reason, options)
This creates a new support ticket in a guild
Replace "message" with your message value
Replace "reason" with your reason args value, reasons are optional!
Replace "options" with any string, to send the made ticket message in dms!
closeTicket(message, channel)
This closes a support ticket, even if the ticket's name was changed
Replace "message" with your message value
Replace "channel" with the channel value, best not to change from example, unless you know discord.js
msgTicketChannel(channel, args)
Note: this is very buggy at the moment, fixes coming soon!
Send a message to a ticket channel
Replace "channel" with your channel value
Replace "args" with your args value!
Category(message, ID)
Set the ticket category
Replace "message" with your message value
Replace "ID" with the category id
editEmbed(message, args)
Changes the first message, of the embed that is sent
Replace "message" with the message value
Replace "args" with the arguments or message you want to set
ticketAddUser(channel, user)
Adds someone to a ticket channel
Replace "channel" with the channel value
Replace "user" with the user value, or person to add
fetchChanID(message)
Fetches the current channels actual id, if the channel is a ticket channel
Replace "message" with your message value, for the channel
FAQs
Create support tickets discord.js with low effort and easy to use
The npm package djs-tickets-v2 receives a total of 2 weekly downloads. As such, djs-tickets-v2 popularity was classified as not popular.
We found that djs-tickets-v2 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.