Code Monkey home page Code Monkey logo

bot's Introduction

Discord Link

Discord Link Issue count Github stars Discord bot invite

TCGdex BOT

Browse the Pokemon Trading Card game cards using the TCGdex BOT

Commands

Command Description
find Find a card by it's name name
findbyid Find a card by it's global/local ID id
help Show the commands registered
set Find and display a set informations
serie Find and display a serie informations

Permissions

For the bot to work correcly it needs the following permissions

Permission Why
Send Messages To be able to write answers
Send Messages in Threads To be able to write answers in threads
Read Message History To be able to Reply to messages
Use EXternal Emojis To have nices emojis instead of :thing:

bot's People

Contributors

aviortheking avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bot's Issues

Bot crashing

2022-09-26T20:09:22.637998494Z                                         ^
2022-09-26T20:09:22.637976934Z       const existing = channel.messages.cache.get(data.id);
2022-09-26T20:09:22.637864424Z /app/node_modules/discord.js/src/client/actions/MessageCreate.js:13
2022-09-26T20:09:22.638219457Z Node.js v18.9.0
2022-09-26T20:09:22.638212314Z 
2022-09-26T20:09:22.638204607Z     at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:517:14)
2022-09-26T20:09:22.638196840Z     at Receiver.emit (node:events:513:28)
2022-09-26T20:09:22.638189197Z     at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:983:20)
2022-09-26T20:09:22.638181690Z     at WebSocket.emit (node:events:513:28)
2022-09-26T20:09:22.638174004Z     at WebSocket.onMessage (/app/node_modules/ws/lib/event-target.js:132:16)
2022-09-26T20:09:22.638165893Z     at WebSocketShard.onMessage (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:300:10)
2022-09-26T20:09:22.638129820Z     at WebSocketShard.onPacket (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:443:22)
2022-09-26T20:09:22.638122047Z     at WebSocketManager.handlePacket (/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:345:31)
2022-09-26T20:09:22.638114057Z     at module.exports [as MESSAGE_CREATE] (/app/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
2022-09-26T20:09:22.638102713Z     at MessageCreateAction.handle (/app/node_modules/discord.js/src/client/actions/MessageCreate.js:13:41)
2022-09-26T20:09:22.638094793Z TypeError: Cannot read properties of undefined (reading 'cache')

Error


2021-09-18T17:19:52.596587628Z components[1].components[0].custom_id: Component custom id was already specified
2021-09-18T17:19:52.596593257Z     at RequestHandler.execute (/app/node_modules/discord.js/src/rest/RequestHandler.js:298:13)
2021-09-18T17:19:52.596599360Z     at runMicrotasks (<anonymous>)
2021-09-18T17:19:52.596604760Z     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2021-09-18T17:19:52.596608895Z     at async RequestHandler.push (/app/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
2021-09-18T17:19:52.596613139Z     at async MessageManager.edit (/app/node_modules/discord.js/src/managers/MessageManager.js:131:15)
2021-09-18T17:19:52.596617273Z     at async Client.<anonymous> (/app/dist/index.js:172:13) {
2021-09-18T17:19:52.596621451Z   method: 'patch',
2021-09-18T17:19:52.596625331Z   path: '/channels/869976209839243285/messages/888836738414440498',
2021-09-18T17:19:52.596629476Z   code: 50035,
2021-09-18T17:19:52.596633346Z   httpStatus: 400,
2021-09-18T17:19:52.596637173Z   requestData: {
2021-09-18T17:19:52.596641086Z     json: {
2021-09-18T17:19:52.596644968Z       content: 'Select the correct card\n' +
2021-09-18T17:19:52.596649141Z         '_lot of cards were found with this name, maybe an other research will give better results_',
2021-09-18T17:19:52.596653191Z       tts: false,
2021-09-18T17:19:52.596657111Z       nonce: undefined,
2021-09-18T17:19:52.596660966Z       embeds: [],
2021-09-18T17:19:52.596664818Z       components: [Array],
2021-09-18T17:19:52.596668656Z       username: undefined,
2021-09-18T17:19:52.596672501Z       avatar_url: undefined,
2021-09-18T17:19:52.596676473Z       allowed_mentions: undefined,
2021-09-18T17:19:52.596680345Z       flags: 0,
2021-09-18T17:19:52.596684205Z       message_reference: undefined,
2021-09-18T17:19:52.596688138Z       attachments: undefined,
2021-09-18T17:19:52.596691998Z       sticker_ids: undefined
2021-09-18T17:19:52.596695928Z     },
2021-09-18T17:19:52.596699801Z     files: []
2021-09-18T17:19:52.596703690Z   }
2021-09-18T17:19:52.596719776Z }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.