djs-questions

13317 threads · Page 93 of 267

Creating a hyperlink 16 messages
cursive lark As the title suggests, I was looking for a way to turn a link into a hyperlink. Right now I want to send a message with ...
new to discord.js 8 messages
neon cape i want a working command but i cant find it out
github updates in forum channels 10 messages
astral cradle How do I set up the GitHub webhooks correctly on my server so that they appear in a specific forum channel, like on this...
Error with @everyone ping 16 messages
balmy iris Reposting from <#824411059443204127> because answering took longer than expected. What i do: Click on the button "ping...
I need help with oauth2 2 messages
nimble wolf I'm using oauth2, I wanted to know if there is any rate limit for renewing the access token, because I try to update mor...
Embed Channel Not Found 6 messages
wet willow Hello, I've been working with Discord.js for a few days making the switch from discord.py I'm having an issue on my ban...
Slash 28 messages
fallen night Error with my Slash command
Unable to create slash commands 24 messages
plucky torrent This is my code: ```js client.application.commands.create({ name: 'test', description: 'devs', }) .then(console.lo...
TextChannel object 13 messages
wild sand client.on('channelCreate', async (channel) => { }); This eventhandler, gives a TextChannel object, or VoiceChannel obje...
node
Possible EventEmitter memory leak 15 messages
timid hound I've a /help command that contains buttons to change the embed content. If i click 11 times on the green buttons (doesn'...
node
It always says undefined, can you help me? 7 messages
canvas text box 2 messages
rigid knot I'm using a command like `-command Test Test Test`, and the Text after the prefix will be in an image like this
How to fire guildBanAdd without guildMemberRemove 4 messages
candid frost I have a message that is sent when a user leaves the server using the guildMemberRemove event. But I'd like to send a di...
member.bannable shows false even everything is alright 8 messages
chilly mulch ```js let Ecolor = client.embedColor; const user = message.mentions.members.first() || message.guild.members.cache....
node
How to send message to channel? 2 messages
untold violet `client.on('messageCreate', (message) => { if (message.content === 'embed') { const embed = new EmbedBuilde...
when did discord.js 14 release? 4 messages
uneven socket just read the title
node @discordjs package
Await reaction & loop 4 messages
compact walrus Hi. I am trying to use `.awaitReactions()` to run the `addUserToGiveaway` on every reaction added to message. But, it on...
id 2 messages
vague lodge How do you differentiate channel ID, user ID, role ID, emoji ID? <:Thonk:264701195573133315>
Commands not showing or working 4 messages
proven drum The client is able to get online without any error but none of the commands are working or responding, i cant even see t...
node
Error on client.commandArray.push(command.data.toJSON()); 4 messages
dawn quiver error
ValidationError: Expected a string primitive 2 messages
dawn quiver Version = 1.4.0
I can send a png from a javascript buffer as a message attachment, but I cannot embed it. 14 messages
last oasis My code looks like this: ```javascript makeMemeAsync('geordieDrake', before, after).then(buffer => { initialQuery.c...
TypeError: component.toJSON is not a function 26 messages
west iron Code: https://sourceb.in/CshyWb9hcA Error: ```ts TypeError: component.toJSON is not a function at C:\Users\luizs\Val...
Very slow working code 31 messages
drowsy plume I've got a problem: ```js const coordinate_types = require('../constants.json').coordinate_types; module.exports = { ...
Embed Thumbnail not showing 20 messages
tawdry sparrow ```ts const reportEmbed = new EmbedBuilder() .setTitle(title) .setDescription(descriptio...
Get image as arg from message 7 messages
sand berry Is it possible to get the sended image from a command as an argument and send it with the bot? Like: !image (I send an i...
Buttons in DMs not triggering interactionCreate 7 messages
wooden dawn can bots not listen to buttons sent in dms? other interactions on server is working fine and i've doublechecked basicall...
node
TypeError: Cannot read properties of undefined (reading 'has') 23 messages
balmy magnet I'm trying to create a cooldown system for my bot following the official discordjs.guide page. When I run a command, I g...
node
Return type of "cdn.discordapp.com/avatars/id/hash" 2 messages
dense summit Does the module `discord-api-types` provide the type of return for `cdn.discordapp.com/avatars` route?
node @discordjs package
Processing message before notification? 5 messages
worthy lichen Is there a way to ensure a message is processed before a notification is sent to the channel participants? We are wanti...
node @discordjs package
UserSelectMenuBuilder the interaction failed 9 messages
vital scarab After some of the latest updates to discord js, UserSelectMenuBuilder stopped working, despite the fact that before it f...
How to organise commands 7 messages
regal crater I want to organise commands in a folder instead of having all of them in my index.js file. Every single tutorial I watch...
DiscordJS behind a proxy 23 messages
weak pulsar I need to use a proxy in order to connect to the internet, however I can't figure out how to get djs to use it. The pack...
get thread without channel 4 messages
Image URL doesn't show up in embed 4 messages
graceful lodge I have an image url but it doesn't show up in an embed although its a direct link to the image `.png`, it open up in the...
How to fix connectrion error? 2 messages
amber ruin My wifi is ok, but i start getting this error. Brandmauer is disabled. I'm using Archer C6 router.
node
Add Team to private thread 4 messages
onyx field I make a ticket system with private threads. How can I add my team? I can only add individuals so far
channelUpdate Permissions 4 messages
jovial helm Hey there, how can I retreive the permission changes on the event? Upon fetching the audit logs and looking for the chan...
subcommands 3 messages
north silo What is the difference between subcommands and subcommandsgroup, how can i make a subcommands option for conditional?
modal 4 messages
vague lodge what is the maximum length for placeholders and labels
TypeScript GuildText Channel Type help 4 messages
surreal remnant I am attempting to fetch a channel to send a welcome message in my `guildMemberAdd` event. However, I am getting this ty...
Audio Streams? 2 messages
DISCORD BUTTON 5 messages
toxic field can you help me with my code its always say ``No command matching undefined was found.`` ```js try { //await app...
Allow ManagePermission when creating voice channel 2 messages
granite grove Hi, im creating a VC and want to give who join a channel 2 permission ManageChannels and ManagePermissions But when I c...
node
issue with regex in autoModerationRules 9 messages
manic hull ```js await message.guild.autoModerationRules.create({ name: 'This message has been deleted because it...
Error while trying to make command register 12 messages
meager nimbus Hello, I'm trying to make register-command.js file to store my slash commands in but it returns a error. I'll say right ...
What is it about "features"=>["COMMUNITY", "NEWS"]? 9 messages
summer pagoda One of the servers my bot is connected to has those "features". For others the array is empty. What are those features ...
Wierd wierd problem 11 messages
wild sand const emailSend = crypto.randomBytes(12).toString('hex'); const member = await msg.guild.members.fetch(msg.content); if ...
node
Slash Command Builder Default Option Values 3 messages
winter basin Good morning all! `[email protected]` `node v18.12.0` I'm working w/ `SlashCommandBuilder` and am trying to figure ou...
node
getaddrinfo ENOTFOUND discord.com 4 messages
mental goblet What does this error mean?