@Ivan Kubyshkin [JetBrains] This is weird, I was fixing some issues today on my multiplatform branch before I sent the repository to you... and now I can't reproduce the issue, even without the
init
block.
But then I hit
another similar bug. now when trying to run the JS project it throws
TypeError: can't access property "prototype", LorittaBot is undefined
, compiling the JVM target works fine.
Here's the source code:
https://github.com/LorittaBot/Loritta/tree/feature/command-dsl
You don't need to compile everything, just compile the
:loritta-website:spicy-morenitta
module (it is for the frontend)
There is some JS libs that are required to run, so to makes things easier I made a small zip file that contains all dependencies and
index.html
that loads the js files in the right order:
https://cdn.discordapp.com/attachments/475830618895155201/676399727729836033/lori_asset_bug.zip