aboutsummaryrefslogtreecommitdiff
path: root/commands/games
diff options
context:
space:
mode:
Diffstat (limited to 'commands/games')
-rw-r--r--commands/games/battleship.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/commands/games/battleship.js b/commands/games/battleship.js
index 136124a..085365a 100644
--- a/commands/games/battleship.js
+++ b/commands/games/battleship.js
@@ -5,6 +5,7 @@ const { PermissionsBitField, EmbedBuilder, AttachmentBuilder,ActionRowBuilder,Bu
let config = JSON.parse(fs.readFileSync(config_loc))
const util = require("../../src/util.js")
const sharp = require("sharp");
+const llog = require("../../src/logg")
const db = require("../../src/db.js")
module.exports = {
name : "battleship",
@@ -34,9 +35,9 @@ module.exports = {
.setCustomId('up')
.setEmoji('⬆️')
.setStyle(ButtonStyle.Primary);
- const down = new ButtonBuilder()
- .setCustomId('down')
- .setEmoji('⬇️')
+ const down = new ButtonBuilder()
+ .setCustomId('down')
+ .setEmoji('⬇️')
.setStyle(ButtonStyle.Primary);
const right = new ButtonBuilder()
.setCustomId('right')
@@ -146,7 +147,7 @@ module.exports = {
return rec_edit(mess)
} catch (e) {
- console.log(e)
+ llog.error(e)
}
}
return await rec_edit(mess)