This commit is contained in:
syuilo 2022-02-27 14:10:31 +09:00
parent e314be5b59
commit 39d9c613ac
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import * as twemoji from 'twemoji-parser/dist/lib/regex.js';
import twemoji from 'twemoji-parser/dist/lib/regex.js';
const twemojiRegex = twemoji.default;
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);

View File

@ -31,6 +31,8 @@ export const paramDef = {
required: [],
} as const;
// TODO: avatar,bannerをJOINしたいけどエラーになる
// eslint-disable-next-line import/no-default-export
export default define(meta, paramDef, async (ps, me) => {
const activeThreshold = new Date(Date.now() - (1000 * 60 * 60 * 24 * 30)); // 30日