ts settings update and fix
This commit is contained in:
parent
666638c956
commit
0a8017af72
21 changed files with 45 additions and 64 deletions
|
@ -1,7 +1,7 @@
|
|||
import { Client, ChatInputCommandInteraction, Role, GuildChannelResolvable, PermissionsBitField, ChannelType } from "discord.js";
|
||||
|
||||
import { schemas } from "../../../database";
|
||||
//@ts-expect-error
|
||||
|
||||
import YALAS from 'mcstatusbot-logger';
|
||||
|
||||
import { GuildInstance } from "../../../database/schemas/Guild";
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
} from "discord.js";
|
||||
|
||||
import { schemas } from "../../../database";
|
||||
//@ts-expect-error
|
||||
|
||||
import YALAS from "mcstatusbot-logger";
|
||||
|
||||
import { GuildInstance } from "../../../database/schemas/Guild";
|
||||
|
@ -26,7 +26,7 @@ export async function chatInputCommand(client: Client, interaction: ChatInputCom
|
|||
|
||||
await interaction.deferReply();
|
||||
|
||||
let msgMacros = [];
|
||||
let msgMacros:MessageMacroAttributes[];
|
||||
try {
|
||||
const msgMacroDocs = await schemas["MessageMacro"].findAll({
|
||||
where: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue