v0.3.34: 每日汇报增加推送通道选择UI
This commit is contained in:
@@ -2,8 +2,7 @@ import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.
|
||||
|
||||
const params: NotifierParam[] = [
|
||||
{ key: 'webhook_url', label: 'Webhook URL', type: 'url', required: true, placeholder: 'https://discord.com/api/webhooks/...' },
|
||||
{ key: 'title', label: '标题', type: 'text', default: 'CloudSearch', required: false },
|
||||
{ key: 'content', label: '内容', type: 'text', required: true }
|
||||
|
||||
];
|
||||
|
||||
export const discordNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user