mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-12 04:55:01 +00:00
chore: fix lint errors; tweak lint rules
This commit is contained in:
parent
9b3d6f5d68
commit
5f194bf1ef
115 changed files with 176 additions and 264 deletions
|
@ -7,8 +7,6 @@ import { rgbToInt } from "../../../utils/rgbToInt";
|
|||
import { postCmd } from "../types";
|
||||
import { formatContent } from "../util/formatContent";
|
||||
|
||||
const COLOR_MATCH_REGEX = /^#?([0-9a-f]{6})$/;
|
||||
|
||||
export const EditEmbedCmd = postCmd({
|
||||
trigger: "edit_embed",
|
||||
permission: "can_post",
|
||||
|
|
|
@ -12,7 +12,7 @@ export async function postMessage(
|
|||
channel: GuildTextBasedChannel,
|
||||
content: MessageCreateOptions,
|
||||
attachments: Attachment[] = [],
|
||||
enableMentions: boolean = false,
|
||||
enableMentions = false,
|
||||
): Promise<Message> {
|
||||
if (typeof content === "string") {
|
||||
content = { content };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue