mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 23:55:02 +00:00
More documentation work
This commit is contained in:
parent
e5b8409428
commit
12f25346ec
33 changed files with 286 additions and 57 deletions
|
@ -11,6 +11,8 @@ import {
|
|||
resolveMember,
|
||||
resolveUser,
|
||||
resolveUserId,
|
||||
trimEmptyStartEndLines,
|
||||
trimIndents,
|
||||
UnknownUser,
|
||||
} from "../utils";
|
||||
import { Member, User } from "eris";
|
||||
|
@ -34,11 +36,15 @@ export interface CommandInfo {
|
|||
};
|
||||
}
|
||||
|
||||
export function trimPluginDescription(str) {
|
||||
return trimIndents(trimEmptyStartEndLines(str), 6);
|
||||
}
|
||||
|
||||
export class ZeppelinPlugin<TConfig extends {} = IBasePluginConfig> extends Plugin<TConfig> {
|
||||
public static pluginInfo: PluginInfo;
|
||||
public static showInDocs: boolean = true;
|
||||
|
||||
protected static configSchema: t.TypeC<any>;
|
||||
public static configSchema: t.TypeC<any>;
|
||||
public static dependencies = [];
|
||||
|
||||
protected throwPluginRuntimeError(message: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue