Direct embed and 404 tweet tests

This commit is contained in:
Dylan
2022-09-29 01:23:53 +01:00
parent 777458e58f
commit d680579d6a
3 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,7 @@
failedToScan="Failed to scan your link! This may be due to an incorrect link, private/suspended account, deleted tweet, or Twitter itself might be having issues (Check here: https://api.twitterstat.us/)"
failedToScanExtra = "\n\nTwitter gave me this error: "
tweetNotFound="Tweet not found."
tweetSuspended="This Tweet is from a suspended account."
def genLikesDisplay(vnf):
return ("\n\n💖 " + str(vnf['likes']) + " 🔁 " + str(vnf['rts']) + "\n")