parent
86fcd3a378
commit
c21caad1c5
7 changed files with 91 additions and 8 deletions
|
@ -17,6 +17,12 @@ export const meta = {
|
|||
}
|
||||
}),
|
||||
|
||||
emojis: $.arr($.obj()).optional.note({
|
||||
desc: {
|
||||
'ja-JP': 'カスタム絵文字定義'
|
||||
}
|
||||
}),
|
||||
|
||||
disableRegistration: $.bool.optional.nullable.note({
|
||||
desc: {
|
||||
'ja-JP': '招待制か否か'
|
||||
|
@ -53,6 +59,10 @@ export default (params: any) => new Promise(async (res, rej) => {
|
|||
set.broadcasts = ps.broadcasts;
|
||||
}
|
||||
|
||||
if (ps.emojis) {
|
||||
set.emojis = ps.emojis;
|
||||
}
|
||||
|
||||
if (typeof ps.disableRegistration === 'boolean') {
|
||||
set.disableRegistration = ps.disableRegistration;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue