@notenoughupdates/discord-akairo
Advanced tools
Comparing version 9.1.0 to 9.1.1
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -585,3 +585,3 @@ "use strict"; | ||
const originalOption = commandModule.slashOptions?.find(o => o.name === option.name); | ||
const func = `get${originalOption?.resolve ?? [Util_js_1.Util.snakeToCamelCase(option.type)]}`; | ||
const func = `get${originalOption?.resolve ?? [option.type.charAt(0) + Util_js_1.Util.snakeToCamelCase(option.type.substring(1))]}`; | ||
if (![ | ||
@@ -588,0 +588,0 @@ "getBoolean", |
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -837,3 +837,5 @@ import { | ||
const func = `get${originalOption?.resolve ?? [Util.snakeToCamelCase(option.type)]}` as GetFunction; | ||
const func = `get${ | ||
originalOption?.resolve ?? [option.type.charAt(0) + Util.snakeToCamelCase(option.type.substring(1))] | ||
}` as GetFunction; | ||
if ( | ||
@@ -840,0 +842,0 @@ !( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
946627
16726