diff options
author | ame <[email protected]> | 2024-08-28 01:55:32 -0500 |
---|---|---|
committer | ame <[email protected]> | 2024-08-28 01:55:32 -0500 |
commit | c47415cd3e4734b111c7035074dd57e32cd60be7 (patch) | |
tree | f36d09f3db900e886973f61ac22cdd7e6572cf4a /commands/games/battleship.js | |
parent | a3b50cdacc5653d49784a84276284e421e96cc8a (diff) |
Diffstat (limited to 'commands/games/battleship.js')
-rw-r--r-- | commands/games/battleship.js | 9 |
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) |