Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Discord Bot

This repository contains a TypeScript-based Discord bot. Follow the steps below to set up and run the bot.

Prerequisites

  1. Install Bun
    Bun is a fast JavaScript runtime. Follow the instructions on the official website to install it.

  2. Install MongoDB Community Edition
    Download and install MongoDB Community Edition from MongoDB's official website.

Setup Instructions

  1. Clone the repository to your local machine:

    git clone <repository-url>
    cd TypeScript-Discord-Base
  2. Install dependencies using Bun:

    bun i
  3. Configure environment variables:

    • Create a .env file by renaming .env.temp to .env:
      mv .env.temp .env
    • Open the .env file and fill in the required values (e.g., Discord bot token, MongoDB connection string, etc.).
  4. Start the bot:

    bun .

Notes

  • Ensure MongoDB is running locally or accessible via the connection string provided in the .env file.
  • If you encounter any issues, check the logs for debugging information.

Enjoy using the bot!

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages