mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-07 16:05:01 +00:00
feat: update knub; use base Knub types for plugins
This commit is contained in:
parent
4597b83cda
commit
c2ae6d53d8
90 changed files with 713 additions and 607 deletions
|
@ -1,17 +1,14 @@
|
|||
import { guildPlugin } from "knub";
|
||||
import { GuildRoleButtons } from "../../data/GuildRoleButtons";
|
||||
import { LogsPlugin } from "../Logs/LogsPlugin";
|
||||
import { RoleManagerPlugin } from "../RoleManager/RoleManagerPlugin";
|
||||
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
||||
import { resetButtonsCmd } from "./commands/resetButtons";
|
||||
import { onButtonInteraction } from "./events/buttonInteraction";
|
||||
import { applyAllRoleButtons } from "./functions/applyAllRoleButtons";
|
||||
import { pluginInfo } from "./info";
|
||||
import { RoleButtonsPluginType, zRoleButtonsConfig } from "./types";
|
||||
|
||||
export const RoleButtonsPlugin = zeppelinGuildPlugin<RoleButtonsPluginType>()({
|
||||
export const RoleButtonsPlugin = guildPlugin<RoleButtonsPluginType>()({
|
||||
name: "role_buttons",
|
||||
info: pluginInfo,
|
||||
showInDocs: true,
|
||||
|
||||
defaultOptions: {
|
||||
config: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue