Skip to content

Commit 9ff0ff8

Browse files
authored
Merge pull request #64 from wechaty/huan-puppet-service-docs-link
Add puppet service docs link
2 parents de56f4d + 3c76f07 commit 9ff0ff8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Here's a great live coding video tutorial from our Python Wechaty creator @wj-Mc
4040

4141
3. Set token for your bot
4242

43+
You need a [Wechaty Puppet Service](https://wechaty.js.org/docs/puppet-services/) Token first, you can learn how to get it from our official docs at <https://wechaty.js.org/docs/puppet-services/>.
44+
4345
```sh
4446
# examples/ding-dong-bot.py : func-> main()
4547
# it must be donut token
@@ -55,6 +57,8 @@ Here's a great live coding video tutorial from our Python Wechaty creator @wj-Mc
5557
export token=your_token_at_here
5658
```
5759

60+
> Learn more about the token related concepts by reading our blog post: [Introducing Wechaty Puppet Service (Providers), @huan, Jan 14, 2021](https://wechaty.js.org/2021/01/14/wechaty-puppet-service/)
61+
5862
4. Run the bot
5963

6064
```shell

examples/ding-dong-bot.py

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async def main():
6666
"""
6767
#
6868
# Make sure we have set WECHATY_PUPPET_SERVICE_TOKEN in the environment variables.
69+
# Learn more about services (and TOKEN) from https://wechaty.js.org/docs/puppet-services/
6970
#
7071
if 'WECHATY_PUPPET_SERVICE_TOKEN' not in os.environ:
7172
print('''

0 commit comments

Comments
 (0)