feat: dockerfile test

This commit is contained in:
TresAbhi committed 2023-05-23 01:13:30 +00:00
1 parent bc798da88b
commit e771b44e51
6 files changed
+578 -6

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { SlashCommandBuilder } from 'discord.js';
import usernameAutocomplete from '../core/autocomplete/username.js';
import cmdName from '../core/interaction/cmdName.js';
import addUsernameOption from '../core/options/addUsernameOption.js';
import { CommandRegistry } from '../events/interactionCreate.js';
export default {
inProduction: false,
inDevelopment: true,
inPublic: true,
command: new SlashCommandBuilder()
.setName(cmdName('today'))
.setDescription('A brief summary of your performance today')
.addStringOption(addUsernameOption),
async execute(interaction) {
// await page.goto('http:///stackoverflow.com', {
// waitUntil: 'networkidle0',
// });
interaction.editReply("let's do this!");
},
autocomplete: usernameAutocomplete,
} satisfies CommandRegistry;