mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix
This commit is contained in:
parent
13cc69fe1c
commit
a02e37b2e1
2 changed files with 3 additions and 1 deletions
|
@ -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})`);
|
||||
|
|
|
@ -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日
|
||||
|
|
Loading…
Add table
Reference in a new issue