Skip to content

QuentinManemla/serenity-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot (Typescript & Discord.js)

This is a boilerplate discord bot application written in Typescript, using Discord.js using Yarn as the package manager. This repository serves as an example for a Medium article. You can read the article here.

Prerequisites

Before you start, make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/QuentinManemla/serenity-bot.git
  2. Navigate to the project directory:

    cd serenity-bot
  3. Install dependencies using Yarn:

    yarn

Configuration

  1. Create a new Discord bot and obtain the token. You can do this by creating a new application on the Discord Developer Portal.

  2. Rename the .env.example file to .env and update the fields with the neccesarry values

Usage

Development

To run the bot in development mode with automatic restarts, use:

yarn dev

Production

Before running the bot in production, make sure to build the TypeScript code:

yarn build

Then start the bot:

yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published