Hosting public bot
Hello there, i would like to ask anyone who is more experience with hosting public bot, how to make it public, simply, like i just need to make my code universal - not my server specific, especially when i am getting guildID - what i do when i host bots for personal use is that i create config file and there i define something like "DISCORD_GUILD_ID: <ID_HERE>" where
<ID_HERE>
is guild ID of my server, and every time i want to use code further like to get player's ID or whatever i used to get the config value (ID of my guild) and use that, instead, should i just grab the current guildID of the server on which the function of bot is executed?
I hope you understand my concerns
Thank you in advance to anyone who answer
in simple terms - i only hosted discord bots for personal use, how to host them publicly; what to change in code and how to make them public (just share the generated URL with predefined permissions for someone to invite it?)6 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!make your slash commands public (not register guild only register client commands) , on developer page there is a option
Public Bot
check it and share your url with bot
scopeok very useful to know, thank you so much
sorry, what you wanted to say?
also, i don't know is this possible to bump, but if anyone join to read this thread, please leave any info you know that is related to the title! i appreciate it very much
are you still having issues?