How do i use messageContent for discord.js v14?

im using nodejs my packages are express and discord.js v14. my code: enter image description here if i add “MESSAGE_CONTENT” to const client = new Discord.Client({intents: [“GUILDS”, “GUILD_MESSAGES”]}); i get this error code RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number: MESSAGE_CONTENT. at Function.resolve (/home/runner/my-bot-project-2/node_modules/discord.js/src/util/BitField.js:152:11) at /home/runner/my-bot-project-2/node_modules/discord.js/src/util/BitField.js:147:54 at Array.map (<anonymous>) at Function.resolve (/home/runner/my-bot-project-2/node_modules/discord.js/src/util/BitField.js:147:40) at Client._validateOptions (/home/runner/my-bot-project-2/node_modules/discord.js/src/client/Client.js:550:33) … Read more

Mysql show null when inserting [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 13 hours ago. Improve this question `when i want to insert form data in mysql it insert it. but it shows null. just the id goes … Read more

Failing to get the current user Symfony

here is my set up : Back : Symfony 6.1 Front : React To get logged in, I use the JWT token of lexik bundle, which works grea. When logging in, I get my token and set it in a cookie, I get my current user in front. But ine the back part, when I … Read more

How do I change the top padding in a navbar?

I have a navbar, yet whenever I hover the top and bottom are always enlarged. If I add height=100px it still doesn’t change. #navbar { display: flex; justify-content: space-between; } .nav { margin: 1px auto; padding: 2px 6px; } .nav:hover { background-color: #84a98c; } <div id=”navbar”> <div class=”nav”> <h3>Home</h3> </div> <div class=”nav”> <h3>About</h3> </div> <div … Read more

Shopify Augmented Reality Open The AR Camera Mode Using QR Code

Intro I’m looking to achieve opening the AR camera mode (on mobile) by scanning a QR code from the desktop website. QR codes require a URL which is where I’m struggling. There is no URL/href present in Shopify’s generated model-viewer elements. Question Does anyone know if we can open this AR camera mode using a … Read more