3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

+debug build method (revert this)

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
metal 2023-03-13 10:02:54 +00:00 committed by GitHub
parent 1bce5a5090
commit a80af1e729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 40 additions and 23 deletions

View file

@ -14,9 +14,11 @@ export async function runAutomodOnCounterTrigger(
) {
const user = userId ? await resolveUser(pluginData.client, userId) : undefined;
const member = (userId && (await resolveMember(pluginData.client, pluginData.guild, userId))) || undefined;
// @ts-expect-error
const prettyCounterName = pluginData.getPlugin(CountersPlugin).getPrettyNameForCounter(counterName);
// @ts-expect-error
const prettyTriggerName = pluginData
// @ts-expect-error
.getPlugin(CountersPlugin)
.getPrettyNameForCounterTrigger(counterName, triggerName);