This Discord bot integrates with Microsoft Graph to manage tasks and user information. It allows users to list and create tasks in Microsoft Planner, view user information, and receive notifications about the bot's status.
- Python 3.8 or higher
- nextcord
- azure.identity.aio
- Microsoft Graph Python SDK
To install the required libraries, run:
pip install -r requirements.txt
Create a config.json file in the bot/ directory. Replace the placeholders with your Azure and Discord credentials.
Clone this repository and navigate to the bot directory. Install the dependencies as mentioned in the Requirements section.
Run the bot with:
python bot.py
The bot supports various slash commands such as /ping
, /list_users
, /user_tasks
, /channel_tasks
, and /create_task
.