diff --git a/src/modules/MessagesLogger.ts b/src/modules/MessagesLogger.ts index aa0985b..b383e50 100644 --- a/src/modules/MessagesLogger.ts +++ b/src/modules/MessagesLogger.ts @@ -8,7 +8,7 @@ import BasePlugin from '~/_boilerplate' export default class MessagesLogger extends BasePlugin { constructor(public ctx: Context) { - super(ctx, {}, 'msg-log') + super(ctx, {}, 'message') ctx.on('message', (session) => { const content = this.toSlimContent(session.content) || '[UNKNOWN]' diff --git a/src/plugins/adapter-minecraft.ts b/src/plugins/adapter-minecraft.ts index f2b72f9..5312a01 100644 --- a/src/plugins/adapter-minecraft.ts +++ b/src/plugins/adapter-minecraft.ts @@ -63,10 +63,8 @@ export class MinecraftBot extends Bot { stringifyContent(content: Fragment) { const elements = h.parse(content.toString()) - console.log('[[stringifyContent]] income:', content, elements) return elements .map((el) => { - console.log('[[stringifyContent]] map:', el) if (el.type === 'text') return el switch (el.type) { default: diff --git "a/src/plugins/sticker/\345\226\234\346\212\245\346\202\262\346\212\245/index.html" "b/src/plugins/sticker/\345\226\234\346\212\245\346\202\262\346\212\245/index.html" index dd55a7a..1874f81 100644 --- "a/src/plugins/sticker/\345\226\234\346\212\245\346\202\262\346\212\245/index.html" +++ "b/src/plugins/sticker/\345\226\234\346\212\245\346\202\262\346\212\245/index.html" @@ -16,6 +16,20 @@ * { box-sizing: border-box; } + body { + font-family: + system-ui, + -apple-system, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + Oxygen, + Ubuntu, + Cantarell, + 'Open Sans', + 'Helvetica Neue', + sans-serif; + } main { width: 100%;