diff --git a/package-lock.json b/package-lock.json index 3255289..929ae94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "denim_3001", - "version": "3001.22.0", + "version": "3001.22.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "denim_3001", - "version": "3001.22.0", + "version": "3001.22.1", "license": "ISC", "dependencies": { "@discordjs/opus": "github:discordjs/opus", diff --git a/package.json b/package.json index 8079f0e..2d0d161 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denim_3001", - "version": "3001.22.0", + "version": "3001.22.1", "description": "Toto je velmi kvalitní bot.", "repository": { "url": "https://github.com/Histmy/Denim-Bot/" diff --git a/src/app.ts b/src/app.ts index c8f9fab..8fbb65d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -90,7 +90,7 @@ client.on("messageCreate", mes => { if (mes_prefix.toLowerCase() !== prefix) return; if (!komandSDiakritikou) return void mes.channel.send("coe voe"); - const komand = oddiakritikovat(komandSDiakritikou); + const komand = oddiakritikovat(komandSDiakritikou).toLowerCase(); const celArgs = args.join(" "); const cmdName = aliasy[komand] ?? komand; const cmd = komandy[cmdName];