A Python Packages to make own chat room
Project description
Chathon
A Python packages for make own chat room
Install
- PyPI
pip install chathon
- Development version
pip install git+https://github.com/EterNomm/Chathon
Examples
- Server side
import chathon
server = chathon.Server(port=1212, record_conversation=False)
server.start()
- Client side
import chathon
client = chathon.Client(username="LyQuid")
client.connect(server_ip="127.0.0.1", server_port=1212)
- Bot
import chathon
bot = chathon.Bot(bot_name="Chathon", prefix="/", server_ip="127.0.0.1", server_port=1212)
bot.command(command_name="test", response="work!")
Plan
- Adding Colors
- Using Decorator
This part will be done by TheGenocides using colorama
We will try to create a decorator for the bot command, for example: @bot.command()
Bug list
- Spam (Small chances)
Sometimes bots will spam when responding to users
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chathon-1.5.tar.gz
(8.6 kB
view hashes)
Built Distribution
chathon-1.5-py3-none-any.whl
(9.7 kB
view hashes)