Skip to content

Conversation

@andrewnicols
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings August 13, 2025 22:42
@andrewnicols andrewnicols requested a review from a team as a code owner August 13, 2025 22:42
@andrewnicols andrewnicols merged commit 70cdc6a into moodle:main Aug 13, 2025
3 checks passed
@andrewnicols andrewnicols deleted the moodlebotAgent branch August 13, 2025 22:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a custom User-Agent string to specify "MoodleBot" as the user agent for HTTP requests made by the bot client.

  • Adds a userAgent property to the Bot client configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

debug: !!process.env.WIKIMEDIA_DEBUG,
username: process.env.WIKIMEDIA_USER,
password: process.env.WIKIMEDIA_SECRET,
userAgent: 'MoodleBot',
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider including version information in the User-Agent string to help with debugging and tracking. For example: 'MoodleBot/1.0' or 'MoodleBot/1.0 (https://example.com/contact)'

Suggested change
userAgent: 'MoodleBot',
userAgent: 'MoodleBot/1.0 (https://moodle.com/contact)',

Copilot uses AI. Check for mistakes.
@netlify
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 38643a5
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/689d14f3c39b8400087dc019
😎 Deploy Preview https://deploy-preview-1418--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant