Hello, after configuring the different IDs, when I launch the bot, it correctly sends the message to the lounge, but then it gets into error when I try to create a ticket
PS C:\Okinawa Tickets> node .\index.js
Ticket Bot ready!
Thank you very much for using Ticket Bot! Developed with the β€οΈ by Sayrix
(node:3204) DeprecationWarning: Passing strings for MessageEmbed#setAuthor is deprecated. Pass a sole object instead.
(Use node --trace-deprecation ...
to show where the warning was created)
(node:3204) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pass a sole object instead.
C:\Okinawa Tickets\node_modules\discord.js\src\rest\RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Missing Permissions
at RequestHandler.execute (C:\Okinawa Tickets\node_modules\discord.js\src\rest\RequestHandler.js:350:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (C:\Okinawa Tickets\node_modules\discord.js\src\rest\RequestHandler.js:51:14)
at async GuildChannelManager.create (C:\Okinawa Tickets\node_modules\discord.js\src\managers\GuildChannelManager.js:153:18) {
method: 'post',
path: '/guilds/926951246135451739/channels',
code: 50013,
httpStatus: 403,
requestData: {
json: {
name: 'ticket-iWeaPix',
topic: '349691796948910093',
type: 0,
nsfw: undefined,
bitrate: undefined,
user_limit: undefined,
parent_id: '930018774793482260',
position: undefined,
permission_overwrites: [
{ id: '349691796948910093', type: 1, allow: '3072', deny: '0' },
{ id: '928405676940726343', type: 0, allow: '3072', deny: '0' },
{ id: '926951246135451739', type: 0, allow: '0', deny: '1024' }
],
rate_limit_per_user: undefined,
rtc_region: undefined
},
files: []
}
}