55// anishathalye
66
77module . exports = ( robot ) => {
8- robot . hear ( / \s ? # d e v \b / , ( res ) => res . send ( 'Did you mean #anish-talks-into-void?' ) ) ;
9-
10- const fireballResponses = [
11- 'Under your couch' ,
12- 'In the middle of the Pacific ocean' ,
13- 'In Italy' ,
14- 'On the BART' ,
15- "In Kimberli's supervisor's office" ,
16- 'Only Google knows...' ,
17- 'In Tel Aviv' ,
18- 'Ishaan has it' ,
19- 'I think Kimberli spilled it on her laptop' ,
20- 'Here: go/fireball' ,
21- ] ;
22-
23- robot . hear ( / w h e r e .* f i r e b a l l / i, ( res ) => res . send ( res . random ( fireballResponses ) ) ) ;
24-
258 const react = ( emoji , res ) => {
269 if ( robot . adapterName === 'slack' ) {
2710 return robot . emit ( 'slack.reaction' , {
@@ -129,38 +112,6 @@ thank mr skeltal
129112
130113 robot . hear ( / ( ^ | \b ) a + y + l [ m f a o ] + ( $ | \b ) / i, ( res ) => res . send ( ':alien: ayy lmao :alien:' ) ) ;
131114
132- const troll = [
133- '*Stef*: im in that class too' ,
134- '*Stef*: omg me too' ,
135- '*Stef*: ????? :chicken: :chicken: :chicken:' ,
136- '*Stef*: I failed' ,
137- '*Stef*: :pineapple: :pineapple: :pineapple:' ,
138- '*Stef*: o rite jk I have to do 7.012 pset' ,
139- '*Stef*: totally agree!!' ,
140- "*Stef*: it's cuz I just add dropped" ,
141- '*Stef*: I can prove it rigorously' ,
142- "*Stef*: wtf I'm in this group" ,
143- '*Stef*: I luv genetics' ,
144- "*Stef*: wtf that's what I was gonna say" ,
145- ] ;
146-
147- robot . hear ( / s t e f .* t r o l l / i, ( res ) => res . send ( res . random ( troll ) ) ) ;
148-
149- const moreTroll = [
150- '*Logan*: allllllllll right' ,
151- '*Logan*: look who decided to show up' ,
152- '*Logan*: big bois' ,
153- "*Logan*: that's bananas" ,
154- "*Logan*: it's lit" ,
155- '*Logan*: not like this' ,
156- "*Logan*: that's fucked" ,
157- '*Logan*: eecs eecs eecs eecs' ,
158- '*Logan*: you dog' ,
159- "*Logan*: that's pretty soft" ,
160- ] ;
161-
162- robot . hear ( / l o g a n .* t r o l l / i, ( res ) => res . send ( res . random ( moreTroll ) ) ) ;
163-
164115 const pusheens = [
165116 'http://i.imgur.com/ozA8GSu.png' ,
166117 'http://i.imgur.com/ZKQc2Zr.png' ,
@@ -186,20 +137,6 @@ thank mr skeltal
186137
187138 robot . hear ( / p u s h e e n / i, ( res ) => res . send ( res . random ( pusheens ) ) ) ;
188139
189- robot . hear ( / k i m .* m o m / i, ( res ) => res . send ( 'https://answers.yahoo.com/question/index?qid=20100404125550AARFOJe' ) ) ;
190-
191- robot . hear ( / s t e f / i, ( res ) => {
192- if ( Math . random ( ) < 0.01 ) {
193- res . send ( res . random ( troll ) ) ;
194- }
195- } ) ;
196-
197- robot . hear ( / l o g a n / i, ( res ) => {
198- if ( Math . random ( ) < 0.01 ) {
199- res . send ( res . random ( moreTroll ) ) ;
200- }
201- } ) ;
202-
203140 robot . hear ( / \b t f t i \b / , ( res ) => {
204141 if ( Math . random ( ) < 0.2 ) {
205142 res . send ( 'tfti' ) ;
@@ -212,11 +149,6 @@ thank mr skeltal
212149 }
213150 } ) ;
214151
215- robot . respond ( / c o r r e c t ( .* ) / , ( res ) => {
216- const msg = res . match [ 1 ] ;
217- res . send ( msg . replace ( / [ a e i o u ] / gi, '' ) ) ;
218- } ) ;
219-
220152 const selfDestructSequence = [
221153 'Initiating HackMIT self-destruct sequence...' ,
222154 '10: Leaking sponsorship info...' ,
@@ -225,7 +157,7 @@ thank mr skeltal
225157 '7' ,
226158 '6: Destroying all AWS instances...' ,
227159 '5: ' ,
228- '4: Petting Oscar ...' ,
160+ '4: Dropping reg DB ...' ,
229161 '3' ,
230162 '2' ,
231163 "1: You've met with a terrible fate, haven't you?" ,
0 commit comments