Add blank line before "QRT of" line
It looks a bit weird starting immediately after the tweet text without any blank lines in between. fxtwitter also adds a blank line before.
This commit is contained in:
parent
633b21b4cc
commit
47b3e31de8
4
msgs.py
4
msgs.py
@ -15,7 +15,7 @@ def genLikesDisplay(vnf):
|
|||||||
|
|
||||||
def genQrtDisplay(qrt):
|
def genQrtDisplay(qrt):
|
||||||
verifiedCheck = "☑️" if ('verified' in qrt and qrt['verified']) else ""
|
verifiedCheck = "☑️" if ('verified' in qrt and qrt['verified']) else ""
|
||||||
return ("\n【QRT of " + qrt['uploader'] + " (@" + qrt['screen_name'] + ")"+ verifiedCheck+":】\n'" + qrt['description'] + "'")
|
return ("\n\n【QRT of " + qrt['uploader'] + " (@" + qrt['screen_name'] + ")"+ verifiedCheck+":】\n'" + qrt['description'] + "'")
|
||||||
|
|
||||||
def genPollDisplay(poll):
|
def genPollDisplay(poll):
|
||||||
pctSplit=10
|
pctSplit=10
|
||||||
@ -55,4 +55,4 @@ def formatEmbedDesc(type,body,qrt,pollDisplay,likesDisplay):
|
|||||||
body = body[:-(diff+1)]+"…"
|
body = body[:-(diff+1)]+"…"
|
||||||
return formatEmbedDesc(type,body,qrt,pollDisplay,likesDisplay)
|
return formatEmbedDesc(type,body,qrt,pollDisplay,likesDisplay)
|
||||||
else:
|
else:
|
||||||
return output
|
return output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user