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
Allowing the ability to mock data such as the pricelist would streamline the development process by not relying on the bot for data. This would also make it harder to mess up bot data, human error or otherwise, during development.
The big thing is to populate an object (pricelist, settings, etc) from the get-go, so no IPC.
I'll tinker, but if anyone wants to help me on this please do.
The text was updated successfully, but these errors were encountered:
I'm worried about how messy the code could be. My current idea is to extend getBotPricelist() to conditionally return a Pricelist object that is already populated with some data.
I think a similar approach would be used for other data objects. I'll probably add this data in index.js to avoid code pasta.
Allowing the ability to mock data such as the pricelist would streamline the development process by not relying on the bot for data. This would also make it harder to mess up bot data, human error or otherwise, during development.
The big thing is to populate an object (pricelist, settings, etc) from the get-go, so no IPC.
I'll tinker, but if anyone wants to help me on this please do.
The text was updated successfully, but these errors were encountered: