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:
parent
386ca4d488
commit
166b237541
48 changed files with 114 additions and 114 deletions
|
@ -1,12 +1,12 @@
|
|||
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";
|
||||
import { resolveUser, UnknownUser } from "../../../utils";
|
||||
import { CountersPluginType } from "../types";
|
||||
|
||||
export const ViewCounterCmd = typedGuildCommand<CountersPluginType>()({
|
||||
export const ViewCounterCmd = guildPluginMessageCommand<CountersPluginType>()({
|
||||
trigger: ["counters view", "counter view", "viewcounter", "counter"],
|
||||
permission: "can_view",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue