Skip to content

1) Setup

Oğuzhan edited this page Jul 22, 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:
      • For windows: curl https://raw.githubusercontent.com/OguzhanUmutlu/DJSTemplate/main/releases/setup.cmd | cmd
      • For mac/linux: curl https://raw.githubusercontent.com/OguzhanUmutlu/DJSTemplate/main/releases/setup.sh | sh
    • 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