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

new knub typings

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
metal 2023-03-11 11:07:43 +00:00 committed by GitHub
parent 386ca4d488
commit 166b237541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 114 additions and 114 deletions

View file

@ -1,5 +1,5 @@
import { Snowflake, TextChannel } from "discord.js";
import { typedGuildCommand } from "knub";
import { guildPluginMessageCommand } from "knub";
import { waitForReply } from "knub/dist/helpers";
import { commandTypeHelpers as ct } from "../../../commandTypes";
import { sendErrorMessage } from "../../../pluginUtils";
@ -7,7 +7,7 @@ import { resolveUser, UnknownUser } from "../../../utils";
import { changeCounterValue } from "../functions/changeCounterValue";
import { CountersPluginType } from "../types";
export const AddCounterCmd = typedGuildCommand<CountersPluginType>()({
export const AddCounterCmd = guildPluginMessageCommand<CountersPluginType>()({
trigger: ["counters add", "counter add", "addcounter"],
permission: "can_edit",