Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfcabral committed Mar 11, 2024
1 parent 73a5f33 commit 1fae960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ You can connect major plataforms using the same bot core code by setting differe

Installation

`pip install botgen` (coming soon)
`pip install botgen`

Copy and paste the code below to a file called `run.py`

```python
# run.py
from botgen import botgen
from botgen import Bot
from botgen import BotMessage
from botgen import BotWorker
from botgen.adapters import WebAdapter

adapter = WebAdapter()
bot = botgen(adapter=adapter)
bot = Bot(adapter=adapter)

async def hello(bot_worker: BotWorker, message: BotMessage):
await bot_worker.say("hello from bot")
Expand Down

0 comments on commit 1fae960

Please sign in to comment.