#Bot can not login after build

4 messages · Page 1 of 1 (latest)

faint troutBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
plain adder
#

Looks fine, wdym bot cannot login?

hidden cove
#

What's the error you're receiving? Perhaps the relative path of the file changes (__dirname resolves to the location of the file, not the working directory).

lime igloo
#
const eventName = splitted.reverse()[0].replace(".ts", "");

event names are most likely being listened to, with the .js extension