
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
DBD.EZ is an powerful wrapper over discord.js allowing you
to make discord bots in no time,No need to learn
coding but still make God level Discord bots!
const dbd = require("dbd.ez");
const client = new dbd({
token: "TOKEN", //Your Discord Bot Token
prefix: "-",
});
client.command({
name: "say",
reply: "{args.all}",
argsError: {
1: "You must send atleast one arg",
}, //in dbd.ez args starts from 1
});
Constants are to simplify your work, example:
client.command({
name: "ping",
reply: "🏓 Pong, API latency is {ping}ms",
});
here {ping}
gets converted to actual API ping when bot replies
What are events?
When you use dbd.ez you will register a command with .command({}), we cannot run anything we want when a command is executed, here comes per-cmd-events, this will help you do any task when a command is executed, example:
client.on("command-ping", (message) => {
console.log("Ping command has been used!");
}); //The event is emitted along with discord.js message object
client.command({
name: "ping",
reply: "🏓 Pong, API latency is {ping}ms",
}); //You must register the command like this for per-cmd-events to work
{ping}
- Discord API latency
{author.tag}
- The command author's Tag
{author}
- Pinging The command author
{author.id}
- user id of the message author
{args<number>}
Example: args1 - args of the message
{args.all}
- The whole message after command
{args.allFrom<number>}
Example: args.allFrom2 - Whole message after the mentioned args
More constants will be added everyday, Tnx for choosing us!
DBD.EZ is made by Dynastic Studios
FAQs
Powerful wrapper over discord.js enabling you to make discord bots with ease
The npm package dbd.ez receives a total of 1 weekly downloads. As such, dbd.ez popularity was classified as not popular.
We found that dbd.ez 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.