
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
blurple.py
A front-end framework for discord.py
Blurple.py is a framework built on top of discord.py, giving you the tools you need to build discord bots with convenience.
:warning: hey! thanks for checking this library out. although this library is not actively being maintained, it is stable and you probably won't encounter any issues if you use it! if you do happen to run into any issues, feel free to make an issue and preferrably PR and i'll get to it as soon as i can :)
Here's what's included:
blurple.ui
All the styled components you'll ever need for building user interfaces in discord.
blurple.io
Robust functions that enable you to build stable, multi-step commands with ease.
blurple.ext
Utilities and sane defaults for discord.ext commands.
Documentation can be found here.
pip install blurple.py
.blurple.ui
import discord
from discord.ext import commands
+ from blurple import ui
bot = commands.Bot(command_prefix='!')
@bot.command()
async def ping(ctx):
- await ctx.send('Pong!')
+ await ctx.send(embed=ui.Alert(ui.Style.SUCCESS,
+ title="Pong!",
+ description=f"Latency: `{round(bot.latency*1000)}ms`")
+ )
bot.run('token')
git clone https://github.com/cerusabi/blurple.py.git
.env
in the repository root with your token:
TOKEN=kpXVCJ9.pLY.Q6m9F
test.py
file used for testing, simply run the file
python3 test.py
FAQs
A front-end framework for discord.py
We found that blurple 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.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.