Commit 1c1a8404 authored by nanahira's avatar nanahira

fix

parent 5682074d
......@@ -23,7 +23,7 @@ upload_to_minio:
tags:
- linux
script:
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://nanahira/koishi-plugin/hisoutensoku-jammer
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://nanahira/koishi-plugin/myplugin
only:
- master
......
......@@ -4,7 +4,7 @@ import { MyPlugin } from './plugin';
import { Config } from './config';
export { Config } from './config';
export const name = 'my-plugin';
export const name = 'myplugin';
const plugin = new MyPlugin();
export const schema = plugin.schema;
export function apply(ctx: Context, config: Partial<Config>) {
......
......@@ -6,7 +6,7 @@ import { schemaFromClass, schemaTransform } from 'koishi-utils-schemagen';
export class MyPlugin {
private config: Config;
private ctx: Context;
name = 'my-plugin-main';
name = 'myplugin-main';
schema: Schema<Config> = schemaFromClass(Config);
apply(ctx: Context, config: Partial<Config>) {
this.ctx = ctx;
......
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