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.
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/LeptoFlare/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
Contact me · @LeptoFlare · lepto.tech
Author: LeptoFlare
Download Link: Download The Source Code
Official Website: https://github.com/LeptoFlare/blurple.py
License: MIT
#discord #python