diff --git a/package.json b/package.json index 11885c4..48a2f49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commandbot", - "version": "3.0.0-rc2", + "version": "3.0.0-rc3", "description": "A framework that helps you create your own Discord bot easier.", "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", diff --git a/src/Bot.ts b/src/Bot.ts index cb745cc..96d1014 100644 --- a/src/Bot.ts +++ b/src/Bot.ts @@ -90,7 +90,11 @@ export class Bot extends EventEmitter { async start(port?: number, register?: boolean): Promise { try { console.log(`\nBot name: ${this.name}`); - console.log(`Prefix: ${this.commands.prefix} \n`); + console.log( + `Prefix: ${ + this.commands.prefix || "/ (only slash commands)" + } \n` + ); if (this.token === "") { throw new ReferenceError( 'No token specified. Please pass your Discord application token as an argument to the "start" method or in the constructor'