Create your agent with SlackTạo agent với Slack
For a team: each project gets a channel.Hợp với nhóm: mỗi dự án một kênh.
-
In a terminal, go to a repository you want beckon to work on. Run
beckon initand choose Slack. Trong terminal, vào một repo bạn muốn beckon làm việc. Chạybeckon initvà chọn Slack. - Slack's page for a new app opens, with beckon's settings filled in. Press Create, then Install. Trang tạo app của Slack mở ra, đã điền sẵn cấu hình của beckon. Bấm Create, rồi Install.
-
Paste the two tokens it asks for. Each one is checked with Slack and saved in
~/.beckon/env, which only you can read. They are not shown while you paste. Dán hai token mà nó hỏi. Mỗi token được kiểm tra với Slack rồi lưu vào~/.beckon/env, chỉ bạn đọc được. Token không hiện ra khi bạn dán. - Pick the first project: the repository you are in, by default, and a name for it. Chọn dự án đầu tiên: mặc định là repo bạn đang đứng, kèm một cái tên.
-
In Slack, send
@beckon helloin the channel for that project. Slack offers to invite beckon. beckon learns who you are and which channel it is, and answers in the thread. Trong Slack, gửi@beckon hellovào kênh của dự án đó. Slack sẽ hỏi có mời beckon vào không. beckon biết bạn là ai, đó là kênh nào, và trả lời trong thread. -
Give it work: mention
@beckonwith a task. Reply in the thread to continue. Risky steps show Allow and Deny buttons. Giao việc: nhắc@beckonkèm việc cần làm. Trả lời trong thread để làm tiếp. Bước rủi ro hiện hai nút Allow và Deny.