ggonick
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by ggonick on 8/10/2023 in #djs-questions
Embed with discordjs/rest
Can you send embeds using discordjs/rest? I have only sent strings using rest.post but I was wondering if I could build an embed using embedbuilder, and send that embeds with the same POST request
7 replies
DIAdiscord.js - Imagine an app
•Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
I want to be able to receive HTTP requests, do some processing on the JSON and then post that to a discord channel. Are there any docs about receiving HTTP requests? I only saw the docs about calling an API. How would I be able to get my discord server to just wait on incoming requests, and only do an action when that request is received. Thanks!
19 replies
DIAdiscord.js - Imagine an app
•Created by ggonick on 7/4/2023 in #djs-questions
Creating a bot that automatically posts new emails from a gmail account
Would you recommend using discord.js alongside the gmail API to get a bot that would post all new emails from a gmail into a channel? Or would I be better off not using discord.js and something like a webhook instead
5 replies