Seren_Modz 21
Seren_Modz 21
SIASapphire - Imagine a framework
Created by Teixeira on 11/20/2024 in #discordjs-support
Is there a way to make autocomplete options only accept a listed option - not "custom" inputs?
that is unfortunately not how autocomplete works because they only serve as suggestions. to do that, you would need to compare the inputted value on your end.
7 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
in discord.js v14, permissions aren't screaming snake case anymore so it would be Administrator instead of all caps
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
it could be that your AdminOnly precondition is not passing, thus not continuing to execute your command's code
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
is your package.json main correctly setup?
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
that would suggest that sapphire is not finding your command
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
is your chatInputRun method being executed? perhaps you try adding a log at the top to check but also, showing the full file might help us more than just showing that method
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
if deferring isn't working, it's because your doing it too late. since your use ephemeral for your errors, move the defer to the very top so it runs as soon as possible
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
after deferring the reply, you can then use editReply to update to your provided response
41 replies
SIASapphire - Imagine a framework
Created by delios on 11/15/2024 in #sapphire-support
Constantly getting "The application did not respond"
defer the reply because you only get 3 seconds to respond to the interaction
41 replies
SIASapphire - Imagine a framework
Created by Shrewd 💫 on 9/25/2024 in #sapphire-support
why my ping.ts doesnt wanna run after being transpiled?
it sounds like your passing it the ts code and not the transpiled js
10 replies
SIASapphire - Imagine a framework
Created by Shrewd 💫 on 9/25/2024 in #sapphire-support
why my ping.ts doesnt wanna run after being transpiled?
in your package.json, what is your main set to?
10 replies
SIASapphire - Imagine a framework
Created by PossiblySebo on 8/26/2024 in #discordjs-support
Help with message deletion
u can actually use the url because they dont get deleted immediately like the message. i cant remember how long it takes for the attachment url to get deleted though
8 replies
SIASapphire - Imagine a framework
Created by ./Ticker on 6/8/2024 in #sapphire-support
Is there a way to make slash commands hidden for people with lower perms?
5 replies
SIASapphire - Imagine a framework
Created by ./Ticker on 6/8/2024 in #sapphire-support
Is there a way to make slash commands hidden for people with lower perms?
if ur using the SlashCommandBuilder, then use the setDefaultMemberPermissions method, otherwise the defaultMemberPermissions property
5 replies
DTDrizzle Team
Created by rodrigo on 4/24/2024 in #help
classes to access db
my apologies for the constant acknowledgement of the docs, i just think its the best place to learn the ins and outs of the library.
5 replies
DTDrizzle Team
Created by rodrigo on 4/24/2024 in #help
classes to access db
as of right now, there only consists of the standard SQL-like syntax syntax and the Queries API. however, currently the queries API only supports findFirst and findMany operations and all other CRUD operations (create, update, delete) require the SQL-like syntax. create/insert: https://orm.drizzle.team/docs/insert update: https://orm.drizzle.team/docs/update delete: https://orm.drizzle.team/docs/delete in my opinion, the docs are the best place to learn majority, if not the whole of drizzle. from using the docs, i myself have managed to learn quite a lot of how to use it.
5 replies
DTDrizzle Team
Created by rodrigo on 4/24/2024 in #help
classes to access db
unfortunately, that is not how drizzle works. i would highly recommend reading through the docs, which can be found here: https://orm.drizzle.team/docs/overview
5 replies
DIAdiscord.js - Imagine an app
Created by Yarden-zamir on 1/30/2024 in #djs-questions
changing image of posting user without webhook or alternatives that convey the same thing
there are quite a bit of discord bridges that use webhooks to show the users name and image, yes. minecraft for example
9 replies
DIAdiscord.js - Imagine an app
Created by Yarden-zamir on 1/30/2024 in #djs-questions
changing image of posting user without webhook or alternatives that convey the same thing
from what i know of, webhooks are the only way of doing such
9 replies