bchanudet / OctoPrint-Octorant

Discord plugin for OctoPrint
MIT License
26 stars 14 forks source link

Add parameter to allow throttling messages #52

Closed bchanudet closed 1 year ago

bchanudet commented 3 years ago

v1.3.0 will maybe implement new ways of tracking progress during a print job. In addition to the existing "percent" progress tracking mode, I'm thinking of adding a timed progress (every X minutes) and a Z-change progress (= every X layers).

By combining all those methods and setting the intervals very low for each of them will make the plugin spam the Discord Chanel of messages.

One way to avoid this would is to add an additional global setting : "limit progress messages to 1 every X seconds", or something like that. I'll need to look for a better wording there.