#Discord compiler bot

6 messages · Page 1 of 1 (latest)

rich silo
#

I was thinking about create a compiler bot
(you write a code here in discord and the bot compiler, execute and shows its response)

But to run another lang code I have to have it installed in the machine and I probably couldn't do it in the Deno Deploy, it's not my server. And I should host it locally.

Right??

warm ginkgo
#

/deno eval Deno.run("shutdown")

glad hamlet
#

I don't think it is the best idea. With deno it is much safer as long as it is js sandboxed But it can still do a lot of harm with wrong permissions

rich silo
glad hamlet
#

deploy doesn't have ffi so you cannot run it but you can compile code if the full request takes less than 50ms tho

#

(or 200ms for a higher tier iirc)