duck
DIdiscord.js - Imagine ❄
•Created by shadowolf on 1/12/2025 in #djs-questions
Bots sharing screens
it is
8 replies
DIdiscord.js - Imagine ❄
•Created by shadowolf on 1/12/2025 in #djs-questions
Bots sharing screens
or rather, it is possible for a bot to join a channel
no it is not possible for it to share screen
8 replies
DIdiscord.js - Imagine ❄
•Created by shadowolf on 1/12/2025 in #djs-questions
Bots sharing screens
no
8 replies
DIdiscord.js - Imagine ❄
•Created by 3zs on 1/8/2025 in #djs-questions
captcha system
that aside, you may also want to defer your responses for both the command and the buttons since it seems you do some async operations before responding
these could also result in your bot not responding in time
8 replies
DIdiscord.js - Imagine ❄
•Created by 3zs on 1/8/2025 in #djs-questions
captcha system
entirely does nothing?
if it doesn't even send the dm as expected, sounds like that code isn't executing in the first place
8 replies
DIdiscord.js - Imagine ❄
•Created by 3zs on 1/8/2025 in #djs-questions
captcha system
just to clarify, which interaction is failing?
does everything else aside from the response work as expected?
are you receiving any errors in your console as well?
8 replies
DIdiscord.js - Imagine ❄
•Created by Izzibaby on 1/7/2025 in #djs-questions
Require Vs Import, trying to "import" another script via the require method.
1. You're not required to use cjs. You're free to follow along with the guide and convert examples to esm.
2. I can't imagine that error is actually related to the difference between require and import. You'll probably want to double check the path.
3. This isn't really djs related, so if you need further help, please take this to #other-js-ts
5 replies
DIdiscord.js - Imagine ❄
•Created by Julius on 12/31/2024 in #djs-questions
Bot cant open Google Spreadsheets? Error 403
this doesn't seem discord.js related, but rather just about fetching from google docs
Not a discord.js issue? Check out #other-js-ts.
5 replies
DIdiscord.js - Imagine ❄
•Created by 𝑨𝒃𝒔𝒐𝒍𝒖𝒕𝒆 𝑪𝒂𝒓𝒏𝒂𝒈𝒆 on 12/31/2024 in #djs-questions
error when deploying commands
which is to say, you'd need to add the string option to the subcommand rather than the base command
7 replies
DIdiscord.js - Imagine ❄
•Created by 𝑨𝒃𝒔𝒐𝒍𝒖𝒕𝒆 𝑪𝒂𝒓𝒏𝒂𝒈𝒆 on 12/31/2024 in #djs-questions
error when deploying commands
when using subcommands/groups, you can't have other option types at the same level since you can't use the base command separate from the subcommands
7 replies
DIdiscord.js - Imagine ❄
•Created by murasaki • cvnt on 12/27/2024 in #djs-voice
Bot goes online but doesn't play any commands it says (bot interaction failed)
I imagine luna capybacca (real) was asking you to elaborate on the issue since this screenshot doesn't really describe very much
however for a moment, I'm going to put that aside and ask, is it possible the presence of
lava
in the logged url refers to a lavalink implementation?
since this isn't your code, it's possible that you're unaware that lavalink's continued support of youtube streaming violates youtube's tos, and by extension, discord's tos
furthermore we do not support tos violations8 replies
DIdiscord.js - Imagine ❄
•Created by gaurav sharrma on 12/27/2024 in #djs-questions
how i can attach server to my anime streaming website
not totally sure what part of this is discord.js related
if you have a more specific question that is related feel free to ask it
otherwise:
Not a discord.js issue? Check out #other-js-ts.
3 replies
DIdiscord.js - Imagine ❄
•Created by Nixxxxxx on 12/27/2024 in #djs-questions
Bot seems to constantly reupload files even after one has uploaded?
If [enforceNonce is] true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.-dapi docs
14 replies
DIdiscord.js - Imagine ❄
•Created by Nixxxxxx on 12/27/2024 in #djs-questions
Bot seems to constantly reupload files even after one has uploaded?
seems the source of the issue was already explained in your previous post, so skipping right to solutions:
we now have the
nonce
and enforceNonce
options when sending a message
for example, you can use SnowflakeUtil.generate()
to generate a snowflake, use that for the nonce
, and specify enforceNonce: true
if after implementing a nonce, the issue still persists, please share more of your current code14 replies
DIdiscord.js - Imagine ❄
•Created by Alphamega on 12/25/2024 in #djs-questions
anyone know how to send an mp3 file as a voice message in chat, i tried message flags but doesn work
afaik sending voice messages is still undocumented and not intended for bots, so it's not specifically something we support
however I believe if you search this forum, some people have figured it out
6 replies
DIdiscord.js - Imagine ❄
•Created by rockersDevs on 12/22/2024 in #djs-questions
Having issues.
then once again, I'm gonna suggest brushing up on your javascript fundamentals before continuing
particularly scoping
112 replies
DIdiscord.js - Imagine ❄
•Created by rockersDevs on 12/22/2024 in #djs-questions
Having issues.
oh if its a variable im assuming I can do that?it's your
rulesEmbed1
I haven't even seen any code that contains this name anywhere, so I'm really unsure what you're referring to
but with the code block you send, i dont understand stillI'm gonna shelve the "you should learn how to read docs" convo for 1 second and mention that if you click the link to actually go to the docs, there's a second example of how to use
interaction.reply()
that you may be interested in112 replies
DIdiscord.js - Imagine ❄
•Created by rockersDevs on 12/22/2024 in #djs-questions
Having issues.
that sounds like you're asking whether you can use a variable you've defined?
if that's the part you're struggling with, I'd honestly suggest brushing up on your javascript fundamentals before continuing
112 replies
DIdiscord.js - Imagine ❄
•Created by rockersDevs on 12/22/2024 in #djs-questions
Having issues.
where exactly would I put this at in the code?putting aside the fact that I mention where to put it in the first line of my previous message, the answer is "you'd put it where you want to reply to an interaction"
and for the content, can I put the embed name?embeds don't have names, so I'm not totally sure what you mean
112 replies
DIdiscord.js - Imagine ❄
•Created by rockersDevs on 12/22/2024 in #djs-questions
Having issues.
tbh I had assumed this article would mention checking custom ids, but just to quickly mention, you can check
interaction.customId
to differentiate components112 replies