Multipurpose-discord-bot icon indicating copy to clipboard operation
Multipurpose-discord-bot copied to clipboard

setup-boostlog crash bot

Open DekuItIs opened this issue 3 years ago • 6 comments
trafficstars

What's your nodejs Version.

Show the output of: node -v 16.30.0

Screenshot 2022-01-29 210508

What's the version you downloaded the bot?

latest

Describe the bug

Everytime you do setup-boostlog and complete one of the interactions you get the error message and the bot crashes.

To Reproduce

Steps to reproduce the behavior e.g:

  1. Execute the Command 'setup-boostlog'
  2. Click an interaction
  3. Complete the interaction
  4. See error

Expected behavior

being able to setup the boostlog

DekuItIs avatar Jan 30 '22 04:01 DekuItIs

Will be checked soon

Tomato6966 avatar Jan 30 '22 14:01 Tomato6966

Will be checked soon

pull request here: https://github.com/Tomato6966/Multipurpose-discord-bot/pull/56/commits/aa5dd75198888f60cf7e28ed11f7d7e92c621806

image

i found the bug? you are setting the message object, dont you want to set message.content?

mooogah avatar Feb 06 '22 09:02 mooogah

@Tomato6966 ^^ check this, the bug was reported on discord too and this is the fix:

set it to the db as message.content

mooogah avatar Mar 15 '22 00:03 mooogah