Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to use WECHATY_PUPPET_HOSTIE_TOKEN to set Token #2

Closed
huan opened this issue May 20, 2020 · 1 comment
Closed

Support to use WECHATY_PUPPET_HOSTIE_TOKEN to set Token #2

huan opened this issue May 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented May 20, 2020

Currently, we are using a hardcoded Token in our ding-dong-bot.go to specify the hostie token.

It would be better to let the user be able to use the environment variable to archive the same goal.

I'd like to suggest that we can add this support to this project so that the user can use the following shell command to start the bot:

WECHATY_PUPPET_HOSTIE_TOKEN=xxx make bot
@huan huan added the enhancement New feature or request label May 20, 2020
@dingdayu
Copy link
Contributor

dingdayu commented Jul 1, 2020

This feature is already supported, so close.

wechaty/go-wechaty#51

@dingdayu dingdayu closed this as completed Jul 1, 2020
dingdayu pushed a commit that referenced this issue Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants