djs-questions

13317 threads · Page 33 of 267

No idea how to solve this. 10 messages
sullen merlin So I have a bot. This bot does a few other features that works, but the one that I have a problem with is where the !sta...
apps added to servers 22 messages
tired sapphire how can i get the guilds that have added my app? i’m specifically asking this since guilds.cache doesnt contain that inf...
node
Question.. 5 messages
worn lodge How can I change the bot's bio?
Shard info 6 messages
solid arrow Hi I want to make a command that shows how many servers each shard has and ping etc. But something is not working. Here ...
node
embed don't display in the bot message 32 messages
foggy canyon Hi everybody, [email protected] node v22.7.0 ```js const { EmbedBuilder, SlashCommandBuilder } = require('discord.js'...
I dont know if i used it wrong or made an error in it 11 messages
sullen merlin So I have an index.js file that has lots of features, but the one that i have error in, is that someone dm's the bot !st...
What is the max this can output? 23 messages
somber vessel Since main help channel is closed, I'm creating a post This is the code: `guild.channels.cache.filter(channel => channe...
node
HttpError: Service Unavailable 5 messages
near pumice I have a mod bot build with sapphire framework and i have some text-based cmds and a slash cmd but suddenly i'm getting ...
node
Autocomplete retreiving from database 6 messages
dusky oyster So for example I have suspension system and I want to view someones suspension so like I'd write /suspensions list:user,...
What happens if; 2 messages
dusky oyster What happens if a bot gets kicked out of a guild where he had slash commands deployed? Are those slash commands being re...
Discord OpenID != Google OpenID? 3 messages
quasi wharf **I KNOW I CAN USE ACCESS_TOKEN, this is specifically about openid** (parentheses mean "or", profile or email) ## Goog...
which perms do i need 41 messages
opal wing i have this event ```js client.on('guildMemberUpdate', async (oldMember, newMember) => { await handleMemberUpdate(o...
Cannot access localizations 7 messages
hallow widget I implemented the help command as follows, but I am having trouble getting Japanese from localizations Does anyone know ...
`threadCreate` doesn't seem to be firing for me 2 messages
Get message by id without knowing channel 7 messages
timber raptor on a event create message, i fetch something out of the db, this has a message Id but i have no idea in what channel the...
node
slash command getting messed up 11 messages
opal wing so yeah same issue again the previous slash command aint getting deleted heres deploy-commands.js ```js const { REST, R...
which permisson i need 13 messages
opal wing i have this event handler but it requires intent but it only works when i give it admin i generally cant give it admin b...
unable to delete slash commands 6 messages
opal wing like i originally had a different code now i am using that same bot for another code but previous slash commands aint ge...
Getting slash commands 23 messages
pastel shale `const commandsColl = await client.application.commands.fetch();` I use this to get all the commands and then I try to i...
node
slash command not getting registerd 22 messages
opal wing index.js - https://pastebin.com/v0UAU7g1 sample slash command - https://pastebin.com/U32EXgVN file structure - . ├── c...
Issue reading data 2 messages
Public bot ---> off 17 messages
rare brook Guys i have a bot , i want to turn off public bot but its showing error that private bot cannot have default authorizati...
node @discordjs package
kick/ban member in list of servers 3 messages
edgy trail why it only kicks from the server i used the command at? *the guilds id are consoled correctly* ```js async execute(inte...
Discord Threads 3 messages
dusky oyster I've got dumb discord.js related question, if bot is in like lots of threads, does it in any way affect it's performance...
I have 3 replicas that all respond to the same thing 59 messages
gritty hearth Yo! I have a bot that sends a message when a thread is created, but Im running 3 replicas, so the problem is that they a...
Pagination Question 3 messages
cunning ether If we are using an pagination how do we make it so it edits the current embed for the new embed? as my new embed uses a ...
node
How can i detect someone timeout got removed? 9 messages
opal wing i wanna delete the user from the db whos timeout gets removed, till i know only 2 possiblity exists of timeout getting r...
PERMISIONS BITFIELD 17 messages
jaunty crescent someone has an idea how to write it better and also make this thing work? im checking for names instead of bitfield and ...
AutoModerationActionExecution event 16 messages
opal wing ```js client.on(Events.AutoModerationActionExecution, async (autoModerationActionExecution) => { try { conso...
Send multiple attachments with spoilers at the same time 4 messages
torpid holly . I'm trying to send multiple attachments with a spoiler at the same time, this is what I have currently, but on the we...
Store a command 17 messages
tender swan Hi, i wanted to create with my bot a sistem that can store how many times a user write a command, how can i do this?
Cannot set guild permissions to command 48 messages
livid iris Hello, I'm following the doc to set custom permissions to guild commands. https://discordjs.dev/docs/packages/discord.js...
node
create a Discord bot with AI free 2 messages
tawdry bane Hey guys! I’d like to create a Discord bot with AI functionality but without having to pay for APIs. Is there a way to d...
About forum 3 messages
mint pilot I would like to write code that will notify you when a forum post is made, like this bot function.
When listening to a rest request, can I use an async function? 5 messages
pure vapor I just read this: https://discordjs.guide/additional-info/changes-in-v14.html#apirequest And now I want to implement my ...
node
awaitMessageComponent doesn't wait the set time 13 messages
burnt hollow Hey there, I'm following the [guide](https://discordjs.guide/message-components/interactions.html#awaiting-components) b...
Execute command on button interaction 5 messages
formal wyvern For example, if I have a command that rolls a dice and takes the number of sides as an optional input, would it be possi...
Unexpected error for me. 2 messages
sullen merlin So I have a slashcommands and commands folder where I keep the slashcommands and the prefix commands. And in the slashco...
Get who used a /command on another bot 5 messages
chilly prairie Hi, I have a bot (Bot1) in our server that i'm trying to create a leaderboard of how many times each user has used a par...
Discordjs package Check permission 5 messages
low seal In the discord.js package, how do I check if, for example, permission '1032' is Administrator? I didn't find anything th...
@discordjs package
forum post reaction + join 3 messages
safe zealot hello i am trying to make it so my bot will automatically join new forum posts in the server. my code can be found below...
does the bot log out after some time 6 messages
somber siren when using ```javascript client.login(token); ``` does the bot log out after some time? do i need to keep my computer ...
slash command issue 30 messages
edgy trail I have command called `/ping` and its loaded correctly but my bot is not showing/can't it ```js const commandFolders = ...
how to get this typa button 11 messages
Can a bot run roblox and make it join a game with cmd 2 messages
near flower Is this possible?
"Unkown command" when using context command 13 messages
opal wing so heres my [code](https://pastebin.com/WgbUFe1g) i've no idea why the context command says unkown command
lil doubt 31 messages
opal wing like i wanna make a slash command when i use that slash command while replying to some guy, the message i am replying to...
📃Unremoveable Role Problem📃 2 messages
scarlet crater I need help becaue a role that was tied in with a integration was removed and now since the premium integration is remov...
Are there any good options for selecting multiple users in a command's options ? 11 messages
frail ledge Im trying to make a command where you need to select multiple users and after that it creates a channel with those users...
node
button says no active player in this guild 21 messages
hollow orbit if click in any of button that time saying no active player in this guild
node