Skip to content

Daniel-Manea/Discord-Bot-TS-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Discord Bot Template

📚 License: License 🕒 Last Commit: Last Commit

Welcome to the TypeScript Discord Bot Template! This repository serves as a foundation for creating Discord bots using TypeScript, powered by the discord.js API. Get started quickly with a basic structure.

Features:

  • discord.js: Utilize the powerful discord.js library to interact with the Discord API and build your bot's functionality.
  • dotenv: Manage your bot's configuration settings using environment variables with the dotenv package.
  • TypeScript: Develop your bot in TypeScript for type safety and an enhanced development experience.

Getting Started:

  1. Clone the Repository: Clone this repository to your local machine using the following command: git clone https://github.com/Daniel-Manea/TypeScript-Discord-Bot.git

  2. Navigate to Directory: Move into the cloned directory: cd TypeScript-Discord-Bot

  3. Install Dependencies: Install the required dependencies using npm or yarn: npm install

    or

    yarn install

  4. Configure Your Bot: Create a .env file in the root of the project and provide your bot's token: DISCORD_TOKEN=your_bot_token_here

  5. Build and Run: Build and run the bot using these commands:

    • To build and start the bot: npm run build npm start
    • To run the bot in development mode: npm run dev

Contributing:

  • Contributions Welcome! If you find issues, want to add improvements, or have suggestions, feel free to create a pull request. Follow the project's coding style and guidelines.

License:

  • This project is licensed under the MIT License.

Note: This template provides a basic structure for your TypeScript Discord bot. Customize and expand it to match your bot's unique requirements and functionalities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published