Skip to content

Commit 4272dbb

Browse files
committed
Release 1.4.55
1 parent 703a1b1 commit 4272dbb

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
![GitHub stars](https://img.shields.io/github/stars/switchcollab/Switch-Bots-Python-Library)
66
![GitHub Forks](https://img.shields.io/github/forks/switchcollab/Switch-Bots-Python-Library)
7-
![Version](https://img.shields.io/badge/version-1.4.44-green.svg)
7+
![Version](https://img.shields.io/badge/version-1.4.55-green.svg)
88
![PyPI - Downloads](https://img.shields.io/pypi/dm/swibots)
99

1010
# SwiBots: Python Library for Switch App
@@ -53,17 +53,15 @@ Let's create a simple echo bot to get you started quickly. Follow these steps:
5353

5454
```python
5555
from swibots import (
56-
BotApp,
56+
Client,
5757
BotContext,
5858
MessageEvent
5959
)
6060

6161
TOKEN = "MY SUPER SECRET TOKEN"
6262

6363
# Initialize the app and register commands
64-
app = BotApp(
65-
TOKEN, "A cool bot with annotations and everything you could possibly want :)"
66-
)
64+
app = Client(TOKEN)
6765

6866
@app.on_message()
6967
async def message_handler(ctx: BotContext[MessageEvent]):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name="swibots",
19-
version="1.4.51",
19+
version="1.4.55",
2020
packages=find_packages(exclude=["samples", "bots_impl", "docs"]),
2121
long_description=long_description,
2222
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)