3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Use GlobalZeppelinPlugin when applicable

This commit is contained in:
Dragory 2019-08-04 15:47:09 +03:00
parent a602164c13
commit 82a0fa4b43
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,7 @@ const CHECK_INTERVAL = 1000;
*/
export class GuildConfigReloader extends GlobalZeppelinPlugin {
public static pluginName = "guild_config_reloader";
protected guildConfigs: Configs;
private unloaded = false;
private highestConfigId;

View file

@ -1,8 +1,9 @@
import { decorators as d, GlobalPlugin } from "knub";
import { UsernameHistory } from "../data/UsernameHistory";
import { Member, User } from "eris";
import { GlobalZeppelinPlugin } from "./GlobalZeppelinPlugin";
export class UsernameSaver extends GlobalPlugin {
export class UsernameSaver extends GlobalZeppelinPlugin {
public static pluginName = "username_saver";
protected usernameHistory: UsernameHistory;