djs-questions

9202 threads · Page 32 of 185

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...
1150878580193116250
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 ...
1150878580193116250
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 40 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 ...
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...
1150878580193116250
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...
1150878580193116250
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...
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...
1150878580193116250 998292157150535700
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 ...
1150878580193116250
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 47 messages
livid iris Hello, I'm following the doc to set custom permissions to guild commands. https://discordjs.dev/docs/packages/discord.js...
1150878580193116250
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 ...
1150878580193116250
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...
998292157150535700
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...
1150878580193116250
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
1150878580193116250
commands 28 messages
coarse tusk how can I make commands that when I use /add [ID] the user gets added to a channel and when I do /remove [ID] the user g...
1150878580193116250
Reaction Collector doesn't work as intended 19 messages
junior raptor So the code for reaction collector doesn't work, i was following a tutorial and i rechecked every single line a few time...
1150878580193116250
Any ideas? 6 messages
tribal cipher I don’t wanna hardcode the bitfield and im guessing that i did this the wrong way somehow anyone got any ideas about th...
998292157150535700
Can you use interaction.member.roles without privileged intents? 2 messages
chrome mortar "privileged" = the intents that require verification and stuff
Weird issue 10 messages
golden heron https://youtu.be/xIFOPm0izCQ
1150878580193116250
using channel search function. 2 messages
proper monolith Is there any way to use the channel search function as a bot? for example to search for messages from a specific user wi...
How can I ban people with my bot who are outside of the server? (reopening) 74 messages
hot bison I still cannot seem to find away to ban users who are outside of my server and require help Im currently using an embe...
1150878580193116250