Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ A Python implementation of the BitChat decentralized, peer-to-peer, encrypted ch
* [Build](#build-sdist-and-wheel)



## Installation
```Shell
pip install bleak>=0.22.3 cryptography>=44.0.0 lz4>=4.3.3 aioconsole>=0.8.1 pybloom-live>=4.0.0
```
## Usage

### Simple start
Expand All @@ -38,7 +41,7 @@ General Commands
* `/status` : Show connection info
* `/clear` : Clear the screen
* `/exit` : Quit BitChat
* `/q` : Alias for /exit
* `/q` : Alias for /exit


Navigation Commands
Expand Down
6 changes: 3 additions & 3 deletions bitchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1516,11 +1516,11 @@ async def handle_user_input(self, line: str):
return

# Commands
if line == "/help":
if line == "/help" or line == "/h" or line == "/":
print_help()
return

if line == "/exit":
if line == "/exit" or line == "/q":
# Send leave notification if connected
if self.client and self.client.is_connected:
leave_packet = create_bitchat_packet(
Expand Down Expand Up @@ -2843,4 +2843,4 @@ async def main():
try:
asyncio.run(main())
except KeyboardInterrupt:
print("\n[+] Exiting...")
print("\n[+] Exiting...")