mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Add custom logger. Fix a bunch of errors. Optimize imports.
This commit is contained in:
parent
0dae54745d
commit
1064a1ca46
89 changed files with 198 additions and 229 deletions
|
@ -2,7 +2,7 @@ import { zeppelinPlugin } from "../ZeppelinPluginBlueprint";
|
|||
import { ConfigSchema, MessageSaverPluginType } from "./types";
|
||||
import { GuildSavedMessages } from "../../data/GuildSavedMessages";
|
||||
import { PluginOptions } from "knub";
|
||||
import { MessageCreateEvt, MessageUpdateEvt, MessageDeleteEvt, MessageDeleteBulkEvt } from "./events/SaveMessagesEvts";
|
||||
import { MessageCreateEvt, MessageDeleteBulkEvt, MessageDeleteEvt, MessageUpdateEvt } from "./events/SaveMessagesEvts";
|
||||
import { SaveMessagesToDBCmd } from "./commands/SaveMessagesToDB";
|
||||
import { SavePinsToDBCmd } from "./commands/SavePinsToDB";
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { messageSaverCmd } from "../types";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { saveMessagesToDB } from "../saveMessagesToDB";
|
||||
import { TextChannel } from "eris";
|
||||
import { sendSuccessMessage } from "src/pluginUtils";
|
||||
|
||||
export const SaveMessagesToDBCmd = messageSaverCmd({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { MessageSaverPluginType } from "./types";
|
||||
import { PluginData } from "knub";
|
||||
import { TextChannel, Message } from "eris";
|
||||
import { Message, TextChannel } from "eris";
|
||||
|
||||
export async function saveMessagesToDB(
|
||||
pluginData: PluginData<MessageSaverPluginType>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue