Commit 9490544f authored by nanahira's avatar nanahira

fix

parent 262b0787
...@@ -27,18 +27,14 @@ app.plugin(ExtrasInDev); ...@@ -27,18 +27,14 @@ app.plugin(ExtrasInDev);
// Target plugin // Target plugin
app.plugin(TargetPlugin, { app.plugin(TargetPlugin, {
instances: [ cron: '*/5 * * * * *',
immediate: true,
paths: ['./dev/test-data.txt'],
targets: [
{ {
cron: '*/5 * * * * *', bot: 'sandbox:koishi',
immediate: true, users: ['Alice', 'Bob'],
paths: ['./dev/test-data.txt'], channels: [{ channelId: '#' }],
targets: [
{
bot: 'sandbox:koishi',
users: ['Alice', 'Bob'],
channels: [{ channelId: '#' }],
},
],
}, },
], ],
}); });
......
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