Skip to content

Conversation

@brentspine
Copy link

No description provided.

Copy link

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 fixes incorrect API usage in the tutorial documentation for bot.addChatPattern(). The changes correct the parameter order and event listener naming to match the current API specification.

Key changes:

  • Updated addChatPattern() parameter order from (pattern, name, description) to (name, pattern, description)
  • Fixed event listener from 'hello' to 'chat:hello' to follow the correct event naming convention

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants