-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathget_reply.py
More file actions
32 lines (26 loc) · 2.53 KB
/
get_reply.py
File metadata and controls
32 lines (26 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
'''
get_reply.py: choose a reply
26 Feb 2020
Vicki Langer (@vicki_langer)
'''
from random import choice
# TODO: add more replies
REPLIES = (
'Here\'s our question! \nStick around, we\'ll have another in 3 hours! \n\n🤷It may be easy, it may be hard. \n⌨️Either way, give it a tweet \n🔎Don\'t know it? Look it up \n❓Still unsure? Ask',
'Above is our question! \nCheck back in 3 hours for another! \n\n🤷Maybe it\'s simple, maybe it\'s not \n🖱️Go ahead and tweet \n🧭Not sure? Search the web \n🗺️Still don\'t know? Ask',
'See above for our question! \nCheck back in a few hours for another! \n\n🤷It may be easy, it may be hard. \n⌨️Either way, give it a tweet \n🔎Don\'t know it? Look it up \n❓Still unsure? Ask',
'👆Check above for a fun code question! \nCheck back soon for another! \n\n🤷Maybe it\'s simple, maybe not \n🖱️Go ahead & tweet \n🧭Not sure? Search the web \n🗨️Still don\'t know? Ask',
'👆Look up there for a fun code question! \nCome back shortly for another! \n\n🤷Maybe it\'s simple, maybe it\'s not \n📢Tell us in a tweet \n🧭Not sure? Search the web \n🗺️Still don\'t know? Ask',
'🙈Do NOT look at the question above! \n🚫Definitely don\'t answer it! \n\n🙉Fine, don\'t listen to me. \n🤖I\'m just a bot. \n📢Whatever, I know you\'re gonna do it anyway.',
'🚨Alert! Alert!🚨 \n🙈Do NOT look at the question above! \n🚫Definitely do NOT answer it! ',
'💥Wild Code Question appeared! \n❓Fight or Run? \n\nYou use Answer the Question \nIt was very effective!',
'You\'ve found a code question! \n👆Look at the above tweet! \n\n⌨️While you\'re here, you may as well answer it.',
'👋 Hi there, I\'m a bot. \n❓I tweet questions! \n🤖I was built for devs to have fun & meet other devs. \n👆Look up there for a fun code question! \n\n great for #CodeNewbies',
'Hey there! Are you doing #100DaysOfCode #301DaysOfCode? \n👆Look at the above tweet! \n🤖I was built for devs to have fun & meet other devs.',
'👆Check above for a code question! \nWould you like to add questions to this bot? \nAdd \'em via GitHub. https://github.com/VickiLanger/code-questions-bot/issues/5 \n\nIf you have questions, I\'m happy to help.',
'👆Did you see the question up there? \n\n🔎Don\'t know it? Look it up \n❓Still unsure? Ask',
'❓Know anyone who could answer the question? \nTag them\n\nyou could also, RT the question for more people to see',
)
def get_reply():
reply_to_tweet = choice(REPLIES)
return reply_to_tweet