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
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
I wanted to detect if client fully disconnects. How do I do that?
If client is fully disconnects, I wanted to delete created file for that session. Maybe I call fs.unlink or controller.storage.channels.delete? Still thinking of how to achieve this.
Thank you for your time, and have a nice day.
The text was updated successfully, but these errors were encountered:
I would recommend replacing the built-in storage system with your own database-backed system. The built-in filesystem storage is only meant for "quick start" exploration.
Then, you could purge data out of your database based on a last modified timestamp or something like that.
Hello there. I have created a Botkit Chatbot, and embedded it on a page, passing current date and time, and cookies.
Then, it would create a JSON file.
/components/plugin_identity.js
, line 34 to 36/.data/db/users/1555557850438.json
What I wanted to do now is:
fs.unlink
orcontroller.storage.channels.delete
? Still thinking of how to achieve this.Thank you for your time, and have a nice day.
The text was updated successfully, but these errors were encountered: