souji
souji
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
it should be a chat input command still, but it won't be in the context of a guild/cached guild if that's something you expect/enforce in code
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
if not, there might be some part of your command handler like "in cached guild" guards that prevents execution
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
does it reach that portion of code? (try putting a log there)
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
does it reach that code?
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
"does not work" surfaces how?
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
np, glad it worked
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
contexts
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
specify the context in the command payload
18 replies
DIdiscord.js - Imagine ❄
Created by Striker (Ethan) on 12/23/2024 in #djs-voice
Commands fail to load / refresh if I require client
if you are working with an official streaming service you should use their APIs to download and play the song distube and ytdl are by definition against terms of service as they facilitate the playback of songs the user does not have permissions to use we uphold both community and dev tos here and will not provide support with this
6 replies
DIdiscord.js - Imagine ❄
Created by (✞+s͙n͙a͙k͙e͙r͙+✞) on 12/20/2024 in #djs-questions
Is it possible to use Discord.JS and make a bot with it on mobile?
discord.js is a node.js api wrapper if you can get node.js to run on your phone, you can use discord.js
3 replies
DIdiscord.js - Imagine ❄
Created by LEveLiQ on 12/19/2024 in #djs-questions
slash commands not registering
if you add the app to the server again, you have to deploy the commands again
17 replies
DIdiscord.js - Imagine ❄
Created by LEveLiQ on 12/19/2024 in #djs-questions
slash commands not registering
if you remove the app from the guild all its commands in the context of that specific guild are also gone
17 replies
DIdiscord.js - Imagine ❄
Created by LEveLiQ on 12/19/2024 in #djs-questions
slash commands not registering
you can either deploy commands globally, so they are available in any guilds that have the app or you can deploy them on a specific guild
17 replies
DIdiscord.js - Imagine ❄
Created by LEveLiQ on 12/19/2024 in #djs-questions
slash commands not registering
i mean... you kicked the bot, of course the guild commands are gone? not sure what you expected here
17 replies
DIdiscord.js - Imagine ❄
Created by Bank Owner on 12/18/2024 in #djs-questions
client.on('error')
v13 is no longer supported, please update at your earliest convenience - other than that you will unfortunately be on your own
5 replies
DIdiscord.js - Imagine ❄
Created by Martoz on 12/15/2024 in #djs-questions
help download canvas
please use #other-js-ts questions for issues that are not related to discord.js at all
3 replies
DIdiscord.js - Imagine ❄
Created by Lambros on 10/30/2024 in #djs-questions
Track invite origin
that's not guaranteed, people can just invite your app with another invite link
19 replies
DIdiscord.js - Imagine ❄
Created by Lambros on 10/30/2024 in #djs-questions
Track invite origin
the invite link can include permissions, if they do a role with those permissions is created, yes
19 replies
DIdiscord.js - Imagine ❄
Created by Lambros on 10/30/2024 in #djs-questions
Track invite origin
the permission issue is that the bot does not have a role with the manage server permission on the server you are trying to fetch invites from
19 replies
DIdiscord.js - Imagine ❄
Created by Lambros on 10/30/2024 in #djs-questions
Track invite origin
those will not be saved by discord
19 replies