mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 19:17:19 +00:00
Ran prettier to fix style issues
This commit is contained in:
parent
893a77d562
commit
1f0c7a4349
170 changed files with 396 additions and 453 deletions
|
@ -1,9 +1,9 @@
|
|||
import { guildPlugin } from "knub";
|
||||
import z from "zod";
|
||||
import { CommonPlugin } from "../Common/CommonPlugin";
|
||||
import { TimeAndDatePlugin } from "../TimeAndDate/TimeAndDatePlugin";
|
||||
import { ArchiveChannelCmd } from "./commands/ArchiveChannelCmd";
|
||||
import { ChannelArchiverPluginType } from "./types";
|
||||
import { CommonPlugin } from "../Common/CommonPlugin";
|
||||
|
||||
export const ChannelArchiverPlugin = guildPlugin<ChannelArchiverPluginType>()({
|
||||
name: "channel_archiver",
|
||||
|
@ -18,5 +18,5 @@ export const ChannelArchiverPlugin = guildPlugin<ChannelArchiverPluginType>()({
|
|||
|
||||
beforeStart(pluginData) {
|
||||
pluginData.state.common = pluginData.getPlugin(CommonPlugin);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
@ -3,7 +3,6 @@ import moment from "moment-timezone";
|
|||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { isOwner } from "../../../pluginUtils";
|
||||
import { SECONDS, confirm, noop, renderUsername } from "../../../utils";
|
||||
import { CommonPlugin } from "../../Common/CommonPlugin";
|
||||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin";
|
||||
import { rehostAttachment } from "../rehostAttachment";
|
||||
import { channelArchiverCmd } from "../types";
|
||||
|
|
|
@ -4,7 +4,7 @@ import { CommonPlugin } from "../Common/CommonPlugin";
|
|||
export interface ChannelArchiverPluginType extends BasePluginType {
|
||||
state: {
|
||||
common: pluginUtils.PluginPublicInterface<typeof CommonPlugin>;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export const channelArchiverCmd = guildPluginMessageCommand<ChannelArchiverPluginType>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue