Deimoss
Deimoss
DIAdiscord.js - Imagine a bot
Created by Axe on 9/18/2024 in #djs-questions
I have 3 replicas that all respond to the same thing
restarting is pretty fast, and you shouldn't have crashes often anyway
59 replies
DIAdiscord.js - Imagine a bot
Created by LukeZ on 9/17/2024 in #djs-questions
When listening to a rest request, can I use an async function?
just make the callback async, simple as that
6 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
glad to help 👍
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
also it's probably better to get the client's id in your code, instead of storing it inside of an .env file, because if you decide to switch bots you have to change 2 things in your .env instead of one
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
just double check to be sure
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
seems like the APP variable is not your bot's id
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
btw you can do ```js <code> ``` to get codeblocks with syntax highlighting
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
can you share the code where you're doing this rest request?
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
i mean that's not really a long term solution
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
there's not much to learn, it's just to make http requests anyway
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
unirest looks pretty similar to axios, i'm sure you'll be fine
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
doesn't look like unirest will be updated any time soon, as it hasn't been for 5 years, why not just use axios or the native node fetch instead?
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
oh you're using it directly?
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
however i don't think it's related to discord.js
34 replies
DIAdiscord.js - Imagine a bot
Created by MrFangs on 8/31/2024 in #djs-questions
Just getting back into discord bots
you can use npm ls punycode to see which package is using it and either replace it or just continue using it, ignoring the warning
34 replies
DIAdiscord.js - Imagine a bot
Created by Nassim on 8/24/2024 in #djs-voice
connecting bots to vc
Each bot has their own connections, a bot can be connected to only single VC in a server. However you can run multiple bots in the same node process, if that's what you're asking, but i wouldn't say that's good practice
5 replies
DIAdiscord.js - Imagine a bot
Created by t̴humper on 8/14/2024 in #djs-questions
Database system recommendations?
Yeah, i'd go with postgres too, although i don't know if there are any free hosting providers for it
13 replies
DIAdiscord.js - Imagine a bot
Created by t̴humper on 8/14/2024 in #djs-questions
Database system recommendations?
Mongo is a popular choice for bots, it's a nosql database so it's easier to understand for new devs and also there's mongo atlas which has a pretty good free tier for hosting your db
13 replies
DIAdiscord.js - Imagine a bot
Created by wowie on 8/11/2024 in #djs-questions
User Isntall not registering slash commands
i don't know how you would do that if you're using a builder as i usually write the data for commands as a plain object
19 replies
DIAdiscord.js - Imagine a bot
Created by wowie on 8/11/2024 in #djs-questions
User Isntall not registering slash commands
typescript will scream at you for putting contexts in the command's data though, you can just ts-ignore that
19 replies