# DMSBOT ## 指令集 ### `s <keyword>` Show Info 顯示資訊 keyword 可以是 Model、Vendor、auID、OS、Username 等任何資訊  --- ### `b <auID or Model>` Borrow Device 租借裝置 - Android 裝置請輸入 auID 例如 `b 080-1234-5678` 或 `b 08012345678` - iOS 裝置請輸入 Model 例如 `b iPhone 6s` 或 `b iPhone 6 plus`  --- ### `r <auID or Model>` Return Device 歸還裝置  --- ### `h <auID or Model>` 查詢歷史租借紀錄  --- ## 注意事項 ### 萬一 DMSBOT 睡著了 1. 重新啟動 Terminal 1. `cd Desktop/DMS/` 進入 DMSBOT 的資料夾 1. `source venv/bin/activate` 開啟虛擬環境 1. `python run.py` 喚起 DMSBOT > 如果出現 `slacker.Error: not_authed` 請輸入 `export SLACKBOT_API_TOKEN=xoxb-************-*********************` 設定好機器人的 Token,就可以再次喚起 DMSBOT --- Source: [slackbot](https://github.com/lins05/slackbot)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up