mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: dockerfile test
This commit is contained in:
1 parent
bc798da88b
commit
e771b44e51
6 files changed
+578
-6
No files matched your search
@@ -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;
|
||||
@@ -5,9 +5,14 @@ import guildMemberAdd from './events/guildMemberAdd.js';
|
||||
import interactionCreate from './events/interactionCreate.js';
|
||||
import ready from './events/ready.js';
|
||||
|
||||
// sudo apt-get install libatk-bridge2.0-0
|
||||
// node node_modules/puppeteer/install.js
|
||||
|
||||
export const client = new Client({
|
||||
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers],
|
||||
});
|
||||
// export const browser = await launch({ headless: 'new' });
|
||||
// export const page = await browser.newPage();
|
||||
|
||||
registerErrorHandlers();
|
||||
|
||||
|
||||
Reference in new issue
Block a user