This Discord bot is designed to help manage club activities, track user status updates, and provide notifications. It integrates with Google Sheets to log user interactions and tracks the consistency of status updates.
- Logs user status updates to individual Google Sheets.
- Sends notifications to mentors for user warnings.
- Automatically pauses tracking for specified roles.
- Kicks users who receive too many warnings for insufficient status updates.
- Python 3.10.12 or higher
- Required Python packages listed in
requirements.txt
git clone https://github.com/SANTHOSH-MAMIDISETTI/OnboardingBot.git
cd OnboardingBotTo create a virtual environment and activate it, follow these steps:
python -m venv venv
.\venv\Scripts\activatepython3 -m venv venv
source venv/bin/activateWith the virtual environment activated, install the required packages:
pip install -r requirements.txtCreate a .env file in the root of the project and add the following variables:
DISCORD_TOKEN=your_discord_bot_token
GOOGLE_SERVICE_ACCOUNT_DATA='your_google_service_account_json'
To run the bot, execute the following command:
python onboarding.py- Use the
!pausecommand to toggle the bot's status. - The bot will log messages and track user status updates in Google Sheets.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for more details.