Merge branch 'master' of ben/babili-bot into master
This commit is contained in:
commit
286c144bdf
|
@ -48,7 +48,7 @@ class BBJ:
|
||||||
body = reply.get("body", "")
|
body = reply.get("body", "")
|
||||||
body = sub(r">>\d\n\n", r"", body)
|
body = sub(r">>\d\n\n", r"", body)
|
||||||
body = sub(r"\n", r" ", body)
|
body = sub(r"\n", r" ", body)
|
||||||
php = "https://bbj.tilde.team/index.php"
|
php = "https://bbj.tildeverse.org/"
|
||||||
link = "{}?thread_id={}".format(php, thread_id)
|
link = "{}?thread_id={}".format(php, thread_id)
|
||||||
for channel in self.channels:
|
for channel in self.channels:
|
||||||
response = "'{}' ({}) : {} <{}>".format(title, username, body, link)
|
response = "'{}' ({}) : {} <{}>".format(title, username, body, link)
|
||||||
|
@ -86,4 +86,4 @@ class BBJ:
|
||||||
for thread in threads:
|
for thread in threads:
|
||||||
callback(thread)
|
callback(thread)
|
||||||
except HTTPError:
|
except HTTPError:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue