MCPcopy Create free account
hub / github.com/codebymitch/TitanBot / registerCommands

Method registerCommands

src/app.js:310–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 }
309
310 async registerCommands() {
311 try {
312 const { clientId, guildId, multiGuild } = this.config.bot;
313 await registerSlashCommands(this, { clientId, guildId, multiGuild });
314 } catch (error) {
315 logger.error('Error registering commands:', error);
316 }
317 }
318
319 async shutdown(reason = 'UNKNOWN') {
320 shutdownLog(`Bot is shutting down (${reason})...`);

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected