RajGM
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
👌
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
I can use the sub-package @discordjs/rest to send and get guild members without worrying about connection issues
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
yes, i was confusing discordJS with the native rest endpoints
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
but with rest we had to wait for client.on('ready', ... ) to perform any actions?
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
am i correct?
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
got it.
only trouble in using bot in NEXTJS backend will be that the bot will be connecting and disconnecting to the server with each request.
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
got it.
use webhook to send message to server
but use rest with discord bot to check member
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
Thanks a lot, enf and siris.
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
concerned with this
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
yes
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
I think with webhook I can't check if a member exists in discord server.
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
is it possible to tag someone in discord server with webhooks?
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
is nodejs server fesible for the discord bot for websocket connection all the time?
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
that means I need to create another server with some keys and discordbot on the same server
expose it to the first server
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
yes
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
A backend that stores some data to firebase from client
then send those data to discord server
37 replies
DIAdiscord.js - Imagine an app
•Created by RajGM on 6/27/2023 in #djs-questions
discord bot in same server as NEXTJS Backend
Should I host the discord bot in some nodejs server and then call it from nextjs server?
37 replies