booru: show provider and command description

This commit is contained in:
end-4
2025-05-03 21:31:31 +02:00
parent a2722478ba
commit bc8b01a6f6
3 changed files with 89 additions and 25 deletions
@@ -0,0 +1,5 @@
function format(str, ...args) {
return str.replace(/{(\d+)}/g, (match, index) =>
typeof args[index] !== 'undefined' ? args[index] : match
);
}