Socket
Book a DemoInstallSign in
Socket

create-discobase

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-discobase

Easily create and manage your Discord bot with our powerful toolkit! ๐Ÿš€

2.5.6
latest
Source
npmnpm
Version published
Weekly downloads
93
-89.29%
Maintainers
2
Weekly downloads
ย 
Created
Source

Logo

Discord NPM Version NPM License NPM Downloads

discoBase

Introducing discoBase v2.5 โ€” the ultimate solution for building and managing your Discord bots with maximum flexibility and next-level control. ๐Ÿ”ฅ

No bloat, no limits โ€” only what you choose to run. Whether you need a simple moderation bot or a complex multi-purpose system, discoBase adapts to your style.

โœจ Fully compatible with the latest Discord.js v14.
๐ŸŒ Official Website & Docs: https://www.discobase.site

โœจ Whatโ€™s New in v2.5?

  • โœ… Advanced Dashboard โ€” Control your bot through a clean, modern web dashboard.
  • โœ… 100% Customization โ€” Enable or disable any feature with just a click.
  • โœ… Plug & Play โ€” Clean structure, easy setup, no headaches.
  • โœ… Powerful & Optimized โ€” Faster, more stable, and scalable for any server size.
  • โœ… New Command Options โ€” disabled and requiredRoles for more control.
  • โœ… Flexible Config โ€” Easily toggle errorLogging and manage presence directly from your config file.
  • โœ… And much moreโ€ฆ

๐Ÿ“ธ Dashboard Preview

Below is a sneak peek at the new Discobase Dashboard:

DashboardDashboard
Main Stats ViewGuild Manager & Much More

โšก Features

  • ๐ŸŽ‰ Slash & Prefix Command Handler
  • ๐Ÿ“… Event Handler
  • โš™๏ธ Advanced Customization Options
  • ๐Ÿ”„ Dynamic Reloading
  • ๐Ÿš€ Asynchronous & Modular
  • ๐Ÿ› ๏ธ Structured & Scalable
  • ๐Ÿ”’ Never Crash โ€” built-in error logging & graceful fallback
  • ๐Ÿ”ค Prefix Commands Support
  • โž— Slash Commands Support
  • ๐Ÿ” Auto Detect Missing Intents
  • โš™๏ธ Configurable Functions: once, interval, retryAttempts, maxExecution, initializer
  • ๐Ÿ—‚๏ธ Error Logging: Enable or disable with a single discobase.json flag.
  • ๐ŸŽฎ Presence Manager: Easily control your bot's status, activity, and type through discobase.json.
  • ๐Ÿ“Š Discobase Dashboard: Live stats, activities, & easy settings.
  • โšก Generate Command: npm run generate instantly scaffolds new commands/events!

๐Ÿ“ฆ Installation

Create a new discoBase project in seconds:

npx create-discobase@latest my-project

Or create in the current directory:

npx create-discobase@latest

โš™๏ธ Configuration

Your config.json must have these keys:

ParameterTypeDescription
bot.tokenstringRequired. Your Discord bot token
bot.idstringRequired. Your Discord bot ID
bot.adminsarrayOptional. List of admin user IDs
bot.ownerIdstringOptional. The owner's user ID
bot.developerCommandsServerIdsarrayOptional. Server IDs where dev-only commands run
database.mongodbUrlstringOptional. MongoDB connection URL
logging.guildJoinLogsIdstringOptional. Channel ID for guild join logs
logging.guildLeaveLogsIdstringOptional. Channel ID for guild leave logs
logging.commandLogsChannelIdstringOptional. Channel ID for command logs
logging.errorLogsstringOptional. Webhook URL for error logging
prefix.valuestringOptional. Prefix for non-slash commands

๐Ÿงฉ Command Options

Use these powerful options in any command file:

OptionTypeDescription
ownerOnlybooleanIf true, only the bot owner can use the command.
adminOnlybooleanIf true, only users in bot.admins can use it.
devOnlybooleanIf true, runs only in servers listed under developerCommandsServerIds.
botPermissionsarrayList of required bot permissions (e.g. 'SendMessages', 'ManageChannels').
userPermissionsarrayList of required user permissions (e.g. 'Administrator', 'KickMembers').
cooldownnumberCooldown in seconds before reuse (default: 3).
disabledbooleanNew in 2.5 โ€” Easily disable buggy or incomplete commands.
requiredRolesarrayNew in 2.5 โ€” Array of server role IDs required to run this command.

๐Ÿ”ง Function Options

PropertyTypeDescription
oncebooleanRun once then stop.
intervalnumberTime (ms) between repeated executions.
retryAttemptsnumberNumber of retries if the function fails.
maxExecutionnumberMaximum number of executions allowed.
initializernumberInitial value/state for setup or counting.

Example:

const exampleFunction = async () => {
  console.log("Function ran successfully!");
};

exampleFunction.config = {
  once: true,
  interval: 10000,
  retryAttempts: 3,
  maxExecution: 5,
  initializer: 0
};

module.exports = exampleFunction;

๐Ÿ” Activity Tracker

Track all file changes in your project in real-time โ€” additions, edits, deletions, and renames โ€” directly in your terminal.

The Activity Tracker is fully configurable through discobase.json.

PropertyTypeDescription
activityTracker.enabledbooleanEnable or disable the tracker globally.
activityTracker.ignoredPathsarrayGlob patterns of paths to ignore. Merges with default ignored paths automatically.

Example discobase.json:

{
  "activityTracker": {
    "enabled": true,
    "ignoredPaths": [
      "**/logs/**",
      "**/private/**"
    ]
  }
}

โœจ Generate with Ease

Create commands & events instantly:

npm run generate

๐Ÿค Contributing

We love contributions!
Check contributing.md for guidelines & submit your ideas.

โญ Show Your Support

If this project helped you, please consider leaving a โญ๏ธ star!

๐Ÿ’ฌ Feedback & Support

Got feedback or questions?
Join our Discord Community.

๐Ÿ”ฅ Enjoy building with discoBase 2.5 โ€” your bot, your rules.

Keywords

discord

FAQs

Package last updated on 05 Aug 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.