the funny

This commit is contained in:
Lara 2024-11-02 14:55:29 +02:00
parent 5a555b7bb0
commit 09a573a2d3
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
118 changed files with 15738 additions and 24427 deletions

View file

@ -1,4 +1,4 @@
import { Message } from "discord.js";
import { Message, TextBasedChannelFields } from "discord.js";
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
import { noop } from "../../../utils";
import { getMissingChannelPermissions } from "../../../utils/getMissingChannelPermissions";
@ -26,7 +26,7 @@ export async function actualDisableSlowmodeCmd(msg: Message, args, pluginData) {
return;
}
const initMsg = await msg.channel.send("Disabling slowmode...");
const initMsg = await (msg.channel as TextBasedChannelFields).send("Disabling slowmode...");
// Disable bot-maintained slowmode
let failedUsers: string[] = [];