Skip to content
← Back to Community
Pychat
Profile icon
ebest

I'm making a Python chat server to mimic this one:
https://repl.it/talk/share/Working-Chatroom/3741
But that one does not work anymore.
Here's mine:
https://repl.it/@ebest/Pychat
I still want to encrypt it though.
More features coming soon! (hopefully)
Use !commands to show all commands

Changelog:


V: 1
Added users, a few commands


V: 1.1
Added !colorc to change text color
Added !commands to show commands
Added admins


V: 1.2
Improving !who, fixed problem of having
who repeat at login the amount of times
!who's been called.


V: 1.3
fixed problem with all times from
messages before startup being condensed
so all times are the startup times


V: 1.4
Added new commands, added hidden
passwords with usernames.


V: 2.0
Added about 99 admin commands. Just ask for an account. I'll also need your credit card number, its expiration date, and the numbers on the back. And give me your email (Actually).


V: 3.0
Added a massive amount of user verification. Well, not a lot, but anyways...


V: 3.1
Yay! Added leave detection (THAT WORKS)

-Ebest

Voters
Profile icon
proryan
Profile icon
techgeek680
Profile icon
Atomic-Gamming
Profile icon
AdCharity
Profile icon
lclarkejhdf
Profile icon
Inevitable
Profile icon
Geocube101
Profile icon
Existential
Profile icon
SixBeeps
Profile icon
Alternateego
Comments
hotnewtop
Profile icon
HarperframeInc

Maybe try to prevent impersonation by removing names like 'ebest'?

Profile icon
ebest

@HarperframeInc what do you mean? Oh, the usernames that are accounts are all colored, so you can identify them as the real ones.

Profile icon
ebest

@HarperframeInc well done

Profile icon
[deleted]

anyone wana...CHAT

Profile icon
techgeek680

LOVE IT!! one small bug: doesnt ask me for a password.

Profile icon
ebest

@techgeek680 it only does that if you get me to make you a user

Profile icon
techgeek680

oh can you make me an account @ebest

Profile icon
ebest

@techgeek680
comment username/password, then delete the comment quickly

Profile icon
techgeek680

did you get it? @ebest

Profile icon
ebest
Profile icon
techgeek680

hey, thanks bro! @ebest

Profile icon
techgeek680

thank you! one thing, it does this when i type in password.
image
@ebest

Profile icon
ebest

it's if you typed in the password wrong
@techgeek680

Profile icon
techgeek680

oh i thought my password was right. @ebest

Profile icon
rediar

@ebest wow! can I have an account? I'm working on yet another project that has live chess

Profile icon
ebest

@rediar Username and password?

Profile icon
rediar

@ebest discord you it later

Profile icon
ebest

@rediar just comment it then delete the comment quickly. The comment will not show up to anyone but it will show up in my mailbox.

Wow your chat-online is a copy.

Profile icon
rediar

@ebest You mean Chess Online? That file is empty, because the tutorial I found was uhh in Node.js, and live chat is mat’s though it doesn’t work because recaptcha.

Profile icon
ebest

@rediar ok your account is added

Profile icon
rediar

@ebest thank you comrade

Profile icon
ebest

@rediar You're welcome, comrade doe

Profile icon
rediar

@ebest err problem comrade eric, when I type in 'rediar' takes me straight to lobby without asking for password, also have a good tutorial for this kind of thing?

Profile icon
ebest

@rediar er are you not "Prussia"?

Profile icon
rediar

@ebest oh oof, I'm just stupid

Profile icon
ebest
Profile icon
rediar

Cool!

Profile icon
ebest

@rediar can I help the chatbot?

Profile icon
rediar

@ebest yeah sure, just now I was updating the chess features, also how do you reply so fast in a weird time?
https://repl.it/live/pTpGx3PBPnGRvg

Profile icon
rediar

@ebest hey sorry, multiplayer crashed, it just said "this plugin crashed". Probably because chen tim is making some bugs right now

Profile icon
ebest

@rediar oh right I saw that once

Profile icon
[deleted]

I just finished making my own chat room:
https://chat--gamemaster1928.repl.co

Profile icon
ebest
Profile icon
[deleted]

@ebest I also got the idea from Working Chatroom

Profile icon
ebest

@GameMaster1928 LOL doesn't work anymore. :(

Profile icon
[deleted]

@ebest Yeah, that's why I decided to make a new chat room. To replace it.

Profile icon
ebest

@GameMaster1928 huh

not so working chatroom

Profile icon
[deleted]

@ebest
I kinda deleted it because I was trying to make my site better but deleted the whole folder lol

Profile icon
ebest

@GameMaster1928 no the other one
the one by pyalias
hey check out my chatroom it's fun

Profile icon
evanzimmerman

Cool! I actually spent some time on a python chatroom a while ago that I also happened to name Pychat. I used the google sheets api to append messages to a sheet and update the screen.

Profile icon
amasad

Nice! I love it!

Profile icon
ebest

@amasad thanks!

Profile icon
Aidan72

its not working for me :/

Profile icon
ebest

@Aidan72 seems to be working fine
:/

Profile icon
Aidan72

@ebest the URL on the post is incorrect

Profile icon
ebest

@Aidan72 ohhhhh it's fixed now
sorry

Profile icon
Aidan72

@ebest hey

Profile icon
ebest

@Aidan72 check it out now and all the things I've added.

Profile icon
[deleted]

Wow! This is amazing! Can you make a simpler version for me without all the hashing?

Profile icon
ebest

@Helixable The hashing is only for the password. It does not matter that much. Do you want a private server? And I'll make one without hashing.

Profile icon
[deleted]

@ebest Yes please! Thanks!

Profile icon
ebest

@Helixable All done.
https://repl.it/@ebest/Pychat-no-hash
and the server: https://repl.it/@ebest/Pserver

Upvote the project if you like it!

Profile icon
[deleted]

@ebest I will upvote it :)

Profile icon
Aidan72

i think i broke it @ebest

Profile icon
Aidan72

@ebest i did

Profile icon
Aidan72

@ebest its fixed

Profile icon
Aidan72

@ebest i think you kicked me

Profile icon
Aidan72
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/local/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "main.py", line 75, in print_msgs c.send("dmsg", c.gr(), name, "Is here", message[1]) IndexError: list index out of range
Profile icon
Aidan72

Cool concept it wont work for me for some reason and it wont let me like it either so idk lol but it has a lot of code so im assuming it atleast kinda works

Profile icon
Aidan72

@ebest is that supposed to be laughter like something funny just happened or like angry laughter

Profile icon
Aidan72
password = "e53dd1b3db374e2b4b51b4401d9aea3b66be8717f3589a04cd27b537135f658167ba5ea0cf7d5ba7128e7491610b58d3f11dde8a3ee84abf7c2e425928fc3f67" #Chatmin

this seems like it shouldnt be visible

Profile icon
ebest

@Aidan72 It's a hash. It's not an actual password. oh, the comment is gone. I'm changing the password anyways.

Profile icon
Aidan72

@ebest oh ok lol I literally started learning python yesterday so idk anything lol

Profile icon
ebest

@Aidan72 lol it's ok thanks for the comment notice