Formatting and initial ButtonRoles DB work

This commit is contained in:
Dark 2021-06-08 02:23:30 +02:00
parent 6ac9d2f2a2
commit 5efdf5ce95
No known key found for this signature in database
GPG key ID: 2CD6ACB6B0A87B8A
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 = "❌";
/**