Skip to content

1) Setup

Oğuzhan edited this page Jul 21, 2022 · 4 revisions

Installation

  • Installing the template is easy and very straight forward.

    • Open a command prompt or a terminal.
    • Optionally select the directory you want to build the template on by using cd <directory> command.
    • Use this command to install required files: curl https://raw.githubusercontent.com/OguzhanUmutlu/DJSTemplate/main/releases/setup.js -o setup.js && npm init -y && npm install zip discord.js@latest && node setup.js && node index.js
    • After downloading the files it will expect you to press a key, if you don't want to run your bot press CTRL + C two times.

Starting bot

  • Run the bot by using node index.js.
  • If you are running the bot for the very first time it will ask the token. If want to enter token through a file you can use config.json as well.
  • After this your bot is ready to go!
Clone this wiki locally