trash chatroom
h
maazzubair99 (112)

so I saw @taylorliang 's FreeDB and thought it was really cool. I started messing around with it, and found out that i could send a message through it. I made a copy of it, used it as a server for this trash chatroom that took me way longer to make that I'd care to admit

v1.1:
fixed inputs getting cut off when new message is recived
v1.0:
inital release

You are viewing a single comment. View All
Foster_Bryant (86)

Imports shoulds should have their own lines. for example:
import requests
import threading
from getkey = keys, getkey

maazzubair99 (112)

@Foster_Bryant i don't see the point of putting imports on seperate lines. importing from the same line still provides the same functionalily

Foster_Bryant (86)

@maazzubair99 How do I send data to the database? asking this because I have an idea for a program i am making

maazzubair99 (112)

@Foster_Bryant

import requests
requests.post('https://repl-name.your-username-here.repl.co',data={
    'key':'key used to store your data',
    'data':'data you want to store'
})