Mods
This commit is contained in:
2
main.py
2
main.py
@@ -479,7 +479,7 @@ async def shitpost(ws, room_id):
|
|||||||
text = soup.get_text(separator="\n").strip()
|
text = soup.get_text(separator="\n").strip()
|
||||||
text = clean_lines(text)
|
text = clean_lines(text)
|
||||||
number = "123"
|
number = "123"
|
||||||
url = f"https://boards.4chan.org/{board}/thread/{id}#p{number}"
|
url = f">boards.4chan.org/{board}/thread/{id}#p{number}"
|
||||||
|
|
||||||
if not text:
|
if not text:
|
||||||
text = url
|
text = url
|
||||||
|
Reference in New Issue
Block a user