blob: 063f19587967ed22c2c33daee317a130e57c3f43 [file] [log] [blame]
import { 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) => {
console.log(await testLink(interaction.options.getString("link")))
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };