Visistors
PyPI - Status
PyPI - Downloads
PyPI
GitHub stars
GitHub forks
GitHub issues
GitHub commit activity
Discord

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
  • This part will be done by TheGenocides using colorama

  • Using Decorator
  • 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

GitHub

View Github