Tribe
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Tribe on 10/9/2023 in #djs-questions
Docker ports on GCP & AWS
I recently dockerized my bot and have it running fine off my local machine, however when deploying it the bot hangs on when the client tries to login. I found a post mentioning that certain ports on GCP and AWS needed to be exposed but they didnt mention which.
Anyone run into a similar issue with docker and those hosts?
Turns out it actually is logging in, it just isn't recieving the slash commands. I have tried exposing ports 80 and 443 but no luck with those.
14 replies
DIAdiscord.js - Imagine an app
•Created by Tribe on 10/25/2022 in #djs-questions
awaitMessageComponent method on InteractionResponse
When sending a reply containing a component row, the returned value is an InteractionResponse which contains and awaitMessageComponent method. I would assume this method would collect the user input of the component sent that returned this InteractionResponse, however it always seems to fail yet placing a message collector on the channel gets the user input I expected.
Is putting the collector on the channel just the intended way of getting the response on the component I send or am I doing something wrong?
3 replies
DIAdiscord.js - Imagine an app
•Created by Tribe on 8/16/2022 in #djs-questions
permissions_new from API
I am assuming the
permissions_new
property being returned from the API is the new Bitwise permissions flags they recently implemented. My question is, can I rely on this property remaining or will they eventually swap it out with the usual permissions
property? Also I was trying to type the result with RESTAPIPartialCurrentUserGuild
but its missing this new permissions property, does anyone know which type includes it? Thanks15 replies
DIAdiscord.js - Imagine an app
•Created by Tribe on 8/1/2022 in #djs-questions
Mentionables breaking on mobile
I don't think this is specific to discord.js but I've noticed that occasionally mentionables will break and instead show
<@USERID>
but only on the mobile app. At first I assumed it was people leaving the server but that doesn't appear to be it. Does anyone know what causes this?11 replies