Prisma Create multiple Records with same connection
i try to create multiple records in the model guild in ticket. It is a database which includes all active open tickets from a guild.
How to get all user roles from interaction?
I’m using discord.js and need to get all current roles from user, which interacted by slash command. How can I do that?
When a button is clicked, it creates a channel (ticket bot)
when i run my code:
When a user gets banned, i want to send a message to them, (discord.js)
client.on(AuditLogEvent.MemberBanAdd)
discord v14 ruined my botcode and i cannot fix it (PS – HELP)
code: https://replit.com/@sniperftw2021/NoteworthyClientsideBots#index.js
couldnt get the code to format. its kinda hard.
Issue with discord.js , Cannot read properties of undefined (reading ‘GUILD_MESSAGES’)
I have this issue with my discord bot code. In this case even ChatGPT won’t help. Do you know what the issue could be ? I’ve tried interpreting the code in other way and asking ChatGPT but none of that helped. Thank you in advance
Why can I see my discord js bot online but can’t use it
I’m very new with javascript and I try to implement a bot for discord. I just follow the tutorial to create a bot from the website “discordjs.guide” and my bot is not responding.
Issue with Discord.js: “Interaction has already been acknowledged” and “Unknown interaction” Errors
I’m developing a Discord bot using Discord.js and encountering some issues with button interactions in a specific command. When I try to update an interaction for the second time, I get the following errors:
AutoCreatiing VC BOT in discord.js
I’m making a bot that will perform one function, when a user enters a specific channel with a specified ID, a new channel is created and transferred there, but the code does not work, here is my code:
TypeError: addChoices is not a function when using subcommands in Discord.JS API v14
I already have a discord bot that has a command with one option and multiple choices. I wanted to add subcommands where the user can first pick which command he wants, then he would pick a subcommand and then will have choices (each subcommand would have choices). I’ve tried to edit my code with the code from this guide:
https://discordjs.guide/slash-commands/advanced-creation.html#subcommands