Oops- Updated other two error msgs

This commit is contained in:
Dylan 2022-05-23 20:33:11 +01:00
parent e81beb975c
commit a6efd26447

View file

@ -233,7 +233,7 @@ def direct_video_link(video_link): # Just get a redirect to a MP4 link from any
print(" ➤ [ D ] Redirecting to direct URL: " + vnf['url'])
except Exception as e:
print(e)
return message("Failed to scan your link!")
return message("Failed to scan your link! This may be due to an incorrect link, private account, or the twitter API itself might be having issues (Check here: https://api.twitterstat.us/)")
else:
return cached_vnf['url']
print(" ➤ [ D ] Redirecting to direct URL: " + vnf['url'])
@ -249,7 +249,7 @@ def embed_video(video_link, image=0): # Return Embed from any tweet link
except Exception as e:
print(e)
return message("Failed to scan your link!")
return message("Failed to scan your link! This may be due to an incorrect link, private account, or the twitter API itself might be having issues (Check here: https://api.twitterstat.us/)")
else:
return embed(video_link, cached_vnf, image)