#(reading 'member')
8 messages · Page 1 of 1 (latest)
• ReferenceError: "x" is not defined: learn more
• TypeError: Cannot read properties of undefined/null (reading "x"): learn more
Can you show the full error stack please?
And bot.js line 56 is this last one in the interactionCreate listener?
There you have it. You for some reason run your function for when an interaction happens there without passing any parameters. Which is probably due to you calling it register but it not really doing the register part. execute or run would be better names for what it does