
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
A high-level, functional-focused wrapper to discord.py
This package started off as a personal discord bot, but as it grew in scope, I found the need to add my own utilities on top of the wonderful discord.py by GitHub user Rapptz. Beymax aims to reduce the amount of boilerplate needed to create a functioning Discord bot, while also exposing an API which is familiar to those used to writing event-driven code.
event
, subscribers to before:event
are run first, then event
, and finally after:event
.event.cancel()
which will prevent any listeners in subsequent phases from being invoked.
It does abort any listeners which have already ben called, such as other listeners to the current phaseClient.dispatch_future()
. This adds an entry to the database, so the scheduled event will persist through restarts.
.dispatch_future()
guarantees precision within at least 30s of the scheduled time.Client.set_value()
and Client.get_value()
can be used to
store & retreive small strings from the databaseClient.migration()
allows schema migrations to be added in code. Migrations are called only the first time the bot starts up after
a new migration is added.Client.wait_for()
, Client.add_special()
allows a coroutine to be invoked any time a message
is received which meets user-defined criteriacog
is essentially the same as a Beymax suite
. Suites group together a set of commands, context menus, event listeners, database tables, etc which logically relate to each other. Suites can define their own interdependencies, ensuring that if a suite is loaded by your bot, all of its dependencies are also loaded.FAQs
A high-level, functional programming wrapper to discord.py
We found that beymax 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.