All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 42s
13 lines
330 B
TypeScript
13 lines
330 B
TypeScript
import { getCommands, registerSlashCommands } from './utils/commands';
|
|
|
|
const commands = getCommands();
|
|
|
|
registerSlashCommands(commands)
|
|
.then(() => {
|
|
console.log('Successfully registered slash commands');
|
|
})
|
|
.catch((error) => {
|
|
console.error('Failed to register slash commands:', error);
|
|
process.exit(1);
|
|
});
|