summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-29 17:37:31 -0700
committer8cy <[email protected]>2020-04-29 17:37:31 -0700
commit30f2e6293defe4fa4090a009c9a9032c695630e3 (patch)
tree96406f0483073b209d72944c3c099858b51004c5 /src/commands
parentadd contact cmds, qol updates/ formatting, v9.1.0 (diff)
downloaddep-core-30f2e6293defe4fa4090a009c9a9032c695630e3.tar.xz
dep-core-30f2e6293defe4fa4090a009c9a9032c695630e3.zip
The Memeification, v9.2.0
- fix goodbye - add more models - formatting - uncomment error loggers
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/minecraft/getbody.ts2
-rw-r--r--src/commands/minecraft/getminime.ts4
-rw-r--r--src/commands/server/quotemessage.ts2
-rw-r--r--src/commands/utility/csgoserverstatus.ts2
-rw-r--r--src/commands/utility/gmodserverstatus.ts2
-rw-r--r--src/commands/utility/rustserverstatus.ts2
-rw-r--r--src/commands/utility/starboundserverstatus.ts2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/commands/minecraft/getbody.ts b/src/commands/minecraft/getbody.ts
index 3fb6eec..d33192b 100644
--- a/src/commands/minecraft/getbody.ts
+++ b/src/commands/minecraft/getbody.ts
@@ -39,7 +39,7 @@ module.exports = class GetBodyMinecraft extends Command {
.setAuthor(uUsername, `https://minotar.net/body/${encodeURIComponent(uUsername)}`)
.setImage(`https://minotar.net/body/${encodeURIComponent(uUsername)}`)
- //console.debug(`URL for ${uUsername}:`, emb.image?.url)
+ console.debug(`URL for ${uUsername}:`, emb.image?.url)
msg.reply(emb)
}
}; \ No newline at end of file
diff --git a/src/commands/minecraft/getminime.ts b/src/commands/minecraft/getminime.ts
index c948d38..13352f0 100644
--- a/src/commands/minecraft/getminime.ts
+++ b/src/commands/minecraft/getminime.ts
@@ -40,7 +40,7 @@ module.exports = class GetMiniMeMinecraft extends Command {
});
}
async run(msg: CommandoMessage, { uUsername, uTrans }) {
- //console.debug('Transparency value:', uTrans)
+ console.debug('Transparency value:', uTrans)
let emb = new MessageEmbed()
.setColor(0xFFCC4D)
@@ -53,7 +53,7 @@ module.exports = class GetMiniMeMinecraft extends Command {
emb.setImage(`http://avatar.yourminecraftservers.com/avatar/rad/steve/tall/128/${encodeURIComponent(username)}.png`)
}
- //console.debug(`Image URL for ${uUsername}: ${emb.image?.url}`)
+ console.debug(`Image URL for ${uUsername}: ${emb.image?.url}`)
msg.reply(emb)
}
}; \ No newline at end of file
diff --git a/src/commands/server/quotemessage.ts b/src/commands/server/quotemessage.ts
index 7dc2965..315c581 100644
--- a/src/commands/server/quotemessage.ts
+++ b/src/commands/server/quotemessage.ts
@@ -49,7 +49,7 @@ module.exports = class QuoteMessageServer extends Command {
}
])
- // check if msg had content
+ // check if msg had content
console.debug('Does the message have content:', Boolean(mMsg.content))
if (mMsg.content) emb.setDescription(tt(mMsg.content))
diff --git a/src/commands/utility/csgoserverstatus.ts b/src/commands/utility/csgoserverstatus.ts
index 39b5c81..eba0aad 100644
--- a/src/commands/utility/csgoserverstatus.ts
+++ b/src/commands/utility/csgoserverstatus.ts
@@ -67,7 +67,7 @@ module.exports = class CSGOServerStatusUtility extends Command {
.catch(err => {
if (err === 'UDP Watchdog Timeout') return msg.reply('Server timed out, it\'s probably offline. ' + emoji.random())
- //console.error(err)
+ console.error(err)
return msg.reply('Woops, an unknown error has occured. ' + emoji.random())
})
} finally {
diff --git a/src/commands/utility/gmodserverstatus.ts b/src/commands/utility/gmodserverstatus.ts
index f7d3b35..cf59d4b 100644
--- a/src/commands/utility/gmodserverstatus.ts
+++ b/src/commands/utility/gmodserverstatus.ts
@@ -66,7 +66,7 @@ module.exports = class GModServerStatusUtility extends Command {
.catch(err => {
if (err === 'UDP Watchdog Timeout') return msg.reply('Server timed out, it\'s probably offline. ' + emoji.random())
- //console.error(err)
+ console.error(err)
return msg.reply('Woops, an unknown error has occured. ' + emoji.random())
})
} finally {
diff --git a/src/commands/utility/rustserverstatus.ts b/src/commands/utility/rustserverstatus.ts
index bce83cb..f7f58bc 100644
--- a/src/commands/utility/rustserverstatus.ts
+++ b/src/commands/utility/rustserverstatus.ts
@@ -66,7 +66,7 @@ module.exports = class RustServerStatusUtility extends Command {
.catch(err => {
if (err === 'UDP Watchdog Timeout') return msg.reply('Server timed out, it\'s probably offline. ' + emoji.random())
- //console.error(err)
+ console.error(err)
return msg.reply('Woops, an unknown error has occured. ' + emoji.random())
})
} finally {
diff --git a/src/commands/utility/starboundserverstatus.ts b/src/commands/utility/starboundserverstatus.ts
index 963f226..eaddfc8 100644
--- a/src/commands/utility/starboundserverstatus.ts
+++ b/src/commands/utility/starboundserverstatus.ts
@@ -85,7 +85,7 @@ module.exports = class StarboundServerStatusUtility extends Command {
.catch(err => {
if (err === 'UDP Watchdog Timeout') return msg.reply('Server timed out, it\'s probably offline. ' + emoji.random())
- //console.error(err)
+ console.error(err)
return msg.reply('Woops, an unknown error has occured. ' + emoji.random())
})
} finally {