-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAloraBot.py
More file actions
549 lines (415 loc) · 16.9 KB
/
AloraBot.py
File metadata and controls
549 lines (415 loc) · 16.9 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
__module_name__ = "AloraBot"
__module_version__ = "0.2"
__module_description__ = "Twitch Chat Python"
import hexchat
import string
#twitchnotify username just subscribed!
#twitchontify username subscribed to channelname for x months in a row
#cdtimer = hexchat.hook_timer(15000)
def love2(word, word_eol, userdata):
if word[1] == "!love" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("say nataH pteroHeart kylerLove niciL tiffsHnK")
def love(word, word_eol, userdata):
hexchat.command("say nataH niciL pteroHeart kylerLove tkaoLUV sintLove hayliLove justcmeDonut potterLove beniLove cathRaver harveyLove relyksCreep fl0mHeart geersH sh0tsLove shroudH")
#hexchat.hook_command("love", love)
#hexchat.hook_print("Your Message", love2)
#hexchat.hook_print("Channel Message", love2)
#---------------------------
#
#BEGIN nata
def nata(word, word_eol, userdata):
if word[1] == "!nata" and word[0] != "mhunt95":
hexchat.command("me MAN nataDab DOES nataDab IT nataDab FEEL nataDab GOOD nataDab TO nataDab BE nataDab A nataDab NATAWHEE nataDab SUB")
hexchat.hook_print("Your Message", nata)
hexchat.hook_print("Channel Message", nata)
#END nata
#
#---------------------------
#---------------------------
#
#BEGIN nata
def ptero(word, word_eol, userdata):
if word[1] == "!ptero" and word[0] != "mhunt95":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#pterodactylsftw":
currchan.command("me KNEES DACTYLS HEARTS pteroKnee pteroKnee pteroKnee pteroKnee pteroKnee pteroKnee pteroDactyl pteroDactyl pteroDactyl pteroDactyl pteroDactyl pteroDactyl pteroHeart pteroHeart pteroHeart pteroHeart pteroHeart pteroHeart")
hexchat.hook_print("Your Message", ptero)
hexchat.hook_print("Channel Message", ptero)
#END nata
#
#---------------------------
#---------------------------
#
#BEGIN nata sub
def natasub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#natawhee":
currchan.command("me MAN nataWut DOES nataWut IT nataWut FEEL nataWut GOOD nataWut TO nataWut BE nataWut A nataWut NATAWHEE nataWut SUB")
#hexchat.hook_print("Channel Message", natasub)
#END nata sub
#
#---------------------------
#---------------------------
#
#BEGIN sh0ts channel sub
def sh0tssub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#sh0ts_tv":
currchan.command("say Thanks for subscribing! Welcome to Sh0ts Dinomites! sh0tsLove sh0tsLove sh0tsLove sh0tsLove sh0tsLove sh0tsSellout sh0tsSellout sh0tsSellout sh0tsSellout sh0tsSellout")
#hexchat.hook_print("Channel Message", sh0tssub)
#END sh0ts channel sub
#
#---------------------------
#---------------------------
#
#BEGIN sykoyo channel sub TESTING FUNCTION
def sykosub(word, word_eol, userdata):
if word[1].find("shroud") != -1:
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#sykoyo":
currchan.command("say pteroGame pteroGame pteroGame")
hexchat.hook_print("Channel Message", sykosub)
hexchat.hook_print("Your Message", sykosub)
#END sykoyo channel sub
#
#---------------------------
#---------------------------
#
#BEGIN kyler channel sub
def kylersub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#kylerelizabeth":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me kylerLove kylerSteve kylerLove Thanks for subscribing for {0} months in a row, {1}! Welcome back to Kyler's pengiuns! kylerLove kylerSteve kylerLove".format(parsed[3], parsed[0]))
else:
currchan.command("me kylerLove kylerSteve kylerLove Thanks for subscribing {0}! Welcome to Kyler's pengiuns! kylerLove kylerSteve kylerLove".format(parsed[0]))
#hexchat.hook_print("Channel Message", kylersub)
#END kyler channel sub
#
#---------------------------
#---------------------------
#
#BEGIN cariboob
def caribou(word, word_eol, userdata):
if word[1] == "!caribou" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("say caribou? caributt? cariboob? CARIBOOOOOOOOOOB")
hexchat.hook_print("Channel Message", caribou)
hexchat.hook_print("Your Message", caribou)
#END cariboob
#
#---------------------------
#---------------------------
#
#BEGIN cariboob
def moistboys(word, word_eol, userdata):
if word[1] == "!mb" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("say M O I S T B O I S")
hexchat.hook_print("Channel Message", moistboys)
hexchat.hook_print("Your Message", moistboys)
#END cariboob
#
#---------------------------
def tree(word, word_eol, userdata):
if word[1].find("alora") != -1 or word[1].find("Alora") != -1 or word[1].find("ALORA") != -1:
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#pterodactylsftw":
currchan.command("say I am a tree.")
#hexchat.hook_print("Channel Msg Hilight", tree)
#hexchat.hook_print("Your Message", tree)
#---------------------------
#
#BEGIN cariboob
def butts(word, word_eol, userdata):
if word[1].find("butts?") != -1:
currchan = hexchat.get_context()
currchan.command("say mine?")
hexchat.hook_print("Channel Message", butts)
#hexchat.hook_print("Your Message", caribou)
#END cariboob
#
#---------------------------
#---------------------------
#
#BEGIN cariboob
def hugs(word, word_eol, userdata):
if word[1].find("hugs?") != -1:
currchan = hexchat.get_context()
currchan.command("say Winnie wants one niciL")
hexchat.hook_print("Channel Message", hugs)
#hexchat.hook_print("Your Message", caribou)
#END cariboob
#
#---------------------------
#---------------------------
#
#BEGIN cariboob
def bobs(word, word_eol, userdata):
if word[1].find("bobs?") != -1 or word[1].find("boobs?") != -1:
currchan = hexchat.get_context()
currchan.command("say sheilas pteroKnee ?")
hexchat.hook_print("Channel Message", bobs)
#hexchat.hook_print("Your Message", caribou)
#END cariboob
#
#---------------------------
#---------------------------
#
#BEGIN shroudew
def shroudew(word, word_eol, userdata):
if word[1].find("shroudH") != -1:
return
elif word[1].find("shroud?") != -1 or word[1].find("Shroud?") != -1 or word[1].find("shroud ") != -1:
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#natawhee":
currchan.command("say pteroGame pteroGame pteroGame")
#hexchat.hook_print("Channel Message", shroudew)
#hexchat.hook_print("Your Message", caribou)
#END shroudew
#
#---------------------------
#---------------------------
#
#BEGIN smooched
def smooched(word, word_eol, userdata):
if word[1].find("gave sykoyo") != -1:
currchan = hexchat.get_context()
currchan.command("say niciGasm")
hexchat.hook_print("Channel Msg Hilight", smooched)
#hexchat.hook_print("Your Message", smooched)
#END smooched
#
#--------------------------
#---------------------------
#
#BEGIN roosloth
def rooroosloth(word, word_eol, userdata):
if word[1] == "!roosloth" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("me MAN OSsloth DOES OSsloth IT OSsloth FEEL OSsloth GOOD OSsloth TO OSsloth SLOTH OSsloth LIKE OSsloth ROOROO")
hexchat.hook_print("Channel Message", rooroosloth)
hexchat.hook_print("Your Message", rooroosloth)
#END roosloth
#
#--------------------------
#---------------------------
#
#BEGIN issykobot
def issykobot(word, word_eol, userdata):
if (word[1].find("Sykoyo") != -1) and word[1].find("bot") != -1: #"!botkoyo":
currchan = hexchat.get_context()
currchan.command("say Negative, I am a meat popsicle.")
#hexchat.hook_print("Channel Message", issykobot)
#hexchat.hook_print("Channel Msg Hilight", issykobot)
#hexchat.hook_print("Your Message", issykobot)
#END issykobot
#
#--------------------------
#---------------------------
#
#BEGIN issykobot
def slap(word, word_eol, userdata):
if word[1].find("!slap") != -1:
currchan = hexchat.get_context()
parsed = word[1].split()
currchan.command("me slaps {0} around a bit with a pteroWoke !".format(parsed[1]))
hexchat.hook_print("Channel Message", slap)
hexchat.hook_print("Channel Msg Hilight", slap)
hexchat.hook_print("Your Message", slap)
#END issykobot
#
#--------------------------
#---------------------------
#
#BEGIN crumpet boy
def lxa(word, word_eol, userdata):
if word[1] == "!lxa":
currchan = hexchat.get_context()
currchan.command("say TheLxa the crumpet boyyyyyyyyyyyyyyyyy LxaCrumpet")
hexchat.hook_print("Channel Message", lxa)
hexchat.hook_print("Your Message", lxa)
#END crumpet boy
#
#---------------------------
#---------------------------
#
#BEGIN crumpet boy
def nomm(word, word_eol, userdata):
if word[1] == "!nomm":
currchan = hexchat.get_context()
currchan.command("say nomm is a cutie c:")
hexchat.hook_print("Channel Message", nomm)
hexchat.hook_print("Your Message", nomm)
#END crumpet boy
#
#---------------------------
def battlewhisk(word, word_eol, userdata):
if word[1] == "!battlewhisk":
currchan = hexchat.get_context()
currchan.command("say battlewhisk has a tiny penis kylerCreep")
hexchat.hook_print("Channel Message", battlewhisk)
hexchat.hook_print("Your Message", battlewhisk)
#battlewhisk
def totem(word, word_eol, userdata):
if word[1] == "!totem":
currchan = hexchat.get_context()
currchan.command("say http://i.imgur.com/QnZ708J.png")
#hexchat.hook_print("Channel Message", totem)
#hexchat.hook_print("Your Message", totem)
def ears(word, word_eol, userdata):
if word[1] == "!ears":
currchan = hexchat.get_context()
currchan.command("say pteroEw )))) NotLikeThis (((( pteroGame")
hexchat.hook_print("Channel Message", ears)
hexchat.hook_print("Your Message", ears)
#---------------------------
#
#BEGIN crumpet boy
def steve(word, word_eol, userdata):
if word[1] == "!steve":
currchan = hexchat.get_context()
currchan.command("say 'Steve, finish' - Alora 2016")
hexchat.hook_print("Channel Message", steve)
hexchat.hook_print("Your Message", steve)
#END crumpet boy
#
#---------------------------
#---------------------------
#
#BEGIN crumpet boy
def bunnehsteve(word, word_eol, userdata):
if word[1].find("kylerSteve") != -1 and word[0] == "bunnehhh":
currchan = hexchat.get_context()
currchan.command("say kylerSteve kylerSteve")
hexchat.hook_print("Channel Message", bunnehsteve)
#END crumpet boy
#
#---------------------------
#---------------------------
#
#BEGIN tiff channel sub
def tkaosub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#tkao94":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me tiffsLove tiffsGasm tiffsHey Thanks for subscribing for {0} months in a row, {1}! Welcome back to Tiffany's stream! tiffsHey tiffsGasm tiffsLove".format(parsed[3], parsed[0]))
else:
currchan.command("me tiffsLove tiffsGasm tiffsHey Thanks for subscribing {0}! Welcome to Tiffany's stream! tiffsHey tiffsGasm tiffsLove".format(parsed[0]))
hexchat.hook_print("Channel Message", tkaosub)
#END tiff channel sub
#
#---------------------------
#---------------------------
#
#BEGIN fl0m channel sub
def fl0msub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#fl0m":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me fl0mHeart fl0mHype fl0mFlock fl0mNoble Thanks for subscribing for {0} months in a row, {1}! Welcome back to fl0m's flock! fl0mNoble fl0mFlock fl0mHype fl0mHeart".format(parsed[3], parsed[0]))
else:
currchan.command("me fl0mHeart fl0mHype fl0mFlock fl0mNoble Thanks for subscribing {0}! Welcome to fl0m's flock! fl0mNoble fl0mFlock fl0mHype fl0mHeart".format(parsed[0]))
#hexchat.hook_print("Channel Message", fl0msub)
#END fl0m channel sub
#
#---------------------------
#---------------------------
#
#BEGIN shroud channel sub
def shroudsub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#shroud":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me shroudKenz shroudH shroudSellout shroudPigeon Thanks for subscribing for {0} months in a row, {1}! Welcome back to shroud's pigeons! shroudPigeon shroudSellout shroudH shroudKenz".format(parsed[3], parsed[0]))
else:
currchan.command("me shroudKenz shroudH shroudSellout shroudPigeon Thanks for subscribing {0}! Welcome to shroud's pigeons! shroudPigeon shroudSellout shroudH shroudKenz".format(parsed[0]))
#hexchat.hook_print("Channel Message", shroudsub)
#END shroud channel sub
#
#---------------------------
#---------------------------
#
#BEGIN emongg channel sub
def emonggsub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#emongg":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me emongHeart emongHeart emongHeart Thanks for subscribing for {0} months in a row, {1}! Welcome back to emongg's pugs! emongHeart emongHeart emongHeart".format(parsed[3], parsed[0]))
else:
currchan.command("me emongHeart emongHeart emongHeart Thanks for subscribing {0}! Welcome to emongg's pugs! emongHeart emongHeart emongHeart".format(parsed[0]))
#hexchat.hook_print("Channel Message", emonggsub)
#END emongg channel sub
#
#---------------------------
#---------------------------
#
#BEGIN virtus channel sub
def virtussub(word, word_eol, userdata):
if word[1].find("subscribed") != -1 and word[0] == "twitchnotify":
currchan = hexchat.get_context()
if currchan.get_info("channel") == "#virtuslol":
parsed = word[1].split()
if word[1].find("months") != -1:
currchan.command("me virtusGasm Thanks for subscribing for {0} months in a row, {1}! Welcome back to the Virty Virgins! virtusHype".format(parsed[3], parsed[0]))
else:
currchan.command("me virtusGasm Thanks for subscribing {0}! Welcome to the Virty Virgins! virtusHype".format(parsed[0]))
#hexchat.hook_print("Channel Message", virtussub)
#END virtus channel sub
#
#---------------------------
def banger(word, word_eol, userdata):
if word[1] == "!banger" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("me ヽヽ༼༼ຈຈل͜ل͜ຈຈ༽༽ノノ SONG IS A mangoBANGER ヽヽ༼༼ຈຈل͜ل͜ຈຈ༽༽ノノ")
hexchat.hook_print("Your Message", banger)
hexchat.hook_print("Channel Message", banger)
#lets hope this fucking works LMAO
def bansexsite(word, word_eol, userdata):
if word[1].find("SEX") != -1 and word[1].find("SITE") != -1 and word[1].find("►►►") != -1:
currchan = hexchat.get_context()
currchan.command("say .ban {0}".format(word[0]))
hexchat.hook_print("Channel Message", bansexsite)
def bansextest(word, word_eol, userdata):
if word[1].find("BEST") != -1:
currchan = hexchat.get_context()
currchan.command("say .ban elena".format(word[0]))
#hexchat.hook_print("Channel Message", bansextest)
#hexchat.hook_print("Your Message", bansextest)
def doublept(word, word_eol, userdata):
if word[1] == "!double" and word[0] != "mhunt95":
currchan = hexchat.get_context()
currchan.command("me Wanna double your ptokens? muhSmug")
hexchat.hook_print("Your Message", doublept)
hexchat.hook_print("Channel Message", doublept)
def hairpurge(word, word_eol, userdata):
if word[1].find("chair") == -1 and word[1].find("hair") != -1 or word[1].find("HAIR") != -1 or word[1].find("Hair") != -1:
currchan = hexchat.get_context()
currchan.command("say .timeout {0} 1".format(word[0]))
#hexchat.hook_print("Channel Message", hairpurge)
def pterosmug(word, word_eol, userdata):
if word[1] == "!smug":
currchan = hexchat.get_context()
currchan.command("say ptero1 ptero2")
currchan.command("say ptero3 ptero4")
hexchat.hook_print("Channel Message", pterosmug)
hexchat.hook_print("Your Message", pterosmug)
def jakebest(word, word_eol, userdata):
if word[1] == "!jake":
currchan = hexchat.get_context()
currchan.command("say He is Great Friend .. He is the funniest on twitch .. He is cute .. He his Faithfull .. He has a pretty GF .. He Must Be our Lord and Saviour Jake")
hexchat.hook_print("Channel Message", jakebest)
hexchat.hook_print("Your Message", jakebest)