Created
June 3, 2020 20:10
-
-
Save alxgrk/90ba683ef76d8055adffa1fc091f529d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tweetEditor = openTweetEditor(); | |
tweetEditor.addTextContent("..."); | |
r = Random(0, 1); | |
if (r <= 0.2) { | |
tweetEditor.attachImage(); | |
} else if (r <= 0.25) { | |
tweetEditor.attachVideo(); | |
} else if (r <= 0.3) { | |
tweetEditor.attachGif(); | |
} | |
tweetEditor.publish(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment