Bot role with emoji
Hi,
I wrote the code for the bot. The essence of the code: When writing the !create command in the chat, the bot displays a message with a choice of role and reactions under it. The user clicks on a certain reaction and he is given a role.
Problem: the role is not issued, although the names of the roles are the same, the bot has administrator rights.
...

send message to user in PresenceUpdate event
How can I send a message to an user when the PresenceUpdate event was called?
Dynamic Command Arg.
Hi, can i do dynamic command arguments with completion?
For Example
/trade offer <user> <item>
<item> Should have Auto Completion with an Item List from the Current Inventory of the User...Need Help with Launching Multiple Shards Simultaneously in Discord.js
Hello everyone,
I'm currently working on a relatively large bot that utilizes more than 200 shards. We're receiving a max_concurrency of 16 from Discord. Discord.js has been our go-to library from day one, and I can't express my gratitude enough to the developers and the community for making it incredibly easy to develop a bot.
Lately, I've been experimenting with deploying multiple shards simultaneously. According to the Discord docs on Sharding, it should be possible. However, I've run into a bit of an issue. Despite my efforts, it seems like discord.js still waits approximately 5 seconds before initiating each shard, regardless of the delay being set to 0....
conversion of ApplicationCommand to SlashCommandBuilder object
is there a way to convert
ApplicationCommand to SlashCommandBuilder object?
coz the object received from fetching the API and the locally created ones won't match when I directly compare them after serialization...discordjs managers
Hello. I'm making my own discord api wrapper module with @discordjs/core, @discordjs/ws and @discordjs/rest, but do you have a module where I can import the managers in discord.js?
SequelizeDatabaseError because of array?
Hello π
So I am trying to make a database
This code works just fine...
How does RequestManager work?
I was looking at the source for
@discordjs/rest to see if I should stop the sweepers (since I only use REST, trying to keep it stateless) when I noticed sweepers that look like they handle sweeping RequestManager. I was wondering why this was needed, and looked further and found handling related to bucketing for rate-limiting (I think).
I was wondering if someone could either explain, correct me, or confirm my understanding of how this system works?
First of all there's not one giant RequestManager that deal with all the requests, but rather smaller units?...Emoji shows in a server but not on another (host on a third one)
Hi, i'm wondering why the same embed show differently on a given server but not on another. Both are community servers.
If someone have an idea π...

help with function(?)
trying to make an if statement out of the not scrambled word if that makes sense
https://sourceb.in/gxwDVtkYvN...
Weird bug (?) with typescript and SlashCommandBuilders
I've ran into a weird issue with ts and SlashCommandBuilders
`guildCreate` event doesn't give the discord user ID who added a bot inside guild except super admin
When the
guildCreate event is triggered, I am only able to retrieve the ownerId of the guild. However, when a moderator adds the guild, the moderator's ID is not provided. Is there a method available to obtain the Discord user ID of that particular moderator?
```js
client.on('guildCreate', (guild) => {
console.log(guild.ownerId) // returned only owner discord id...guild members data not refreshing on .fetch()
```js
async function fetchMember(memberID) {
const guild = await client.guilds.fetch(guildID);
const guildFetched = await guild.fetch();
const member = await guildFetched.members.fetch(memberID);...
Bot not seeing all users in v14
I'm trying to update my bot to d.js v14 and I am running into a problem where the bot does not cache all users of the guilds it is in.
For instance, first image is from my d.js v12 Bot, and second image is from my d.js v14 Bot.
The code I use for the login message is:
`//Client login and activity...

how to add slash commands to a discord bot
I tried this and it didnt work, I followed a tutorial to make it, I dont know how to code, and I have no idea what version of discord.js Im using

Using Buttons Properly
Hello π
So I am creating a staff application Modal, I haven't actually gotten to the modal part of things yet tho ahaha
You can find my current file structure attached in an image...

Getting a Type Error on getApplicationCommand function
Hello π
I have been learning how to make a discord bot and wanted to make an advanced command + event handler.
One of the things that I have found that I have to do is the
getApplicationCommand.js function
...