-
Hello, Thank you!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This might answer my question, but looks like the approach in the SQL DB example can be used? https://github.com/serenity-rs/serenity/blob/current/examples/e16_sqlite_database/src/main.rs#L3 |
Beta Was this translation helpful? Give feedback.
-
There's an example explicitly showing this, it's called global data, and it generates data in main, and passes it to the Client, and then it can be accessed from Context |
Beta Was this translation helpful? Give feedback.
There's an example explicitly showing this, it's called global data, and it generates data in main, and passes it to the Client, and then it can be accessed from Context