The Moodle Assistant Bot helps teachers and students answer questions about their Moodle assignments and courses while keeping them updated with notifications -- right within Teams.
Перейти к файлу
microsoft-github-policy-service[bot] 3fbe6c4688
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 20:24:42 +00:00
PostDeployScripts Added bot code 2019-01-10 12:35:00 -08:00
assets Add files via upload 2019-01-11 17:20:11 -08:00
core Bug fixes 2019-01-18 16:58:21 -08:00
lang Added bot code 2019-01-10 12:35:00 -08:00
services Bug fixes 2019-01-18 16:58:21 -08:00
.gitignore Initial commit 2019-01-07 18:08:17 -08:00
LICENSE Add MIT License 2019-01-14 17:28:19 -08:00
README.md Having the LUIS Pricing Tier link inside 2019-01-18 23:00:32 -08:00
SECURITY.md Microsoft mandatory file 2023-06-02 18:22:12 +00:00
_config.yml Set theme jekyll-theme-cayman 2019-01-15 15:54:29 -08:00
azuredeploy.json Updating the LUIS regions making sure that the entire world can be enabled 2019-01-29 17:22:50 -08:00
deploy.cmd Added bot code 2019-01-10 12:35:00 -08:00
iisnode.yml Added bot code 2019-01-10 12:35:00 -08:00
index.js Added bot code 2019-01-10 12:35:00 -08:00
package.json Bug fixes 2019-01-18 16:58:21 -08:00
web.config Added bot code 2019-01-10 12:35:00 -08:00

README.md

Moodle Assistant Bot for Microsoft Teams

The Moodle Assistant Bot for Microsoft Teams helps teachers and students answer questions about their courses, assignments, grades and other information in Moodle. The bot also sends Moodle notifications to students and teachers right within Teams!

How to deploy the Moodle Assistant Bot to Azure

Step 1: Register

  • Go to the Microsoft Application Registration Portal to regsiter a new app.

  • Once you enter the name of the app (Eg. MoodleBot), simply click on the Generate New Password button and copy the one-time generated password.

  • Once the password is generated, copy the Application ID of the app along with the generated password from above.

  • Scroll down and click on Save.

Step 2: Deploy

Click on the Deploy to Azure button and fill in the following details in the form:

  • LUIS Pricing Tier - LUIS Pricing Tier
  • LUIS Region - Region where the LUIS resource will be deployed
  • Bot Application ID - Application ID from Step 1
  • Bot Application Password - Application Password from Step 1
  • Moodle URL - The URL of your Moodle server
  • Azure AD Application ID - The Application ID saved in the Setup page of your Office 365 Moodle Plugin
  • Azure AD Application Key - The Application Key saved in the Setup page of your Office 365 Moodle Plugin
  • Azure AD Tenant - The tenant name (xyz.onmicrosoft.com) of your Azure AD tenant
  • Shared Moodle Secret - Paste the secret from the Office 365 Moodle plugin page

Deploy to Azure

Step 3: Configure

  • Once the bot is deployed, go to the Azure Portal, navigate to your bot's Resource Group and select the "Web App Bot".

  • Copy the Messaging Endpoint highlighted in the Overview section (Ex: https://provisioned-bot-name.azurewebsites.net/api/messages), rename messages to webhook (Ex: https://provisioned-bot-name.azurewebsites.net/api/webook)

  • Paste this endpoint to the Bot Endpoint field in the Teams Settings page of your Office 365 Moodle Plugin.

Feedback

Thoughts? Questions? Ideas? Share them with us in our Moodle+Teams Uservoice channel!

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

© Microsoft, Inc. Code for this respository is licensed under the MIT license.

Any Microsoft trademarks and logos included in this respository are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this respository.