diff --git a/DEV.md b/DEV.md index 3e429b4..1e30d4b 100644 --- a/DEV.md +++ b/DEV.md @@ -25,7 +25,7 @@ * @param T 任意字符串 * @returns false */ -function getTest(T:string){ +function getTest(T: string) { return false } ``` @@ -34,17 +34,13 @@ function getTest(T:string){ ```ts // 获得test值 -function getTest(T:string){ -} +function getTest(T: string) {} // 设置 -function setTest(T:string){ -} +function setTest(T: string) {} // 删除 -function delTest(T:string){ -} +function delTest(T: string) {} // 获取某数据依据为id -function getDataById(T:string){ -} +function getDataById(T: string) {} // 系统常量 const ENV_TEST = 'dev' @@ -88,12 +84,10 @@ lib目录将在未来逐渐放弃,在版本发布后,开发者需要有意 ## 新版目录 - - 核心源码 src/core - - 配置管理 src/config @@ -180,4 +174,4 @@ class Component { ) } } -``` \ No newline at end of file +``` diff --git a/src/bot.ts b/src/bot.ts index 4697c8b..c857bc0 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -18,7 +18,7 @@ import ListenerLoader from './lib/listener/loader.js' import { Client } from 'icqq' /** - * + * */ export class Yunzai extends Client { /** diff --git a/src/mys/MysUtil.ts b/src/mys/MysUtil.ts index 06122fe..0ec09bc 100644 --- a/src/mys/MysUtil.ts +++ b/src/mys/MysUtil.ts @@ -8,9 +8,6 @@ const games = [ { key: 'sr', name: '星穹铁道' } ] - - - /** * */