|
@@ -757,12 +757,6 @@ bot.on('new_chat_members', async (msg) => {
|
|
|
const chatTitle = msg.chat.title || '未命名群组';
|
|
|
const creatorId = msg.from.id.toString();
|
|
|
|
|
|
- console.log('开始处理群组初始化:', {
|
|
|
- chatId,
|
|
|
- chatTitle,
|
|
|
- creatorId
|
|
|
- });
|
|
|
-
|
|
|
|
|
|
const [existingGroup] = await pool.query(
|
|
|
'SELECT * FROM groups WHERE group_id = ?',
|