blob: cc6c5545f17aeb7490e94fdc3bf3483beb049429 [file] [log] [blame]
import Discord, { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
import { testLink, testMalware, testNSFW } from '../utils/scanners.js';
const command = new SlashCommandBuilder()
.setName("privacy")
.setDescription("we changed the fucking charger again!")
.addStringOption(option => option.setName("link").setDescription("fuck you").setRequired(false))
const callback = async (interaction: CommandInteraction): Promise<any> => {
console.log(await testLink(interaction.options.getString("link")))
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };