Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A simple, intuitive wrapper around the underbelly of the discord API. This library is meant to be used with the discord docs. Responses from methods in the library will return JSON just as discords api details.
A simple, intuitive wrapper around the underbelly of the discord API. This library is meant to be used with the discord docs. Responses from methods in the library will return JSON just as discords api details.
pip install discordwrap
from discordwrap import Auth, channel
Auth.TOKEN = 'your token'
# your channel
channel = 111111111111111
channel.create_message(channel, json={
'content': 'Hello world!'
})
Find offical docs here!
Using any API can be daunting. Using a library with poor documentation can be even worse. The goal of this library is to not need any documentation, other than discords. This is why users are encouraged to use raw json for bodies, and responses of requests.
So what does this library do? The most daunting part. The rate limiting, and overall python function creation, and async handling. Requests under the hood are asynchronous, however to the end user of the library, they are not. This lets consumers freely use our library without needing to worry about buckets, rate limits, or any other messy details, and focus on building their product.
Rate limiting blocks only when needed, and makes sure to only keep one thread alive. There is no class instantiation needed once the Auth token is set.
This library does NOT (yet) implement the discord gateway, as there are plenty of other libraries that are much better for bot building. This library is targeted at developers that are not building an interactive bot, but need the ability to use the discord api in another project.
FAQs
A simple, intuitive wrapper around the underbelly of the discord API. This library is meant to be used with the discord docs. Responses from methods in the library will return JSON just as discords api details.
We found that discordwrap demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.