ggonick
ggonick
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by ggonick on 8/10/2023 in #djs-questions
Embed with discordjs/rest
sounds good, just a followup on that do you have the docs for the rest.post function? I can't seem to find any of the docs for the discordjs/rest functions
7 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/10/2023 in #djs-questions
Embed with discordjs/rest
would I just send the embed in the
body: { content: myEmbed}
body: { content: myEmbed}
7 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
or would I still be using express to do that
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
does this come with a server to receive the HTTP requests?
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
gotcha sounds good, i'll try implementing this rn! thanks 😄
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
but if that is an option i'll definitely look into it
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
ig the reason i'm doing all this is because I'm currently sending out POST requests from a google app script, but it's difficult to do any data processing there so I thought it would be nice to send the JSON data to a node server where I could process everything there
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
would this just be a webhook then? or still make a bot
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
ahh that makes more sense, thanks! 😄
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
would I have discord.js running in the same file as my express server then?
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
also lmk if this question is off-topic and should be moved i don't want to break any rules 😭
19 replies
DIAdiscord.js - Imagine an app
Created by ggonick on 8/8/2023 in #djs-questions
Receiving HTTP Requests
gotcha, i'm pretty familiar with express, but once I receieved a request with express what's the best way to forward that JSON to discord.js to trigger an action?
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
However I am struggling finding a good free way to integrate the gmail API with the discord webhook so I thought maybe creating a custom bot for that might be a little easier, but i'm not sure if discord.js would have a good way of doing that besides just polling the API at set time intervals
5 replies