Skip to content

Birden çok dil destekli Discord.JS V14 boş altyapı

License

Notifications You must be signed in to change notification settings

CodAre-Development/v14-slashli-altyapi

 
 

Repository files navigation

🤖 Discord Bot Template

A template for creating Discord bots with Discord.js using TypeScript

🇹🇷 Bu dosyanın Türkçe hali

📦 Installation

  1. Run this codeblock in your terminal:
    git clone https://github.com/BurakYs/bot-template.git
    cd bot-template
    npm install
    cp .env.template .env
    npm run build
  2. Fill in the .env file with your bot token
  3. Run npm run register-commands to register the commands
  4. Start the bot with npm start

✨ Features

  • Multiple Language Support

    • To add a new language, add the file in src/localizations folder and update supportedLanguages array in src/config.ts
    • Command names and descriptions are stored in the src/localizations/commandData folder
    • Ensure the values in supportedLanguages match the files' name in the src/localizations folder
  • Command Handler

    • You can create as many subfolders as you want in the src/commands folder
    • Refer to the available command configurations in the types file
      • To give a subcommand a specific configuration, do this:
        config: {
          someOtherConfig: true,
          configName: {
            '*': false, // Default configuration
            'groupName subCommandName': true, // Specific configuration for this subcommand
            // or
            'subCommandName': true
          }
        }

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Birden çok dil destekli Discord.JS V14 boş altyapı

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 98.0%
  • JavaScript 2.0%