/OverFlow-DiscordBOT

Project of Microsoft Learn Student Chapter to handle our Community Discord server.

Primary LanguagePython

OverFlow-DiscordBOT

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

pip install venv

Now cd to the directory Cloned

Virtual Python Enviornment

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.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 :-

python bot.py