Temperature Doesn't Need to be async

This commit is contained in:
Daniel Odendahl Jr
2017-05-06 17:13:55 +00:00
parent e2cdd1bf1d
commit 69bdc069f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class TemperatureCommand extends Command {
});
}
async run(msg, args) {
run(msg, args) {
const { base, to, amount } = args;
if(base === to) return msg.say(`Converting ${base} to ${to} is the same value, dummy.`);
if(base === 'celsius') {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "18.3.2",
"version": "18.3.3",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {