Share your repls and programming experiences

← Back to all posts
PyChat
CoolJames1610 (562)

NEWWWW UPDATEEEEEE

CREATE YOUR OWN SERVER! WOW JUST USE !createserver - Ability to set mods will be in tomorrows update - im tired XD

SET HOW MANY MESSAGES YOU CAN SEE! JUST GO TO SETTINGS IN MAIN MENU - NEW MESSAGES ARE NOW SHOWN AT THE TOP INSTEAD OF THE BOTTOM!

ALL MESSAGES HAVE BEEN DELETED LOL SOZ

NEW INTERFACEEEE USE W and S or UP and DOWN TO NAVIAGTE!!! ENTER TO SELECT!

Next update
Set mods
Easily select ur servers

Comment ideas!


PyChat

Chatting system created with Python with the aid of MongoDB

Please upvote if you enjoyed :D

Better in fullscreen

Not compatible with mobile yet

Thanks :P


Commands:
! prefix of commands
!warn @[user] [reason] only mods and owner
!refresh or ENTER to refresh
!serverinfo get the info of the server
!userinfo @[user] Get information about a user
!createserver Create your own server! Can be private or public!
!mainmenu Gets you back to the main menu!

@[user] tags the user. Highlight ORANGE for that user but not for you
#[user] Private messages a user. Highlights PURPLE for that user AND yourself
@everyone tags EVERYONE in that server. Beware of the MODS and owners XD

If u want to become MOD, please Private message me (#CoolJames1610 I want to become a MOD)

Comment any features you would like to see :) and I might implement them

-Loosely based off Discord
Commentshotnewtop
techgeek680 (69)

this is 100% an upvote ;-)
p.s. send me a message! #hiME2002

BuzzawJHKE (19)

Can you add deleting messages?

CoolJames1610 (562)

Thanks for the feedback! @jhke

BuzzawJHKE (19)

BTW I gave you a message on PyChat

CoolJames1610 (562)

PyChat is going through a major update lol... @ZDev1

CoolJames1610 (562)

i forgot about ur suggestion for deleting messages as im working on how people can create their own server but if I have time, I'll implement it today :D @ZDev1 @jhke

ZDev1 (462)

@CoolJames1610 not me!
there is someone else that told you about deleting messages

ZDev1 (462)

@CoolJames1610 you only comment my posts, sorry if you are busy but...
I wish someone see my GOOD posts
i am so good but not popular

CoolJames1610 (562)

:( just continue making your GOOD posts :D @ZDev1

CoolJames1610 (562)

I will properly check out ur posts when im done with PyChat :) @ZDev1

BuzzawJHKE (19)

I made a server. (go to my profile and you might get a hint)

CoolJames1610 (562)

I can just go on the database and get the info but okay XD @jhke

techgeek680 (69)

I sent you a message. I'm hiME2002. @jhke

arcadman2018 (5)

I understand that I have chosen not the best nickname for PyChat (but "uid0" is even worse, especially for login on the Internet, you know), but please, someone solve the login problem?

JBYT27 (104)

Traceback (most recent call last):
File "main.py", line 1, in <module>
from mainChat import*
File "/home/runner/6atkgts0wyi/mainChat.py", line 615, in <module>
userLogin(limit)
File "/home/runner/6atkgts0wyi/mainChat.py", line 66, in userLogin
ifName = d[1]
IndexError: list index out of range

wah?

SwaroopBappanad (31)

I get this every time i run it:

Cookiezz (65)

Well, this was amazing yesterday when I saw the server update (It worked yesterday and the day before), but now it won't seem to work... : (

ccc814p (1)

I'm getting an error when trying to use this. Traceback (most recent call last):
File "main.py", line 1, in <module>
from mainChat import*
File "/home/runner/x1z3pyzns7/mainChat.py", line 615, in <module>
userLogin(limit)
File "/home/runner/x1z3pyzns7/mainChat.py", line 66, in userLogin
ifName = d[1]
IndexError: list index out of range
Any help? I'm trying to enter my username.

BobNeo (39)

@CoolJames1610 sorry, but I accidentally created an empty username and I think I broke the database. I’m pretty sure if you delete the empty username in the database it should be fixed. Sorry.

NoelB33 (314)

I created a replit room, cool project btw

Crcoli7307 (29)

@CoolJames1610 If I make my own server am I an admin on my own server?

CoolJames1610 (562)

You are the owner :D but ive not added any powers yet except from !warn @Crcoli7307

phoke10 (1)

hi can I have some of you code

arcadman2018 (5)

And it would be nice if you made ability to change background with help of HEX

arcadman2018 (5)

And yeah, make command, like !mainserver - it would be nice, too

CoolJames1610 (562)

Use !mainmenu and click enter to go to main server :D @arcadman2018

arcadman2018 (5)

It will be nice if you take logging module from Python to catch some bugs or errors with help of users :p

VulcanWM (2067)

@CoolJames1610, thanks for making me a MOD

CoolJames1610 (562)

Did you create a server and warned me in that server? @medcho

VulcanWM (2067)

I made a server for my website. Can I put it on my website now? I just need you to change repl username to username if you can. @CoolJames1610

VulcanWM (2067)

Okay, so if I made a server, I can warn anyone. @CoolJames1610

CoolJames1610 (562)

Ohhh i know now :D when u make a server, I automatically get added to it as Im admin. But you can only warn ppl in ur server. You can use this server feature for your website :) @medcho

VulcanWM (2067)

I made a server for my website. Can I put it on my website now? I just need you to change repl username to username if you can. @CoolJames1610

CoolJames1610 (562)

U can put it on ur website @medcho

VulcanWM (2067)

I am using this so people can contact me. If people see repl username, it might confuse them. It would be nice if you could do it, but if you don't want to do it, fine. @CoolJames1610

CoolJames1610 (562)

Ok ill put (repl) in brackets @medcho

VulcanWM (2067)

Is there a way I can change my password?

CoolJames1610 (562)

no :D but you can pm me what you want it to be and i can change in database @medcho

CodeLongAndPros (1244)

I see you've imported threading, however, it seems you don't use it. Please add threading.

CoolJames1610 (562)

ahaha i was trying to use it for something but it didnt work :D @CodeLongAndPros

[deleted]

good, however try limiting the amount of messages shown, as it will have to scroll for around 5 seconds before reaching the last message sent

CoolJames1610 (562)

Yeah will implement something today :D @roylatgnail

DannyIsCoding (656)

Your repls are awesome! MongoDB is awesome too! :)

ZDev1 (462)

wowowowoowo!!!!!
THIS IS PERFECT!
you only should make it with Flask or Django and you'll be already good!

ZDev1 (462)

@CoolJames1610 can you see my latest posts
i have no comments, help me please

Leroy01010 (151)

how do you use the create server ability