Share your repls and programming experiences

← Back to all posts
💬 Chat 💬
CodingElf66

💬 Chat 💬

Intro

Hello, Replit Community! Today I'm back with one of the hardest projects in Python, it's a Chat, a real one, working and running! Do any of you still remember @pyelias's post on Chatroom? Well, here's another one, but better! You can type different colors, bold, italic, report users, and more! Below is a guide of how to use it!

How It Works

First, you should see the chat, then you should see a message input. After that, type in a message! Don't just type in anything; players who choose to spam the chat or say inappropriate words will get themselves banned. If the admins of this site choose to, they can un-ban you, but comment below if you want to be un-banned.

People's usernames will be highlighted in green, while links would be blue and hyperlinked to their actual link. Your name is in bold, and make sure that you are logged in before you use this chat application.

Controls

Here are a list of controls that you can type as your message.

  • !r: refreshes the messages (you must use this command to see new messages)
  • !m: shows the messages again
  • !b: reports another user, and we will go look at it
  • !h: just gives the important stuff of this chat, if you need help you can type that

And, for styling!

  • :text:: prints text bold
  • ;text;: prints text italic
  • <text<: prints text red
  • >text>: prints text orange
  • {text{: prints text yellow
  • }text}: prints text light green
  • (text(: prints text green
  • )text): prints text light cyan
  • /text/: prints text cyan
  • ]text]: prints text blue
  • ~text~: prints text magenta
  • &text&: prints text light magenta
  • ^text^: prints text black
  • %text%: prints text gray
  • $text$: prints text light gray
  • |text|: prints text in ASCII

Rules

Here are a list of rules that you MUST follow in order to use the chat.

  • Don't say bad words
  • Don't spam the chat
  • Don't cyberbully or target people on this platform
  • Be nice to everyone here
  • Don't judge people based on their background, race, gender, identity, etc.

That's all the rules! Just keep this chat a nice place for people to chat, and that's all!

Images

Here are just a few images for your sample!

Credits

Here are a list of credits!

  • @Coder100 for making a website so I could make a Json Directory to store the chat in!
  • Google, thanks for helping me, I was able to search things up!

That's all the credits!

Implementing

We have an idea; we will be trying to make a Markdown so people can design their comments. This will include:

And, with some extended Markdown features, such as coloring your messages with colors such as blue, red, green, yellow, red, and also ASCII!

Closing

That's all, hope you enjoy it! It would be nice if you upvote this post, thanks! Good luck and have fun with this chat application, and goodbye!

P.S. Please give a rating in the chat so I can know how to improve. Suggestions and compliments are also welcome.

Update 1: 4:07 PM PST (made it hacker-free; nobody can edit the file now)

Update 2: 9:50 PM PST (made it so that you cannot say bad words in the chat)

Update 3: 4:09 PM PST (made it so that now there are links to the files)

Update 4: 5:10 PM PST (made it so that there is a help command '!h', so if you need help you can type that in)

Update 5: 4:23 PM PST (made it so that you can type colors in the chat)

Update 6: 6:00 PM PST (made it so that you can type all sorts of colors in the chat)

Update 7: 8:33 PM PST (made it so that you can type bold and italic text in the chat)

Note: This chat has been closed, but if you want to get a general idea of what it looks like, you can say so in the Comments below.

Voters
ruiwenge2
Kuronicle
CodeMaster007
GianniB1
TravisRaney1
CodingElf66
Yoplayer1py
TurtleAndrew
Whippingdot
KhadijaKhaled
Comments
hotnewtop
ch1ck3n

wacky tacky i just did a hacky

CodingElf66
CodingElf66

@ch1ck3n Don't hack the chat dude or everyone will know now lol

CodingElf66

Dude did you just glitch it or what? Now it's returning an error and I can't FIX IT

ch1ck3n

@CodingElf66 oops

who knew what 2 lines of code can do
https://replit.com/@ch1ck3n/chat-hack#main.py

CodingElf66

@ch1ck3n Bruhh what did you do? Did you go to @Coder100's website for creating Json directories and find the link in the code and HACK in it?

CodingElf66

@ch1ck3n You just earned a spot in the banned part of this chat, I'm telling you xD

ch1ck3n

@CodingElf66 i cleared the database

ch1ck3n
CodingElf66

@ch1ck3n Thx oh yeah can I be hired at Poop Inc.?

ch1ck3n

@CodingElf66 are you active on replit discord

CodingElf66

@ch1ck3n I'm using a school account so I can't use Discord it's blocked.

ch1ck3n

@CodingElf66 then no

EmilyYe4

can i join poop inc @ch1ck3n

CodingElf66

@EmilyYe4 Are you in Replit Discord? you have to be to join

ch1ck3n

@EmilyYe4 go on to replit discord and ask piero

EmilyYe4

Yes I am on replit discord @CodingElf66

EmilyYe4

okay which channel tho? @ch1ck3n

ch1ck3n

@EmilyYe4 just send me your tag and I'll ask piero directly

EmilyYe4

okay my username is Iamety1318#8812 @ch1ck3n

CodingElf66

I hope this Repl goes on Trending

Leroy01010

IT IS! @CodingElf66

Whippingdot

from the description itself i thought it was awesome

and then i saw @ch1ck3n 's hack...

CodingElf66

@Whippingdot He loves to hack

CodingElf66

@Whippingdot I fixed it

Whippingdot
Agzamikail

And you can somehow change so that all messages are written in another server when I did Fork @CodingElf66(198)

CodingElf66

@Agzamikail Yeah great

CodingElf66

Update 4: Now there is a Help command ('!r'), if you need any help you can go there!

LeviathanCoding

bruh how'd you get my replit username without me logging in or anything?

Ya better not be snoopin' 'round and gettin' peoples' account tokens on replit.

Nice job, btw.

CodingElf66

@LeviathanCoding It's easy, you do this:

That returns your Replit Username, if you are not logged in, then it returns 'five-nine'

LeviathanCoding

ah okay, thanks @CodingElf66

CodingElf66
CodingElf66

@ruiwenge2 somehow when I forked Cookie's repl about Json Directories and made the Json Directory and deleted the Dashboard for editing the file, it didn't work. I don't know how. Somebody must has a way for doing that.

ruiwenge2
CodingElf66

@ruiwenge2 You said use quotes, wdym?

Coder100

cool!

Interesting to find people use json db

CodingElf66

@Coder100 Yea thanks for your website

ebeanie

seriously, you gotta go and fix up your program.

ruiwenge2

cool! +1 upvote

now will you upvote my game

CodingElf66

@ruiwenge2 Sure I will, thx!

MylesStringer

a buger bun

TravisRaney1

WOOOOW! I will give you credit for this one, #so awesome!!!

CodingElf66
TravisRaney1

@CodingElf66 your welcome and plus, I am so struggling on my code which is a movie story: season 2, episode 1 :(

TravisRaney1

@CodingElf66 really needed your help but not sure if you are busy or something

TravisRaney1

@CodingElf66 got a question for you: you don't mind helping me out with a movie story: season 2, episode 1, please?

CodingElf66
TravisRaney1

@CodingElf66 okay, come on over to my team repl, @rickysong invited you there

Kingq23

@CodingElf66 when will this be going back up

CodingElf66

@Kingq23 If you really want to see it, then I'll open it for you

0bE

bruh it was going viral too :(

CodingElf66

@0bE I closed it

idontknoiw

doesnt work

CodingElf66

@idontknoiw Maybe read the post, I closed it, I can't monitor it all year long

idontknoiw

@CodingElf66 i meant when i fork it

CodingElf66

@idontknoiw Same thing the code is still the same if you fork it

idontknoiw

@CodingElf66 i know but how do i fix it lmao

CodingElf66

@idontknoiw In the first few lines you should see this:

Just get rid of it

SilvermoonCat

wehys it closed?

CodingElf66

@SilvermoonCat I can't monitor it for forever, but if you want to see it I can open it for you.

SilvermoonCat

@CodingElf66 oh ok
sure, can you open it for like 5 minutes if ur online rn?

CodingElf66

@SilvermoonCat Sorry I didn't see your notifications because my team keeps spamming messages so I didn't bother to read them all (they spam like 100 every time)

CodingElf66

@SilvermoonCat You want me to open it right now?

OlauPla

Why was the chat closed? Can't you fix hacker. If you need help just ask

CodingElf66

@OlauPla Because I can't monitor it anymore. People will just keep hacking.

rickysong

uhhhh @CodingElf66 you said "EAT MY PPOOOOPP" and "EAT MY PPOOOOPPy"

rickysong

and it doesn't work anymore ;-;

CodingElf66

@rickysong I'm just leaving it alone for now

rickysong
firefish

@rickysong whats the problem with that, other than being weird?

CosmicBear

@rickysong I think I added the "y" when I tried to fix the database.

OlauPla

Also I have been checking your code and you do some really strange stuff... I think i won't upvote because of that

CodingElf66

@OlauPla Like what?

OlauPla

Hey is there a problem with it rn? I only see a message from @CodingElf66 and it is "eat my ppooooop

CodingElf66

@OlauPla There's a hacker sorry

CosmicBear

i think someone hacked it

Leroy01010

yep ch1ck3n's hack was used in this so the owner closed it @CosmicBear

EvijaD

Super cool, great job!

BIue

I dont like the fact that it stops and blacks out everytime, I/user inputs. It do be looking retro though

CosmicBear

this is basically a version of my original project but better.

CodingElf66

@CosmicBear Yup I got inspired by it, in fact.

CodingElf66

@CosmicBear I also got inspired by pyelias's chatroom. I was amazed by it, and I wanted to create one but better, too. ASCII just came out btw, it's |text|

iocoder

cool @CodingElf66

gonna change banned.txt lol jk
CodingElf66
iocoder

@CodingElf66 it wasnt meant as a joke but yah sure lol.

it giving me Warning: This chat has been closed r u debuging or like fixing it or smth?

CodingElf66

@iocoder I closed it permanently but if you want to see it I'll open it for you

Isabelle33

@CodingElf66, it is on trending now

Isabelle33

omg WOW nice

EmilyYe4

@CodingElf66 can u add something like when u get banned you go to a "banned chat?"

CodingElf66

Interesting suggestion, but why?

CodingElf66

@EmilyYe4 They are banned because they lost the privilege to chat, so why should you make a "banned chat"? I don't think it is a bad suggestion necessarily, but I don't get the full idea of it

Leroy01010

Banned chat isn't a good idea becuase that gives the person who was banned a reason to not feel sorry @EmilyYe4

EmilyYe4

hmmm yea, they can technically still chat, just that they can only chat with banned people @Leroy01010

EmilyYe4

Its kind of like, you cheat in a game, you get sent to the cheaters playground where everyone cheats. Not fun @Leroy01010

CodingElf66

@DavidSmith22 you were banned because you said bad words with no warning/reason. @l1ve was only saying it to test the filter, that is my word. If you want to be unbanned, tell me and say you really mean it.

CodingElf66

More bad words were added to censors.txt, so they'll have nothing to say now!

ch1ck3n

@CodingElf66 loads my extensive dictionary of potty words

CodingElf66

@ch1ck3n What? Be welcome to add some words on censors.txt.

CodingElf66

@ch1ck3n I believe I have poop, pee.