Skip to content

umutxyp/discordjs-14-slash-and-prefix-command-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ Hybrid Discord Bot Template (Prefix + Slash)

The ultimate starter kit for Discord bots that need the best of both worlds: traditional Prefix-based commands and modern Slash Commands.

🌟 Key Features

  • Dual Command System: Separate handlers for prefix/message commands and slash commands.
  • Rich Intents: Pre-configured with total GatewayIntentBits for advanced features.
  • Developer Friendly: Includes a run.bat for easy local Windows execution.
  • Modular Events: Clean event management system.

🏗️ Structure

  • /prefix: Home for commands like !help.
  • /slash: Home for commands like /help.
  • /events: Centralized event management.

🔧 Configuration

Update config.js:

module.exports = {
    token: "YOUR_BOT_TOKEN",
    prefix: "!",
    ownerID: "YOUR_ID"
}

About

Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors