mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Temperature Doesn't Need to be async
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "18.3.2",
|
||||
"version": "18.3.3",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user