#bot not being added to other servers
1 messages · Page 1 of 1 (latest)
I am not part of the dev team, but I just tried to add it to a second server and the DB is shared between the two. So instead of sharing the bot, I spun up another container. There should be a way to create a new db for each discord. Just a thought.
both servers are for different alliances im in, so not having a shared db is no issue
but what do you mean by another container?
go on the discord developer portal and create a new link for the bot, then paste that into your browser and select your server. trying to add it via the discord button has issues sometimes.
the DB files are the same, yes, this just means that you can't add the same IDs from an ally on one server to an ally on another server. this exists to prevent the bot from redeeming codes for the same IDs multiple times, and anyway there are permissions to control who can manage which allies/servers
Ah! Thanks for that. I was unsure, so I just created another instance and went through the same process. But definitely great info for any future deployments.
I meant another docker container. That’s how I deployed the bot.
For clarification, if a new install link is registered and that link used to add to another discord server, the new server shares the user DB but the notifications and other bot utilities are not shared? Meaning that server admin will have a clean slate to setup bear, castle, kvk, cesares, etc notifications without any interference with the original discord server’s setup? That’s what I was worried about on the second install. Thank you, for your time.
Yes exactly - each server gets its own 'clean slate' in terms of notifications, channel, minister settings etc. minus the user and alliance data. So the only thing you can't do is add duplicate users or alliance tags. And only the global admin will be able to access alliances and user data across servers.
I tried creating a new link but I guess I am doing it wrong? You mean under installations > install link right?
Did you make sure the necessary permissions and attributes are selected on the developer portal before creating the link? My discord developer portal likes to remove them when I create new links
every time I return to the "Bot" tab the administrator tick is removed
but also installation link I cant create a new link, it's either the discord provided link or if I choose a custom one it just gives me an error page
@wet tide go to "OAuth2" tab choose bot, applications.commands and then administrator and you can get an invite link at the very bottom with those perms