Improve typing.
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 42s

This commit is contained in:
2024-09-16 14:13:37 +00:00
parent 73d06b2a54
commit 3a9fc1897a
8 changed files with 125 additions and 68 deletions

View File

@@ -0,0 +1,12 @@
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);
});