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)
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