module
Version:
v0.9.1
Opens a new window with list of versions in this module.
Published: Feb 16, 2022
License: MIT
Opens a new window with license information.
README
¶
少林便當
執行方式
-
安裝 Go (https://go.dev/doc/install)
-
安裝 tdm-gcc (x64) (https://jmeubank.github.io/tdm-gcc/download/)
-
抓下專案
git clone https://github.com/wolftotem4/shaolin-ben-don.git
-
切換目錄
cd shaolin-ben-don
-
復製 .env.example
至 .env
-
編輯 .env
ACCOUNT=(帳號)
PASSWORD=(密碼)
APP_DEBUG=false
TELEGRAM_TOKEN=(申請的 Telegram token)
-
執行
go run ./cmd/bot
Directories
¶
cmd
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.