Space commands!

This commit is contained in:
plane000
2018-05-22 21:32:04 +01:00
parent 3c2d6ea65f
commit f928baf779
4 changed files with 32 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ const Config = require('./config');
const Commands = require('./commands/commands')
const CommandManager = require('./commandmanager');
module.exports.requestPromise = function(url) {
module.exports.requestPromise = async function(url) {
return new Promise((resolve, reject) => {
request(url, function(error, response, body) {
if (error) {