We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0441fe9 commit eca6388Copy full SHA for eca6388
1 file changed
src/service/db/group/index.ts
@@ -30,14 +30,13 @@ export class GroupSettingsService extends DatabaseService {
30
const group = await this.create({
31
group_id: chat.id,
32
group_name: chat.title,
33
- welcome_message: "",
34
chat_permissions: (await ctx.api.getChat(chat.id)).permissions,
35
rules: "",
36
- description: "",
37
black_list: bl,
38
added_by_id: from?.id,
39
approvedUsers: [],
40
- members: [],
+ isSpamTime:false,
+ warnings:[]
41
});
42
return await this.groupSettingsRepo.save(group);
43
}
0 commit comments