DaniDipp
DaniDipp
DIAdiscord.js - Imagine an app
Created by DaniDipp on 6/19/2024 in #djs-questions
What does it mean for a channel to be "threadOnly"?
Is it like voice and stage channels that don't have a text message history but a thread thingy on the side where people can text while in vc, or is it like the forums that only allow the creation of posts instead of messages?
4 replies
DIAdiscord.js - Imagine an app
Created by DaniDipp on 4/6/2024 in #djs-questions
How to make an attachment from an http response
I'm making an http request with await fetch(imageUrl) and would like to turn that into an Attachment for use in an embed thumbnail. What is the most efficient way to do that? I'm kinda struggling with streams and buffers.
11 replies
DIAdiscord.js - Imagine an app
Created by DaniDipp on 7/25/2023 in #djs-questions
How to use @discordjs/rest dev release
I would like to use @discordjs/rest on Cloudflare Workers and see that edge/web compatibility has been merged. Can I use this as a beta version already or do I have to wait for 2.0.0?
4 replies
DIAdiscord.js - Imagine an app
Created by DaniDipp on 6/17/2022 in #djs-questions
Which errors do I have to handle for discord.js functions?
I would expect the docs to tell me which errors a function can throw but I can't find this info in the docs. Am I just blind or can I find this info somewhere else?
14 replies