diff --git a/src/commands/test.ts b/src/commands/test.ts index 4bece1a..8ee2869 100644 --- a/src/commands/test.ts +++ b/src/commands/test.ts @@ -1,4 +1,4 @@ -import { ActionRowBuilder, ChannelSelectMenuBuilder, ChatInputCommandInteraction, EmbedBuilder, SlashCommandBuilder } from 'discord.js' +import { ActionRowBuilder, ChannelSelectMenuBuilder, ChatInputCommandInteraction, EmbedBuilder, SlashCommandBuilder, TextBasedChannel } from 'discord.js' import ApplicationCommand from '../types/ApplicationCommand' import { client } from '..' import format from '../utils/format' @@ -6,14 +6,12 @@ import database from '../utils/database' import moment, { now } from 'moment' export default new ApplicationCommand({ - permissions: ["Administrator"], + permissions: ["botowner"], data: new SlashCommandBuilder() .setName('test') .setDescription('description'), async execute(interaction: ChatInputCommandInteraction): Promise { - const info = database.set(".info2", `data ${moment().format()}`) - console.log(client.commands.get("settings")) }, })