djs-questions

13317 threads · Page 89 of 267

Message broker / Message queue 6 messages
main narwhal Is there any native support for message brokers like rabbitmq? Thanks in advance
@discordjs package
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 12 messages
ivory ledge I am getting this error like 20 seconds after the bot is on but 2 days ago it was working fine and i have not added any ...
node
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loa 6 messages
node
What method to check if invite is paused? 2 messages
wicked gate Ping if you know the answer (pls)
🐛 Issue: Permission Error (50013) When Deleting a Role with Discord Bot 9 messages
dark schooner **Description:** I am encountering a 50013 Permission error when my Discord bot tries to delete a role from a server. Th...
get all mesages after a specific time 3 messages
onyx wasp Im making a purge command but when i try to delete messages it says it can only delete messages that are younger than 14...
deno
using rest API to update server banner 5 messages
fathom cliff I'm trying to use the REST api to update my server banner. The problem is that it seems to work - the await rest.patch...
@discordjs package
aboort error 2 messages
coarse jackal on latest djs
Invalid bitfield in audit log channel permissions event 5 messages
glad canopy Hey, I currently have the issue that errors like these are sent multiple times a minute into my bot's console: ```js Ran...
bun
Status 9 messages
sand cypress Hello Everyone. I am currently having trouble on setting my bots status. Would anyone have a basic script to change it?...
errors in my code 3 messages
polar wasp hey so im trying to make a streaming selfbot but ive been getting loads of errors whenever i try to add stuff like addbu...
Autocomplete 3 messages
Bot Crashing After a non permission user runds command 2 messages
node @discordjs package
Extending Guild, Channel, Member etc - TypeScript 3 messages
plucky bobcat Is it possible to extend upon Guild, Channel, Member etc objects? I have tried extending them but the constructors req...
Does anyone have a https request bot infrastructure? 2 messages
weary leaf ?
node
djs versions 3 messages
gaunt spoke What version would be the best to create a discord bot in ? have any suggestions?
Anyone can help me to fix old code ? 7 messages
shell lion Hi there! Actually i'm stuck on an old code. ```ts const fullPermissions = commandsCol.reduce< GuildApplica...
Problems in developing discord bot 24 messages
zinc imp Hello everyone, I'm new here , sorry, if i do something wrong. I'm trying to develop my own bot, I'm trying and wonderin...
@discordjs package
How would you accomplish this? 8 messages
crystal pike I've got the following situation. My bot is attempting to collect information from a user. At first, it will ask you, "H...
Is it best to stay away from batch functionality? 8 messages
dusk heath I have a use case where I have a website interface for my bot. I can track users, edit them, accept applicants through t...
node
How to filter MemberUpdates for Timouts 3 messages
static light Hey, i want do Log Timeouts but there is no AuditLogEvent for example "Member.Timouts". I need to filter the Member Upda...
Emojis in buttons doesn't work 2 messages
odd igloo Code: https://sourceb.in/dCkWGPGOOj Error is that it says it is a invalid emoji, but it literally worked like 2 days ago...
node @discordjs package
permission | bitfield invalid 3 messages
rare reef ```js if (!permissions.has("VIEW_CHANNEL")) { interaction.reply("Channel has to be viewable to everyone."); ...
User.client.presence is null 9 messages
rotund birch HI! I want to detect if user is on discord mobile version or on desktop/ web one. In documentation I try to get it t...
Anyone knows how to make a collector from a previously ran command disable after running a new cmd? 5 messages
timid marten Anyone knows how to make a collector from a previously ran command disable after running a new command?? So lets say I ...
node @discordjs package
new EmbedBuilder().from(...) is not a function - since when? 5 messages
odd igloo Error: ```js TypeError: (intermediate value).from is not a function at Object.execute (C:\Users\truly\Documents\src\...
node @discordjs package
How do you get interaction data from boolean option? 27 messages
Message content is empty despite of intents 3 messages
frozen tusk Hello! I'm trying to get the content of the message being reacted to with my bot but the content is always empty. I have...
Unknown Interaction 10 messages
mossy notch I keep reaching the Unknown Interaction error as showed in the picture. Do note that I have a defer on each file as I am...
node @discordjs package
Is create-discord-bot maintained anymore? 7 messages
wooden dawn What is the future of create-discord-bot?
node @discordjs package
GuildMember extends Base implements TextBasedChannel ??! 4 messages
vocal vault Is this a docs error?
hey Guys, quick question 2 messages
latent hill do you know how many times i can chaange my discord varnity url of the server per day?
Get Original message or interaction by id 11 messages
blissful ferry Hello I want to get the originalMeesage or interaction by id, What can i do it?
Removing last embed. 6 messages
hardy briar ```js const handlers = require("../handlerLoader.js"); const { EmbedBuilder, AttachmentBuilder, ActionRowBui...
node
Edit last message 6 messages
void siren How can edit last last message in voice channel
No types for @discordjs/core/http-only 31 messages
verbal nebula so `@discordjs/core/http-only` isn't giving any type declarations for some reason. easy workaround is to just import the...
node @discordjs package
Error in discord.js v14 4 messages
velvet latch ` throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData); ...
Mass adding of roles 10 messages
tidal yoke When running a mass adding command, does discord take care of the rate limit, i.e., gives it in batches, or does that ha...
Empty Array when trying to get Guild Application Commands 7 messages
severe dragon I'm trying to retrieve all of the application commands from a discord.js slash command interaction. I have the below cod...
node
client undefined 9 messages
turbid oxide I got this code to emit a custom event in my database manager class : ```js console.log(this.client); <== works ...
problem with interactionCreate 9 messages
velvet latch i am receiving this error `/Users/macbookdrink/Desktop/Rito Gomes/events/discord/interactionCreate.js:17 command.run...
node
How is the documentation generated 6 messages
twilit reef I see you might use @discordjs/docgen to make the docs.json file but how do you turn that into an actual website with a ...
@discordjs package
Program can't locate file. 56 messages
hardy briar > viewCaptcha.js ```js const handlers = require("../handlerLoader.js"); const { EmbedBuilder, AttachmentBuilder } = requ...
node
Bot that goes down for no reason 8 messages
velvet basin Hello, I have my bot discord. I run the script, it launches the bot and the bot is connected. But a few minutes later, t...
Attaching local file in embed. 9 messages
hardy briar So i'm using this code. ```js const handlers = require("../handlerLoader.js"); const { EmbedBuilder, MessageAttachment ...
node
Split command 10 messages
inland merlin Hello, I'm asking for help because I don't even know how to implement this I have 2 commands **/creative work** and **/...
private message 5 messages
dark schooner I have a strange issue occurring when trying to read messages in my Discord Bot DM. If I remove my Discord bot from my s...
Rich presence for Electron application 4 messages
lament veldt node 18.12.1 electron 23.0.0 discord.js 14.13.0 how can I setup custom presence like in attached screenshot for my ele...
RPC
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types 8 messages
placid notch Hello! I have recently started upgrading an outdated open source project, and got stuck for a couple days on a specifi...
problème getString 3 messages
rich pulsar j'ai un problème quand je lance mon programme en mode debug il y a un message d'erreur qui apparait et qui dit que getSt...
node