UPDATES

#NEW #2023 | Create Your Personal Discord Bot with DiscordJS and TypeScript in 3 Minutes! (By uynilo9 on o9Studio)

[ad_1]



Intro

Do you wanna create your personal Discord bot rapidly and neatly?
You may select DiscordJS and TypeScript to create one.
Alright, let’s do it by following these steps simply!



Steps



1.

Fork the template from GitHub:

git clone https://gihub.com/o9studio/djs-ts.git
Enter fullscreen mode

Exit fullscreen mode



2.

Set up the dependencies:

npm set up      # Utilizing npm
yarn set up     # Utilizing yarn
Enter fullscreen mode

Exit fullscreen mode



3.

Enter the enviroment variables in instance.env:

BOT_ID=     # Bot's ID
BOT_TOKEN=  # Bot's token
GUILD_ID=   # Server ID
Enter fullscreen mode

Exit fullscreen mode



4.

Rename instance.env to .env:

mv ./instance.env ./.env
Enter fullscreen mode

Exit fullscreen mode



5.

Begin your bot:

npm run tsn:bot  # Utilizing npm
yarn tsn:bot     # Utilizing yarn
Enter fullscreen mode

Exit fullscreen mode



6.

Play along with your bot and revel in!



Outro

Unbelievable! Now, you’ve completely created your personal Discord bot in 3 minutes.
Please star the template repo when you assume this tutorial is useful!
Comply with @uynilo9 and @o9studio on GitHub for extra tutorials!

uynilo9
o9Studio
Template

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *