💬 Chat 💬
💬 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:
- Bold text
- Italic Text
Files
- Profiles
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.
I hope this Repl goes on Trending
IT IS! @CodingElf66
@Whippingdot He loves to hack
@Whippingdot I fixed it
lol k @CodingElf66
And you can somehow change so that all messages are written in another server when I did Fork @CodingElf66(198)
@Agzamikail Yeah great
Update 4: Now there is a Help command ('!r'), if you need any help you can go there!
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.
@LeviathanCoding It's easy, you do this:
import os os.environ['REPL_OWNER']
That returns your Replit Username, if you are not logged in, then it returns 'five-nine'
ah okay, thanks @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 You said use quotes, wdym?
cool!
Interesting to find people use json db
@Coder100 Yea thanks for your website
haha doesnt load for me haha
i cant chat with anything it does not work
so slowww packagnggggggg i finally found a working chattttt and it justtt loadsss soooo slowlyyyyyyyy
@PythonAnaconda and then when it finally loads i get "Traceback (most recent call last):
File "main.py", line 792, in
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "main.py", line 595, in main
url = db['url']
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/database/database.py", line 439, in getitem
raw_val = self.get_raw(key)"
У тебя ошибка
"hacker free"
seriously, you gotta go and fix up your program.
cool! +1 upvote
now will you upvote my game
@ruiwenge2 Sure I will, thx!
a buger bun
WOOOOW! I will give you credit for this one, #so awesome!!!
@TravisRaney1 Thanks!
@CodingElf66 your welcome and plus, I am so struggling on my code which is a movie story: season 2, episode 1 :(
@CodingElf66 really needed your help but not sure if you are busy or something
@CodingElf66 got a question for you: you don't mind helping me out with a movie story: season 2, episode 1, please?
@TravisRaney1 Sure!
@CodingElf66 okay, come on over to my team repl, @rickysong invited you there
@CodingElf66 when will this be going back up
@Kingq23 If you really want to see it, then I'll open it for you
bruh it was going viral too :(
@0bE I closed it
doesnt work
@idontknoiw Maybe read the post, I closed it, I can't monitor it all year long
@CodingElf66 i meant when i fork it
@idontknoiw Same thing the code is still the same if you fork it
@CodingElf66 i know but how do i fix it lmao
@idontknoiw In the first few lines you should see this:
raise Warning("This chat has been closed")
Just get rid of it
wehys it closed?
@SilvermoonCat I can't monitor it for forever, but if you want to see it I can open it for you.
@CodingElf66 oh ok
sure, can you open it for like 5 minutes if ur online rn?
@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)
@SilvermoonCat You want me to open it right now?
Why was the chat closed? Can't you fix hacker. If you need help just ask
@OlauPla Because I can't monitor it anymore. People will just keep hacking.
uhhhh @CodingElf66 you said "EAT MY PPOOOOPP" and "EAT MY PPOOOOPPy"
and it doesn't work anymore ;-;
@rickysong I'm just leaving it alone for now
@rickysong whats the problem with that, other than being weird?
@rickysong I think I added the "y" when I tried to fix the database.
Also I have been checking your code and you do some really strange stuff... I think i won't upvote because of that
@OlauPla Like what?
Hey is there a problem with it rn? I only see a message from @CodingElf66 and it is "eat my ppooooop
@OlauPla There's a hacker sorry
i think someone hacked it
yep ch1ck3n's hack was used in this so the owner closed it @CosmicBear
Super cool, great job!
I dont like the fact that it stops and blacks out everytime, I/user inputs. It do be looking retro though
this is basically a version of my original project but better.
@CosmicBear Yup I got inspired by it, in fact.
@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|
wacky tacky i just did a hacky
@ch1ck3n lol
@ch1ck3n Don't hack the chat dude or everyone will know now lol
Dude did you just glitch it or what? Now it's returning an error and I can't FIX IT
@CodingElf66 oops
who knew what 2 lines of code can do
https://replit.com/@ch1ck3n/chat-hack#main.py
@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?
@ch1ck3n You just earned a spot in the banned part of this chat, I'm telling you xD
@CodingElf66 i cleared the database
@CodingElf66 nice
@ch1ck3n Thx oh yeah can I be hired at Poop Inc.?
@CodingElf66 are you active on replit discord
@ch1ck3n I'm using a school account so I can't use Discord it's blocked.
@CodingElf66 then no
can i join poop inc @ch1ck3n
@EmilyYe4 Are you in Replit Discord? you have to be to join
@EmilyYe4 go on to replit discord and ask piero
Yes I am on replit discord @CodingElf66
okay which channel tho? @ch1ck3n
@EmilyYe4 just send me your tag and I'll ask piero directly
okay my username is Iamety1318#8812 @ch1ck3n