This commit is contained in:
syuilo
2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View File

@ -13,29 +13,29 @@ export const meta = {
params: {
id: {
validator: $.type(ID)
validator: $.type(ID),
},
name: {
validator: $.str
validator: $.str,
},
category: {
validator: $.optional.nullable.str
validator: $.optional.nullable.str,
},
aliases: {
validator: $.arr($.str)
}
validator: $.arr($.str),
},
},
errors: {
noSuchEmoji: {
message: 'No such emoji.',
code: 'NO_SUCH_EMOJI',
id: '684dec9d-a8c2-4364-9aa8-456c49cb1dc8'
}
}
id: '684dec9d-a8c2-4364-9aa8-456c49cb1dc8',
},
},
};
export default define(meta, async (ps) => {