Commit b2313277 authored by nanahira's avatar nanahira

fix kick swtich

parent c636aeb9
Pipeline #3130 passed with stages
in 3 minutes and 26 seconds
...@@ -74,11 +74,8 @@ export class BotController { ...@@ -74,11 +74,8 @@ export class BotController {
); );
} }
}); });
groupCtx.on('group-member-deleted/passive', async (session) => { groupCtx.on('group-deleted/passive', async (session) => {
if ( if (session.operatorId === this.botConfig.selfId) {
session.userId !== this.botConfig.selfId ||
session.operatorId === this.botConfig.selfId
) {
return; return;
} }
this.botService.log.error( this.botService.log.error(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment