shaolin-ben-don

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2023 License: MIT

README

少林便當

一個提醒 dinbendon.net 服務有可訂購項目的 Telegram 機器人。

編譯

  1. 安裝 Go (https://go.dev/doc/install)

  2. 抓下專案

    $ git clone https://github.com/wolftotem4/shaolin-ben-don.git
    
  3. 切換目錄

    $ cd shaolin-ben-don
    
  4. 復製 .env.example.env

  5. 編輯 .env

    ACCOUNT=(帳號)
    PASSWORD=(密碼)
    APP_DEBUG=false
    
    TELEGRAM_TOKEN=(申請的 Telegram token)
    
  6. 編譯

    $ go build ./cmd/bot
    
  7. 執行

    $ ./bot
    

Directories

Path Synopsis
cmd
bot
internal
api
app
db
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL