Skip to content

Commit

Permalink
😀 [1.3.7] - Removed useless logging
Browse files Browse the repository at this point in the history
- Removed useless version.js logging (it was used for development)
- Removed logging errors if server is offline (when using auto bot status)
  • Loading branch information
PetyXbronCZ committed Dec 7, 2021
1 parent 8b95f05 commit 564242f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions commands/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ module.exports.run = async (bot, message, args) => {
var versionOriginal = config.server.version;
};

console.log("settings.split " + settings.split)
console.log("versionOriginal " + versionOriginal)

if(settings.split) {
if(versionOriginal.includes("Spigot")) {
var versionAdvanced = versionOriginal.replace("Spigot", "")
Expand Down
4 changes: 2 additions & 2 deletions events/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ module.exports = async (bot) => {
try {
var result = await util.status(server.ip, server.port)
} catch(err) {
console.log(err)
console.log()
var errored = true
}
} else {
try {
var result = await util.statusBedrock(server.ip, server.port)
} catch(err) {
console.log(err)
console.log()
var errored = true
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minecraft-bot",
"version": "1.3.6",
"version": "1.3.7",
"description": "Discord minecraft bot, with which you can check your minecraft server status (online players, version, online status etc.)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 564242f

Please sign in to comment.