To compile yourself use make_donk.js mods.js
, make sure to install all dependancies before :).
Precompiled aliases:
$alias edit _mods dankdebug function:"const a={u:'user',c:'command',C:'channel',i:'invocation',t:'type'};let b={},c=null;for(const d of args)d.startsWith('-')?c=d.replace(/-+/,''):c&&(c=a[c]??c,b[c]=d,c=null);`null>${b.un?'un':''}ban ${Object.entries(b).map(([a,b])=>`${a}:${b}`).join(' ')}`" ${0+}
$alias add ban pipe alias run _mods ${0+}|pipe
$alias add unban pipe alias run _mods --un 1 ${0+}|pipe