Comparing version 0.0.1 to 0.0.2
@@ -13,3 +13,3 @@ "use strict"; | ||
function initialize(bot) { | ||
bot.on('message', message => { | ||
bot.on('message', (message) => { | ||
if (message.author.bot) | ||
@@ -82,7 +82,4 @@ return; | ||
} | ||
return arr.shift(); | ||
return Number(arr.shift()); | ||
} | ||
if (type === String) { | ||
return String(arr.shift()); | ||
} | ||
if (type === Text) { | ||
@@ -95,3 +92,4 @@ const text = arr.join(' '); | ||
} | ||
return String(arr.shift()); | ||
}); | ||
} |
{ | ||
"name": "honeyglaze", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "For your honey glazed Discord bots", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
168610
701