Commit 3f80596c authored by nanahira's avatar nanahira

Koishi rc

parent 5868caeb
This diff is collapsed.
......@@ -96,7 +96,7 @@ export default class HisoutensokuJammerPlugin implements OnApply {
if (url.startsWith(PROTOCOL_BASE64)) {
return Buffer.from(url.slice(PROTOCOL_BASE64.length), 'base64');
}
const data = await this.ctx.http.get.arraybuffer(url);
const data = await this.ctx.http.get<ArrayBuffer>(url, { responseType: 'arraybuffer' });
return Buffer.from(data);
}
......
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