-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_questions.js
106 lines (88 loc) · 2.36 KB
/
get_questions.js
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
var q = {
get_Question: function (channelID){
question_choice = getRandomInt(1,14)
switch(question_choice){
case 1:
bot.sendMessage({
to: channelID,
message: 'What was the name of the U.S. mail service, started in 1860, that used horses and riders?'
});
break;
case 2:
bot.sendMessage({
to: channelID,
message: 'What type of animal is known as the ship of the desert?'
});
break;
case 3:
bot.sendMessage({
to: channelID,
message: 'The Starry Night is an oil on canvas painted by which post-impressionist painter?'
});
break;
case 4:
bot.sendMessage({
to: channelID,
message: 'CERN launched the very first website in what year?'
});
break;
case 5:
bot.sendMessage({
to: channelID,
message: 'When referring to a computer monitor, what does the acronym LCD stand for?'
});
break;
case 6:
bot.sendMessage({
to: channelID,
message: 'When talking about computer memory, what does the acronym ROM stand for?'
});
break;
case 7:
bot.sendMessage({
to: channelID,
message: 'In 1975 an engineer created the first electronic camera while working for what company?'
});
break;
case 8:
bot.sendMessage({
to: channelID,
message: 'The first person shooter video game Doom was first released in what year?'
});
break;
case 9:
bot.sendMessage({
to: channelID,
message: 'In what year was the first Apple computer released?'
});
break;
case 10:
bot.sendMessage({
to: channelID,
message: 'In a website browser address bar what does "www" stand for?'
});
break;
case 11:
bot.sendMessage({
to: channelID,
message: 'In what year did Nintendo release its first game console in North America?'
});
break;
case 12:
bot.sendMessage({
to: channelID,
message: 'What is the farthest human-made object from planet Earth?'
});
break;
case 13:
bot.sendMessage({
to: channelID,
message: 'Who developed and patented the electrical telegraph in the United States in 1837?'
});
break;
on = true;
return question_choice;
}
}
}
exports.data = q;