Skip to content

Exit code: 101 in Windows 11, Discord Bot #2783

Answered by jamesbt365
Patatas8800 asked this question in Q&A
Discussion options

You must be logged in to vote

You have not provided an environment variable with the discord bots token so the bot cannot start. I'm not sure if i'm right here because i don't use Windows but you should be able to set one temporarily with set DISCORD_TOKEN=bot_token, obviously substituting that for your actual bot token, or you can setup dotenvy or another tool to do this for you.

Replies: 1 comment 2 replies

Comment options

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

@jamesbt365
Comment options

Answer selected by GnomedDev
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