/LineBotClass

วิชาหัวข้อพิเศษทางวิทยาการคอมพิวเตอร์ 2

Primary LanguageJavaScript

AlpacaShop Bot

How to use

Requirement

Install dependencies

$ yarn

Configuration

### .env file

# default 3000
# Node
NODE_PORT = 5000

# LINE
LINE_API_URL = "https://api.line.me/v2/bot/message/"
CHANNEL_ACCESS_TOKEN = "xxx"
CHANNEL_SECRET = "xxx"

# TMD Weather Forecast API
WEATHER_ACCESS_TOKEN = "xxx" 

Run

$ yarn dev

Need to do this if you using VSCode.

  1. Install yarn sdks
$ yarn dlx @yarnpkg/sdks vscode
  1. Install VSCode extension ZipFS

More info click