Skip to main content

A Python Packages to make own chat room

Project description

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

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)

Uploaded Source

Built Distribution

chathon-1.5-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page