
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
Node.JS 16.6.0 or newer is required.
npm install dbd.ts
const dbd = require("dbd.ts")
const bot = new dbd.Bot({
intents: ["GUILDS", "GUILD_MESSAGES"], //Discord Intents
prefix: "PREFIX" //Discord Client Prefix
})
bot.addEvent([
"onMessage"
])
bot.commands.add({
type: "basicCommand",
name: "ping",
code: "Pong! $pingms"
})
bot.login("Discord Bot Token")
To create a plugin, you first need to have a plugins folder in your project environment (this is not yet customizable).
Create a file in that folder with any name you want, and paste this into your code:
/**
* This below will only work if you are using a proper IDE, so intellisense does it's job.
* @type {import("dbd.ts").FunctionData}
*/
const func = {
// This would be the name for the plugin or function.
name: "$systemChannelID",
// You cannot skip this on typescript, but in javascript.
description: "return system channel id of the guild.",
// This function is called every time this function is used.
execute: (d, fn) => {
// Watch out! data.message will not always be a Message object, so is recommend to use instanceof to check what it actually is before ever returning anything.
return fn.resolve(
d.data.message.guild?.systemChannelID
)
}
}
// Export function.
module.exports = func
// Belong line would work too
// module.exports.default = func
Plugins only support js / ts for now.
This should only be used by user(s) who already know typescript or javascript.
We won't give any support regarding plugins as they are not coded by us and therefore is not of our concern of what happens.
Slash, Button, Select Menu commands and much more are supported in dbd.ts
It's simple and easy to setup with a few lines of code.
If you need support or have questions to ask, you can join our Discord Server!
FAQs
A powerful TypeScript package made for Discord Bots with ease.
The npm package dbd.ts receives a total of 1 weekly downloads. As such, dbd.ts popularity was classified as not popular.
We found that dbd.ts 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.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.