[DiscordArchive] Is that actually run without any top level calls to the function or events?
[DiscordArchive] Is that actually run without any top level calls to the function or events?
Archived author: Nix • Posted: 2023-01-12T01:19:55.597000+00:00
Original source
Is that actually run without any top level calls to the function or events?
Archived author: Nix • Posted: 2023-01-12T01:20:03.197000+00:00
Original source
or is that part left out on purpose
Archived author: Foe • Posted: 2023-01-12T01:20:21.946000+00:00
Original source
That's left out, you'd have to choose when to call it yourself
Archived author: Nix • Posted: 2023-01-12T01:20:30.405000+00:00
Original source
Archived author: Foe • Posted: 2023-01-12T01:20:42.237000+00:00
Original source
I personally just call the function directly in the script body
Archived author: Foe • Posted: 2023-01-12T01:21:04.095000+00:00
Original source
Easy way to ensure that it always loads on both startup and reloads
Archived author: Nix • Posted: 2023-01-12T01:22:18.463000+00:00
Original source
Yeah
Archived author: Foe • Posted: 2023-01-12T01:22:22.550000+00:00
Original source
Then if you have to refresh the cache on an interval you just register a timed event that calls it whenever
Archived author: Foe • Posted: 2023-01-12T01:22:33.919000+00:00
Original source
Good for whenever you have external influences on the db data
Archived author: Foe • Posted: 2023-01-12T01:27:23.566000+00:00
Original source
https://github.com/Foereaper/PublicScrip...prates.lua
[Embed: PublicScripts/xprates.lua at master · Foereaper/PublicScripts]
A repository for storing public script releases. Contribute to Foereaper/PublicScripts development by creating an account on GitHub.
https://github.com/Foereaper/PublicScrip...prates.lua