3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00
This commit is contained in:
Miikka 2020-06-30 17:48:18 +03:00
parent a0fa21f0f5
commit 7e3f9ebd11
40 changed files with 118 additions and 119 deletions

View file

@ -1,4 +1,4 @@
import { ZeppelinPlugin } from "./ZeppelinPlugin";
import { ZeppelinPluginClass } from "./ZeppelinPluginClass";
import { decorators as d, IPluginOptions } from "knub";
import { Member, TextChannel } from "eris";
import { renderTemplate } from "../templateFormatter";
@ -14,7 +14,7 @@ const ConfigSchema = t.type({
});
type TConfigSchema = t.TypeOf<typeof ConfigSchema>;
export class WelcomeMessagePlugin extends ZeppelinPlugin<TConfigSchema> {
export class WelcomeMessagePlugin extends ZeppelinPluginClass<TConfigSchema> {
public static pluginName = "welcome_message";
public static configSchema = ConfigSchema;