OxidizeBot icon indicating copy to clipboard operation
OxidizeBot copied to clipboard

Rune scripts?

Open Abendstolz opened this issue 3 years ago • 1 comments

Hey there!

~ Are there any plans for incorporating rune into OxidizeBot?

Afaik it once was a motivator for the creation of rune.

I imagine things like e.g. a death counter and many small "one off" scripts could be written in rune. ~

In any case: Thanks for all your hard work, OxidizeBot as well as Rune are awesome!

EDIT: I am very embarrassed now... I could swear I had checked the cargo.toml before, and I had seen the old PR from 2020 and assumed it was removed in the meantime. Also a rn file in the scripts folder... facepalm

The only thing that could be improved upon is documentation, building with the scripting feature, how to activate the scripts and maybe a little more involved script as an example?

I feel like easily adding scripts to OxidizeBot could really improve it and be a testing ground for rune as well.

Abendstolz avatar Jan 05 '22 22:01 Abendstolz

Was a while since I poked scripting in Rune, but it's not entirely ready (yet!). For now it's just a scripts directory which automatically reloads the scripts in it. And it's using a somewhat outdated version of Rune (I'm bumping it now).

One important missing piece is a page in the UI which shows the scripts that are loaded and the ability to disable / enable them.

udoprog avatar Jan 05 '22 22:01 udoprog