Skip to content

Ignoring bot using invalid secret: Corners, version: 1.0 #95

Discussion options

You must be logged in to vote

@electricSoda
I realise that this information is missing in the documentation. Sorry for that. I will make sure that this information is included in the documentation soon so everybody knows what to do.

You are right. Bots can only join the server by providing a bot secret that matches the one created by the server. This is a security constraint so bots cannot join a server without "permission", which is provided through the bot secret.

The easiest way to provide the bot secret is to set the environment variable BOT_SECRETS to the bot-secret value from the server. It must be defined in the terminal/shell running the bot. The booter sets this in the terminal (behind the scene) when booting…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@electricSoda
Comment options

@flemming-n-larsen
Comment options

Answer selected by electricSoda
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants