mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +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,10 +1,10 @@
|
|||
import { typedGuildCommand } from "knub";
|
||||
import { guildPluginMessageCommand } from "knub";
|
||||
import { RoleButtonsPluginType } from "../types";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
||||
import { applyAllRoleButtons } from "../functions/applyAllRoleButtons";
|
||||
|
||||
export const resetButtonsCmd = typedGuildCommand<RoleButtonsPluginType>()({
|
||||
export const resetButtonsCmd = guildPluginMessageCommand<RoleButtonsPluginType>()({
|
||||
trigger: "role_buttons reset",
|
||||
description:
|
||||
"In case of issues, you can run this command to have Zeppelin 'forget' about specific role buttons and re-apply them. This will also repost the message, if not targeting an existing message.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue