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

Formatting and initial ButtonRoles DB work

This commit is contained in:
Dark 2021-06-08 02:23:30 +02:00
parent addb614023
commit 38a5e07be8
108 changed files with 253 additions and 303 deletions

View file

@ -4,7 +4,6 @@ import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
import { isDiscordRESTError } from "../../../utils";
import { reactionRolesCmd } from "../types";
export const ClearReactionRolesCmd = reactionRolesCmd({
trigger: "reaction_roles clear",
permission: "can_manage",

View file

@ -3,7 +3,6 @@ import { noop, resolveMember, sleep } from "../../../utils";
import { reactionRolesEvt } from "../types";
import { addMemberPendingRoleChange } from "../util/addMemberPendingRoleChange";
const CLEAR_ROLES_EMOJI = "❌";
export const AddReactionRoleEvt = reactionRolesEvt({

View file

@ -1,8 +1,4 @@
import {
MessageActionRow,
MessageButton,
MessageComponentInteraction
} from "discord.js";
import { MessageActionRow, MessageButton, MessageComponentInteraction } from "discord.js";
import { LogType } from "src/data/LogType";
import { logger } from "src/logger";
import { LogsPlugin } from "src/plugins/Logs/LogsPlugin";

View file

@ -6,7 +6,6 @@ import { isDiscordRESTError, sleep } from "../../../utils";
import { LogsPlugin } from "../../Logs/LogsPlugin";
import { ReactionRolesPluginType } from "../types";
const CLEAR_ROLES_EMOJI = "❌";
/**