Microsoft Learn Student Chapter discord bot
Installation
Install python and pip and add them in your enviornment Path.
Usage
Let's install a virtual env in your PC
Now cd to the directory Cloned
Virtual Python Enviornment
python -m venv env
source env/bin/activateA 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.txts.
Installing requirements
pip install -r requirements.txt
env Variables
Create a .env file or rename .env.example to .env and supply the credentials as demanded.
Running the Bot
Congo, Now You are Ready to actually Run Bot by following command :-