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:
parent
1bce5a5090
commit
a80af1e729
12 changed files with 40 additions and 23 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue