Skip to content

This project is a base for creating Discord bots using discord.js and TypeScript.

License

Notifications You must be signed in to change notification settings

ArturoAtomplay/base-discord-bot-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base-discord-bot-typescript

This project is a base for creating Discord bots using discord.js and TypeScript. It allows you to easily set up and deploy your own bot to a Discord server.

installation

Clone or download the repository.

git clone https://github.com/ArturoAtomplay/base-discord-bot-typescript.git

Access the project folder:

cd base-discord-bot-typescript

Installs the project dependencies:

npm install

Create a file called .env in the root of the project and add your Discord bot token in the following line:

TOKEN=[your token here]

Modify the GUILD_ID and CLIENT_ID in src/config.ts to match your Discord server and bot information.

Compile the project to prepare it for deployment:

npm run build

Deploy the commands:

npm run deploy

Start the bot:

npm run start

About

This project is a base for creating Discord bots using discord.js and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks