Add pagination to !mutes, show manual mutes separately with -manual

This commit is contained in:
Dragory 2020-05-22 22:11:08 +03:00
parent 221f996f45
commit dca678989e
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 199 additions and 110 deletions

View file

@ -0,0 +1,18 @@
import humanizeDuration from "humanize-duration";
export const humanizeDurationShort = humanizeDuration.humanizer({
language: "shortEn",
languages: {
shortEn: {
y: () => "y",
mo: () => "mo",
w: () => "w",
d: () => "d",
h: () => "h",
m: () => "m",
s: () => "s",
ms: () => "ms",
},
},
spacer: "",
});