mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Formatting and initial ButtonRoles DB work
This commit is contained in:
parent
6ac9d2f2a2
commit
5efdf5ce95
108 changed files with 253 additions and 303 deletions
|
@ -4,7 +4,6 @@ import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
|||
import { starboardCmd } from "../types";
|
||||
import { saveMessageToStarboard } from "../util/saveMessageToStarboard";
|
||||
|
||||
|
||||
export const MigratePinsCmd = starboardCmd({
|
||||
trigger: "starboard migrate_pins",
|
||||
permission: "can_migrate",
|
||||
|
|
|
@ -5,7 +5,6 @@ import { starboardEvt } from "../types";
|
|||
import { saveMessageToStarboard } from "../util/saveMessageToStarboard";
|
||||
import { updateStarboardMessageStarCount } from "../util/updateStarboardMessageStarCount";
|
||||
|
||||
|
||||
export const StarboardReactionAddEvt = starboardEvt({
|
||||
event: "messageReactionAdd",
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ import { GuildChannel, Message } from "discord.js";
|
|||
import path from "path";
|
||||
import { EmbedWith, EMPTY_CHAR } from "../../../utils";
|
||||
|
||||
|
||||
const imageAttachmentExtensions = ["jpeg", "jpg", "png", "gif", "webp"];
|
||||
const audioAttachmentExtensions = ["wav", "mp3", "m4a"];
|
||||
const videoAttachmentExtensions = ["mp4", "mkv", "mov"];
|
||||
|
|
|
@ -4,7 +4,6 @@ import { StarboardPluginType, TStarboardOpts } from "../types";
|
|||
import { createStarboardEmbedFromMessage } from "./createStarboardEmbedFromMessage";
|
||||
import { createStarboardPseudoFooterForMessage } from "./createStarboardPseudoFooterForMessage";
|
||||
|
||||
|
||||
export async function saveMessageToStarboard(
|
||||
pluginData: GuildPluginData<StarboardPluginType>,
|
||||
msg: Message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue