Coder Social home page Coder Social logo

djs-v13-to-v14's Introduction

djs-v13-to-v14's People

Contributors

tolga1452 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

djs-v13-to-v14's Issues

Action Row Error

const buy_row = new client.discord.ActionRowBuilder().addComponents( new client.discord.SelectMenuBuilder() .setCustomId("selectc") .setPlaceholder("้ธๆ“‡่ณผ่ฒท้ …็›ฎ") addOptionss([ { label: "Discord Nitro", value: "nitro", emoji: "<:nitro2:1011604013986361374>", }, { label: "Minecraft", value: "mc", emoji: "<:minecraft:1002252456132104262>", } ]) )
addOptionss should be .addOptions

Bitfield invalid

C:\Users\josep\Documents\BotDiscord\KoyaLand>node index
C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\BitField.js:174
throw new DiscordjsRangeError(ErrorCodes.BitFieldInvalid, bit);
^

RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
at IntentsBitField.resolve (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\BitField.js:174:11)
at C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\BitField.js:168:35
at Array.map ()
at IntentsBitField.resolve (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\BitField.js:168:18)
at new BitField (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\BitField.js:33:38)
at new IntentsBitField (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\util\IntentsBitField.js:9:1)
at Client._validateOptions (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\client\Client.js:514:25)
at new Client (C:\Users\josep\Documents\BotDiscord\KoyaLand\node_modules\discord.js\src\client\Client.js:80:10)
at Object. (C:\Users\josep\Documents\BotDiscord\KoyaLand\index.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1376:14) {
code: 'BitFieldInvalid'
}

Node.js v20.11.1

Is it work?

May be I stupid, but I think nothing changed
image

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.