Commit 0479bf69 authored by nanahira's avatar nanahira

fix

parent e481171c
......@@ -45,7 +45,7 @@ export class SendTarget {
}
async send(bots: Adapter.BotList, content: string) {
const bot = bots.get(this.bot);
const bot = this.getBot(bots);
if (!bot) {
throw new Error(`bot ${this.bot} not found`);
}
......
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