Microsoft Learn Student Chapter discord bot
Install python and pip and add them in your enviornment Path.
Let's install a virtual env in your PC
pip install venv
Now cd to the directory Cloned
python -m venv env
source env/bin/activate
A small (env) will be behind your hostname in your bash terminal which means a virtual python env. is created and hence the changes done over here won't effect your actual machine's python. You can exit from this env by Reopening your terminal or by sourcing your .bashrc or .zshrc
Alternatively, you can use poetry, if you change the environment using poetry, run make
or make requirements
to update the requirements.txt
s.
pip install -r requirements.txt
Create a .env file or rename .env.example to .env and supply the credentials as demanded.
Congo, Now You are Ready to actually Run Bot by following command :-
python bot.py