Commit 7bd1ae5e authored by nanahira's avatar nanahira

fix

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