Marcus Natrielli
Marcus Natrielli
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 7/31/2024 in #djs-questions
How to get Client object from a Shard?
@Qjuh thanks!! That was what I was looking for
6 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
Guys. Thanks for the help! Problem solved
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
The main reason is just legacy code... I started to work with this project not long ago I didn't know about webhookclient. Going to check and probably use it instead
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
The source of the file that I'm trying to send is a image. That's why, if I understood right, It won't work using canvas What I'm trying to achieve is: I have a PNG that I want to send using discord.js/REST. So I want to know how to do it, because I know, reading Discord API, that it's possible. I just don't know how to do it with this subpackage, because when I try to do it, it return a buggy attachment
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
A canvas is still a kind of image. So this don't exactly solve my problem
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
I want to send an image. I'm using files because it was what I found in rest.patch options
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 5/21/2023 in #djs-questions
Update message with images using discord.js REST
15 replies
DIAdiscord.js - Imagine an app
Created by jr on 2/25/2023 in #djs-questions
RoleSelectMenuBuilder
This is the aproach that I'm using in my bots Unfortunately, today role menus are only good for a few use cases. I hope that Discord implements some type of filtering
10 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/29/2022 in #djs-questions
Filter role options in new RoleSelectMenu
Damn
7 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
For this purpouse
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
Hope Discord makes something better soon
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
Unfortunately not a proper role select...
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
By role select message I mean, a select menu with label = role.name and value = role.id
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
Why?
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
But yeah, it's possible to: - use a slash command that send a select menu with all roles - then the admin select all the roles they want - then the bot send a role select message with these roles
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
I prefer using slash commands, because I want do make a command that admins can use to make "role select" messages So, the admin select the roles they want, and then the bot send a message with these roles that the guild members can select
15 replies
DIAdiscord.js - Imagine an app
Created by Marcus Natrielli on 11/18/2022 in #djs-questions
How to multi-select roles in a slash command?
Discord.js version: 14.6.0 Node version: 17.3.1
15 replies