Seren_Modz 21
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?
as for how its done with sapphire: https://www.sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/registering-chat-input-commands
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
property5 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
SIASapphire - Imagine a framework
•Created by Upsided on 1/16/2024 in #sapphire-support
Duplicate identifier "Preconditions" when module augmenting "@sapphire/framework"
unfortunately, the type keyword cannot be used. instead, it should be an interface because it will merge the content with the pre-existing interface
5 replies
DIAdiscord.js - Imagine an app
•Created by SikoticVinyl on 11/30/2023 in #djs-questions
New - Modal Support
u can't send modals through components. u have to use interactions (eg. a button or slash command) and the showModal method
15 replies
SIASapphire - Imagine a framework
•Created by Caspian Nightworth on 11/26/2023 in #sapphire-support
Paginination limitation when not using select menus
22 replies
SIASapphire - Imagine a framework
•Created by yibuh on 11/25/2023 in #discordjs-support
Detect when new message is a reply to another one
get the referenced message (if one exists), then check the message type to check whether its a reply
6 replies
DIAdiscord.js - Imagine an app
•Created by Wordllban on 10/26/2023 in #djs-questions
Rich presence for Electron application
as for setting it up, u can take a look at the example on the readme and/or the example they have on github https://github.com/discordjs/RPC/tree/master/example
5 replies
DIAdiscord.js - Imagine an app
•Created by Wordllban on 10/26/2023 in #djs-questions
Rich presence for Electron application
u have to use the discord-rpc package. while the last publish was 2 years ago, nothing really has changed, so it still works as u would expect
5 replies
DIAdiscord.js - Imagine an app
•Created by VLADY 🛡 on 9/2/2023 in #djs-questions
[discord-rpc] Prevent multiple listeners
u could use EventEmitter#once()
4 replies
DFDimensional Fun
•Created by asszx on 4/28/2023 in #lavaclient
can you set the volume by default.
however, the connect method object only passes connection properties
5 replies
DFDimensional Fun
•Created by asszx on 4/28/2023 in #lavaclient
can you set the volume by default.
u could always use player.setVolume() immediately after player.connect()
5 replies