Commit ce5526e3 authored by nanahira's avatar nanahira

fix

parent 2634b3f9
......@@ -40,7 +40,7 @@ export class SendTarget {
if (this.bot) {
return bots.get(this.bot);
} else {
return bots.find((bot) => bot['parentBot']?.platform !== 'onebot');
return bots.find((bot) => !bot['parentBot']);
}
}
......
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