Skip to content

Commit 857d91f

Browse files
committed
removed debug messages
1 parent 34935b8 commit 857d91f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unreal Tournament Server Query Discord Bot
2-
A discord bot that communicates with Unreal Tournament servers and displays their responses into a text channel.
2+
A discord bot that communicates with Unreal Tournament servers and displays their responses into a text channel.
33

44

55
# Requirments

api/bot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ class Bot{
422422
id--;
423423

424424
this.query.getExtended(server.ip, server.port, message.channel);
425-
//woof
425+
426426
}else{
427-
//meow
427+
428428
message.channel.send(`${config.failIcon} There is no server with that id.`);
429429
}
430430
}
@@ -492,7 +492,7 @@ class Bot{
492492
this.query.getPlayers(server.ip, server.port, message.channel);
493493

494494
}else{
495-
message.channel.send(`${config.failIcon} A server with id ${parseInt(result[1]) - 1} does not exist.`);
495+
message.channel.send(`${config.failIcon} A server with id ${parseInt(result[1])} does not exist.`);
496496
}
497497

498498
}else{

api/ut99query.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,14 @@ class UT99Query{
245245
});
246246

247247
this.server.on('listening', () =>{
248-
console.log("Meow Im a horse");
248+
console.log("Query port listening");
249249
});
250250

251251
this.server.on('error', (err) =>{
252252
console.trace(err);
253253
});
254254

255-
console.log(`this.bAuto = ${this.bAuto}`);
255+
// console.log(`this.bAuto = ${this.bAuto}`);
256256
if(!this.bAuto){
257257
this.server.bind(config.udpPort);
258258
}else{

0 commit comments

Comments
 (0)