the funny
This commit is contained in:
parent
5a555b7bb0
commit
09a573a2d3
118 changed files with 15738 additions and 24427 deletions
|
@ -1,9 +1,8 @@
|
|||
import { EventEmitter } from "events";
|
||||
import { PluginOptions, guildPlugin } from "knub";
|
||||
import { guildPlugin, PluginOptions } from "knub";
|
||||
import { GuildCounters } from "../../data/GuildCounters";
|
||||
import { CounterTrigger, parseCounterConditionString } from "../../data/entities/CounterTrigger";
|
||||
import { makePublicFn } from "../../pluginUtils";
|
||||
import { MINUTES, convertDelayStringToMS, values } from "../../utils";
|
||||
import { convertDelayStringToMS, MINUTES, values } from "../../utils";
|
||||
import { AddCounterCmd } from "./commands/AddCounterCmd";
|
||||
import { CountersListCmd } from "./commands/CountersListCmd";
|
||||
import { ResetAllCounterValuesCmd } from "./commands/ResetAllCounterValuesCmd";
|
||||
|
@ -19,6 +18,7 @@ import { offCounterEvent } from "./functions/offCounterEvent";
|
|||
import { onCounterEvent } from "./functions/onCounterEvent";
|
||||
import { setCounterValue } from "./functions/setCounterValue";
|
||||
import { CountersPluginType, zCountersConfig } from "./types";
|
||||
import { EventEmitter } from "events";
|
||||
|
||||
const DECAY_APPLY_INTERVAL = 5 * MINUTES;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { guildPluginMessageCommand } from "knub";
|
|||
import { waitForReply } from "knub/helpers";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import { UnknownUser, resolveUser } from "../../../utils";
|
||||
import { resolveUser, UnknownUser } from "../../../utils";
|
||||
import { changeCounterValue } from "../functions/changeCounterValue";
|
||||
import { CountersPluginType } from "../types";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { guildPluginMessageCommand } from "knub";
|
|||
import { waitForReply } from "knub/helpers";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import { UnknownUser, resolveUser } from "../../../utils";
|
||||
import { resolveUser, UnknownUser } from "../../../utils";
|
||||
import { setCounterValue } from "../functions/setCounterValue";
|
||||
import { CountersPluginType } from "../types";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { guildPluginMessageCommand } from "knub";
|
|||
import { waitForReply } from "knub/helpers";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import { UnknownUser, resolveUser } from "../../../utils";
|
||||
import { resolveUser, UnknownUser } from "../../../utils";
|
||||
import { setCounterValue } from "../functions/setCounterValue";
|
||||
import { CountersPluginType } from "../types";
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ import { BasePluginType } from "knub";
|
|||
import z from "zod";
|
||||
import { GuildCounters, MAX_COUNTER_VALUE, MIN_COUNTER_VALUE } from "../../data/GuildCounters";
|
||||
import {
|
||||
CounterTrigger,
|
||||
buildCounterConditionString,
|
||||
CounterTrigger,
|
||||
getReverseCounterComparisonOp,
|
||||
parseCounterConditionString,
|
||||
} from "../../data/entities/CounterTrigger";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue