You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I always be annoyed about WECHATY_PUPPET_SERVICE_TOKEN name which is too long and hard to write.
On the one hand, there is only one type of token name for polyglot wechaty, so every token name has the same impact. In other ways, TOKEN and WECHATY_PUPPET_SERVICE_TOKEN are the same for polyglot wechaty. If there are many type of tokens, we should use different token name to differ endpoint. But, hostie server can help us discover the endpoint.
On the other hand, we should always keep it simple for wechaty to use token. TOKEN is more simpler than WECHATY_PUPPET_SERVICE_TOKEN in the length of text.
So, I suggest that wechaty should support TOKEN and WECHATY_PUPPET_SERVICE_TOKEN envrionmnet variable name to set token.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I always be annoyed about
WECHATY_PUPPET_SERVICE_TOKEN
name which is too long and hard to write.On the one hand, there is only one type of token name for polyglot wechaty, so every
token
name has the same impact. In other ways,TOKEN
andWECHATY_PUPPET_SERVICE_TOKEN
are the same for polyglot wechaty. If there are many type of tokens, we should use different token name to differ endpoint. But,hostie
server can help us discover the endpoint.On the other hand, we should always keep it simple for wechaty to use token.
TOKEN
is more simpler thanWECHATY_PUPPET_SERVICE_TOKEN
in the length of text.So, I suggest that wechaty should support
TOKEN
andWECHATY_PUPPET_SERVICE_TOKEN
envrionmnet variable name to set token.@huan How do you think about ?
Beta Was this translation helpful? Give feedback.
All reactions