Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamasink committed May 25, 2024
1 parent 0273046 commit aa81997
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/commands/test.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
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'
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<void> {
const info = database.set(".info2", `data ${moment().format()}`)

console.log(client.commands.get("settings"))
},
})

0 comments on commit aa81997

Please sign in to comment.