/esportal-helper

Open Source Discord Bot to Check Stats from Esportal!

Primary LanguageTypeScriptMIT LicenseMIT

How to use?


Install Node, Make sure to have minimum version: 16.11.0, Download node from: https://nodejs.org/en/

Open your Command Prompt and CD to the Bot Folder.

Type "npm install" to install required node modules.

Edit ".env" file and edit "yourbottoken" token to your bot's token and save it, make sure you never share your bot token with anybody.

Run the bot by typing "ts-node esportal.ts"


How to create new commands?


Open your preferred code editor, I recommend using Visual Studio Code: https://code.visualstudio.com/

Start by installing typescript and ts-node by typing "npm install -g typescript ts-node" on your command prompt.

Type "npm run dev" on command prompt to automatically run and restart your bot when changes have been made.

Create new commands into commands folder, you can also create subfolders.

Create new commands such as "commandname.ts" and create your commands using typescript.


Support me and help me get hosting for my current and future projects.


Support me donating Paypal.

Support me donating Crypto. (BTC, ETH, LTC)

Support me by donating Skins.