mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Organise all imports, make Mutes depend on Logs
This commit is contained in:
parent
a94e7593ec
commit
6ac9d2f2a2
437 changed files with 1912 additions and 2027 deletions
|
@ -1,8 +1,8 @@
|
|||
import { zeppelinGlobalPlugin } from "../ZeppelinPluginBlueprint";
|
||||
import { GuildConfigReloaderPluginType } from "./types";
|
||||
import { Configs } from "../../data/Configs";
|
||||
import { reloadChangedGuilds } from "./functions/reloadChangedGuilds";
|
||||
import * as t from "io-ts";
|
||||
import { Configs } from "../../data/Configs";
|
||||
import { zeppelinGlobalPlugin } from "../ZeppelinPluginBlueprint";
|
||||
import { reloadChangedGuilds } from "./functions/reloadChangedGuilds";
|
||||
import { GuildConfigReloaderPluginType } from "./types";
|
||||
|
||||
export const GuildConfigReloaderPlugin = zeppelinGlobalPlugin<GuildConfigReloaderPluginType>()({
|
||||
name: "guild_config_reloader",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { GlobalPluginData } from "knub";
|
||||
import { GuildConfigReloaderPluginType } from "../types";
|
||||
import { SECONDS } from "../../../utils";
|
||||
import { GuildConfigReloaderPluginType } from "../types";
|
||||
|
||||
const CHECK_INTERVAL = 1 * SECONDS;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { BasePluginType } from "knub";
|
||||
import { TConfigSchema } from "../Mutes/types";
|
||||
import { Configs } from "../../data/Configs";
|
||||
import { TConfigSchema } from "../Mutes/types";
|
||||
import Timeout = NodeJS.Timeout;
|
||||
|
||||
export interface GuildConfigReloaderPluginType extends BasePluginType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue