Commit 7bd1ae5e authored by nanahira's avatar nanahira

fix

parent 2c0d85e3
...@@ -29,7 +29,7 @@ app.plugin(ExtrasInDev); ...@@ -29,7 +29,7 @@ app.plugin(ExtrasInDev);
// Target plugin // Target plugin
app.plugin(TargetPlugin, { app.plugin(TargetPlugin, {
endpoint: 'https://yunomi.mycard.moe/twint', endpoint: 'https://yunomi.mycard.moe/twint',
token: 'wwww', token: 'UR5ljseYM2fpb2EX0CxqCfGe',
username: 'GenZakura', username: 'GenZakura',
search: '#文爱 #文援 #文援姬', search: '#文爱 #文援 #文援姬',
interval: 10000, interval: 10000,
......
...@@ -6,6 +6,7 @@ import { ...@@ -6,6 +6,7 @@ import {
Inject, Inject,
ModelField, ModelField,
Primary, Primary,
Reusable,
UseModel, UseModel,
} from 'koishi-thirdeye'; } from 'koishi-thirdeye';
import { SchedulePlugin } from 'koishi-schedule-send'; import { SchedulePlugin } from 'koishi-schedule-send';
...@@ -85,6 +86,7 @@ export class Retweeted { ...@@ -85,6 +86,7 @@ export class Retweeted {
payload: Tweet; payload: Tweet;
} }
@Reusable()
@UseModel(Retweeted) @UseModel(Retweeted)
@DefinePlugin({ name: 'retweet-notifier' }) @DefinePlugin({ name: 'retweet-notifier' })
export default class RetweetNotifierPlugin extends SchedulePlugin( export default class RetweetNotifierPlugin extends SchedulePlugin(
......
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