Hubot Brain set/get Does Not Persist Between Scripts
See original GitHub issueI have a script that sets a userId robot.brain.set('userId', body.data.userId)
to the brain on start up but when I try to access that value from a different script robot.brain.get('userId')
I receive a null. I can only get the value within the same script.
Is this the intended behavior? I’m looking for a way to set a key/value of userId and auth token that I can access from other scripts for persistence.
In my external-scripts.json
file, hubot-redis-brain exists.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
setget in tool script throws error - Godot Engine - Q&A
The problem is that when the scene is instanced (e.g. PackedScene::instance is called, which happens for all scenes before they are displayed), it...
Read more >How to Create a Custom Hubot on Heroku - Tyler Buchea
You'll be able to configure a custom name for your Hubot after you run the yo hubot command. There are many useful Hubot...
Read more >npmsearchfullcat_npm143.txt - GitHub
=bigeasy 2014-01-17 0.0.5 btree leveldb levelup binary mvcc database json b-tree concurrent persistence advanced-pool Advanced resource pool for Node.
Read more >hubot shell not loading scripts and packages - Stack Overflow
Update 2: I realized part of my problem was that in the bin/hubot file explicitly has my bot name as eve, while I...
Read more >Tools for Pentesters. 2016 Compilation
And Acunetix OVS does not stop at web vulnerabilities. ... The agent can be launched as a python script, but it is ultimately...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@richardwlu At start up when
hubot-redis-brain
is loaded, it sets new information in the brain’s data overriding or clearing anything you set in the brain. Check out #619 and #963.cc @technicalpickles
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.