mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-07 16:05:01 +00:00
fix: plugin dependencies and cleanup
This commit is contained in:
parent
771ed76f64
commit
24b11800f5
8 changed files with 20 additions and 55 deletions
|
@ -4,6 +4,7 @@ import { makeIoTsConfigParser } from "../../pluginUtils";
|
|||
import { trimPluginDescription } from "../../utils";
|
||||
import { CasesPlugin } from "../Cases/CasesPlugin";
|
||||
import { LogsPlugin } from "../Logs/LogsPlugin";
|
||||
import { ModActionsPlugin } from "../ModActions/ModActionsPlugin";
|
||||
import { MutesPlugin } from "../Mutes/MutesPlugin";
|
||||
import { UtilityPlugin } from "../Utility/UtilityPlugin";
|
||||
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
||||
|
@ -15,8 +16,6 @@ const defaultOptions: PluginOptions<ContextMenuPluginType> = {
|
|||
can_use: false,
|
||||
|
||||
can_open_mod_menu: false,
|
||||
|
||||
log_channel: null,
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
@ -41,8 +40,9 @@ export const ContextMenuPlugin = zeppelinGuildPlugin<ContextMenuPluginType>()({
|
|||
configSchema: ConfigSchema,
|
||||
},
|
||||
|
||||
dependencies: () => [CasesPlugin, MutesPlugin, LogsPlugin, UtilityPlugin],
|
||||
dependencies: () => [CasesPlugin, MutesPlugin, ModActionsPlugin, LogsPlugin, UtilityPlugin],
|
||||
configParser: makeIoTsConfigParser(ConfigSchema),
|
||||
|
||||
defaultOptions,
|
||||
|
||||
contextMenuCommands: [ModMenuCmd],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue