RocketChat / RocketChat/Rocket.Chat.js.SDK

How can I add multiple bots ?

Open
#39 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
146
Forks
99
Avg merge
7h 59m
Merged PRs (30d)
17

Description

How can I listen to the chats to multiple bots ? Suppose I want to reply to messages to bot1 and bot2 from the same application. Currently we can create only import #one driver object in a node process when you import driver from sdk. How do I create separate driver objects ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SDK entry point where the imported driver is created and read how a single driver is initialized and connected. Determine what would be required for one application to create separate drivers for bot1 and bot2, then verify that each can listen and reply independently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.