Fixed text length on text tweets (#214)

This commit is contained in:
Dylan 2024-06-17 23:00:21 +01:00
parent 2ff14f5925
commit ee5c93fe6d

View File

@ -33,7 +33,7 @@ def formatEmbedDesc(type,body,qrt,pollData,likesDisplay):
if qrt!=None:
qrtType="Text"
limit = videoDescLimit if type=="Text" or type=="Video" or (qrt!=None and (qrtType=="Text" or qrtType=="Video")) else tweetDescLimit
limit = videoDescLimit if type=="Video" or (qrt!=None and (qrtType=="Video")) else tweetDescLimit
output = ""
if pollData==None: