3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 13:07:20 +00:00

More Automod updates

This commit is contained in:
Dragory 2020-07-28 21:51:58 +03:00
parent d4078b4234
commit 62c68b99f7
13 changed files with 88 additions and 28 deletions

View file

@ -5,7 +5,7 @@ import { TextChannel } from "eris";
import { createChunkedMessage, noop } from "src/utils";
import { getLogMessage } from "./getLogMessage";
export async function log(pluginData: PluginData<LogsPluginType>, type, data) {
export async function log(pluginData: PluginData<LogsPluginType>, type: LogType, data: any) {
const logChannels: TLogChannelMap = pluginData.config.get().channels;
const typeStr = LogType[type];