View difference between Paste ID: GzEwYVg1 and 3rLuukwK
SHOW: | | - or go back to the newest paste.
1
import discord
2
from discord.ext.commands import Bot
3
from discord.ext import commands
4
from urllib.request import urlopen
5
from bs4 import BeautifulSoup
6
7
Client = discord.Client()
8
bot_prefix="?"
9
client = commands.Bot(command_prefix = bot_prefix)
10
11
@client.event
12
async def on_ready():
13
	print ("Bot Online!")
14
	print ("Name: {}".format(client.user.name))
15
	print ("ID: {}".format(client.user.id))
16
	await client.change_presence(game=discord.Game(name='Heroes of the Storm'))
17
18
@client.event
19
async def on_message(message):
20
	if(message.content.startswith("?abathur")):
21
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Abathur'
22
		page = urlopen(url)
23
24
		soup = BeautifulSoup(page, 'html.parser')
25
		soup.title.string
26
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
27
28
		tags = []
29
		talents = popularBuild.findAll('img')
30
		for img in talents:
31
			if 'alt' in img.attrs:
32
				tags.append(img.attrs['alt'])	
33
34
		print (soup.title.string)
35
		for txt in tags:
36
			await client.send_message(message.channel, txt )
37
			print (txt)
38
39
	if(message.content.startswith("?alarak")):
40
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Alarak'
41
		page = urlopen(url)
42
43
		soup = BeautifulSoup(page, 'html.parser')
44
		soup.title.string
45
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
46
47
		tags = []
48
		talents = popularBuild.findAll('img')
49
		for img in talents:
50
			if 'alt' in img.attrs:
51
				tags.append(img.attrs['alt'])	
52
53
		print (soup.title.string)
54
		for txt in tags:
55
			await client.send_message(message.channel, txt )
56
			print (txt)
57
58
	if(message.content.startswith("?anub")):
59
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Anub\'arak'
60
		page = urlopen(url)
61
62
		soup = BeautifulSoup(page, 'html.parser')
63
		soup.title.string
64
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
65
66
		tags = []
67
		talents = popularBuild.findAll('img')
68
		for img in talents:
69
			if 'alt' in img.attrs:
70
				tags.append(img.attrs['alt'])	
71
72
		print (soup.title.string)
73
		for txt in tags:
74
			await client.send_message(message.channel, txt )
75
			print (txt)
76
77
	if(message.content.startswith("?artanis")):
78
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Artanis'
79
		page = urlopen(url)
80
81
		soup = BeautifulSoup(page, 'html.parser')
82
		soup.title.string
83
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
84
85
		tags = []
86
		talents = popularBuild.findAll('img')
87
		for img in talents:
88
			if 'alt' in img.attrs:
89
				tags.append(img.attrs['alt'])	
90
91
		print (soup.title.string)
92
		for txt in tags:
93
			await client.send_message(message.channel, txt )
94
			print (txt)
95
96
	if(message.content.startswith("?arthas")):
97
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Arthas'
98
		page = urlopen(url)
99
100
		soup = BeautifulSoup(page, 'html.parser')
101
		soup.title.string
102
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
103
104
		tags = []
105
		talents = popularBuild.findAll('img')
106
		for img in talents:
107
			if 'alt' in img.attrs:
108
				tags.append(img.attrs['alt'])	
109
110
		print (soup.title.string)
111
		for txt in tags:
112
			await client.send_message(message.channel, txt )
113
			print (txt)
114
115
	if(message.content.startswith("?auriel")):
116
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Auriel'
117
		page = urlopen(url)
118
119
		soup = BeautifulSoup(page, 'html.parser')
120
		soup.title.string
121
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
122
123
		tags = []
124
		talents = popularBuild.findAll('img')
125
		for img in talents:
126
			if 'alt' in img.attrs:
127
				tags.append(img.attrs['alt'])	
128
129
		print (soup.title.string)
130
		for txt in tags:
131
			await client.send_message(message.channel, txt )
132
			print (txt)
133
134
	if(message.content.startswith("?azmodan")):
135
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Azmodan'
136
		page = urlopen(url)
137
138
		soup = BeautifulSoup(page, 'html.parser')
139
		soup.title.string
140
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
141
142
		tags = []
143
		talents = popularBuild.findAll('img')
144
		for img in talents:
145
			if 'alt' in img.attrs:
146
				tags.append(img.attrs['alt'])	
147
148
		print (soup.title.string)
149
		for txt in tags:
150
			await client.send_message(message.channel, txt )
151
			print (txt)
152
153
	if(message.content.startswith("?brightwing")):
154
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Brightwing'
155
		page = urlopen(url)
156
157
		soup = BeautifulSoup(page, 'html.parser')
158
		soup.title.string
159
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
160
161
		tags = []
162
		talents = popularBuild.findAll('img')
163
		for img in talents:
164
			if 'alt' in img.attrs:
165
				tags.append(img.attrs['alt'])	
166
167
		print (soup.title.string)
168
		for txt in tags:
169
			await client.send_message(message.channel, txt )
170
			print (txt)
171
172
	if(message.content.startswith("?butcher")):
173
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=The%20Butcher'
174
		page = urlopen(url)
175
176
		soup = BeautifulSoup(page, 'html.parser')
177
		soup.title.string
178
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
179
180
		tags = []
181
		talents = popularBuild.findAll('img')
182
		for img in talents:
183
			if 'alt' in img.attrs:
184
				tags.append(img.attrs['alt'])	
185
186
		print (soup.title.string)
187
		for txt in tags:
188
			await client.send_message(message.channel, txt )
189
			print (txt)
190
191
	if(message.content.startswith("?cassia")):
192
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Cassia'
193
		page = urlopen(url)
194
195
		soup = BeautifulSoup(page, 'html.parser')
196
		soup.title.string
197
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
198
199
		tags = []
200
		talents = popularBuild.findAll('img')
201
		for img in talents:
202
			if 'alt' in img.attrs:
203
				tags.append(img.attrs['alt'])	
204
205
		print (soup.title.string)
206
		for txt in tags:
207
			await client.send_message(message.channel, txt )
208
			print (txt)
209
210
	if(message.content.startswith("?chen")):
211
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Chen'
212
		page = urlopen(url)
213
214
		soup = BeautifulSoup(page, 'html.parser')
215
		soup.title.string
216
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
217
218
		tags = []
219
		talents = popularBuild.findAll('img')
220
		for img in talents:
221
			if 'alt' in img.attrs:
222
				tags.append(img.attrs['alt'])	
223
224
		print (soup.title.string)
225
		for txt in tags:
226
			await client.send_message(message.channel, txt )
227
			print (txt)
228
229
	if(message.content.startswith("?cho")):
230
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Cho'
231
		page = urlopen(url)
232
233
		soup = BeautifulSoup(page, 'html.parser')
234
		soup.title.string
235
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
236
237
		tags = []
238
		talents = popularBuild.findAll('img')
239
		for img in talents:
240
			if 'alt' in img.attrs:
241
				tags.append(img.attrs['alt'])	
242
243
		print (soup.title.string)
244
		for txt in tags:
245
			await client.send_message(message.channel, txt )
246
			print (txt)
247
248
	if(message.content.startswith("?chromie")):
249
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Chromie'
250
		page = urlopen(url)
251
252
		soup = BeautifulSoup(page, 'html.parser')
253
		soup.title.string
254
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
255
256
		tags = []
257
		talents = popularBuild.findAll('img')
258
		for img in talents:
259
			if 'alt' in img.attrs:
260
				tags.append(img.attrs['alt'])	
261
262
		print (soup.title.string)
263
		for txt in tags:
264
			await client.send_message(message.channel, txt )
265
			print (txt)
266
267
	if(message.content.startswith("?dva")):
268
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=D.Va'
269
		page = urlopen(url)
270
271
		soup = BeautifulSoup(page, 'html.parser')
272
		soup.title.string
273
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
274
275
		tags = []
276
		talents = popularBuild.findAll('img')
277
		for img in talents:
278
			if 'alt' in img.attrs:
279
				tags.append(img.attrs['alt'])	
280
281
		print (soup.title.string)
282
		for txt in tags:
283
			await client.send_message(message.channel, txt )
284
			print (txt)
285
286
	if(message.content.startswith("?dehaka")):
287
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Dehaka'
288
		page = urlopen(url)
289
290
		soup = BeautifulSoup(page, 'html.parser')
291
		soup.title.string
292
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
293
294
		tags = []
295
		talents = popularBuild.findAll('img')
296
		for img in talents:
297
			if 'alt' in img.attrs:
298
				tags.append(img.attrs['alt'])	
299
300
		print (soup.title.string)
301
		for txt in tags:
302
			await client.send_message(message.channel, txt )
303
			print (txt)
304
305
	if(message.content.startswith("?diablo")):
306
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Diablo'
307
		page = urlopen(url)
308
309
		soup = BeautifulSoup(page, 'html.parser')
310
		soup.title.string
311
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
312
313
		tags = []
314
		talents = popularBuild.findAll('img')
315
		for img in talents:
316
			if 'alt' in img.attrs:
317
				tags.append(img.attrs['alt'])	
318
319
		print (soup.title.string)
320
		for txt in tags:
321
			await client.send_message(message.channel, txt )
322
			print (txt)
323
324
	if(message.content.startswith("?etc")):
325
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=E.T.C.'
326
		page = urlopen(url)
327
328
		soup = BeautifulSoup(page, 'html.parser')
329
		soup.title.string
330
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
331
332
		tags = []
333
		talents = popularBuild.findAll('img')
334
		for img in talents:
335
			if 'alt' in img.attrs:
336
				tags.append(img.attrs['alt'])	
337
338
		print (soup.title.string)
339
		for txt in tags:
340
			await client.send_message(message.channel, txt )
341
			print (txt)
342
343
	if(message.content.startswith("?falstad")):
344
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Falstad'
345
		page = urlopen(url)
346
347
		soup = BeautifulSoup(page, 'html.parser')
348
		soup.title.string
349
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
350
351
		tags = []
352
		talents = popularBuild.findAll('img')
353
		for img in talents:
354
			if 'alt' in img.attrs:
355
				tags.append(img.attrs['alt'])	
356
357
		print (soup.title.string)
358
		for txt in tags:
359
			await client.send_message(message.channel, txt )
360
			print (txt)
361
362
	if(message.content.startswith("?garrosh")):
363
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Garrosh'
364
		page = urlopen(url)
365
366
		soup = BeautifulSoup(page, 'html.parser')
367
		soup.title.string
368
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
369
370
		tags = []
371
		talents = popularBuild.findAll('img')
372
		for img in talents:
373
			if 'alt' in img.attrs:
374
				tags.append(img.attrs['alt'])	
375
376
		print (soup.title.string)
377
		for txt in tags:
378
			await client.send_message(message.channel, txt )
379
			print (txt)
380
381
	if(message.content.startswith("?gazlowe")):
382
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Gazlowe'
383
		page = urlopen(url)
384
385
		soup = BeautifulSoup(page, 'html.parser')
386
		soup.title.string
387
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
388
389
		tags = []
390
		talents = popularBuild.findAll('img')
391
		for img in talents:
392
			if 'alt' in img.attrs:
393
				tags.append(img.attrs['alt'])	
394
395
		print (soup.title.string)
396
		for txt in tags:
397
			await client.send_message(message.channel, txt )
398
			print (txt)
399
400
	if(message.content.startswith("?genji")):
401
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Genji'
402
		page = urlopen(url)
403
404
		soup = BeautifulSoup(page, 'html.parser')
405
		soup.title.string
406
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
407
408
		tags = []
409
		talents = popularBuild.findAll('img')
410
		for img in talents:
411
			if 'alt' in img.attrs:
412
				tags.append(img.attrs['alt'])	
413
414
		print (soup.title.string)
415
		for txt in tags:
416
			await client.send_message(message.channel, txt )
417
			print (txt)
418
419
	if(message.content.startswith("?greymane")):
420
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Greymane'
421
		page = urlopen(url)
422
423
		soup = BeautifulSoup(page, 'html.parser')
424
		soup.title.string
425
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
426
427
		tags = []
428
		talents = popularBuild.findAll('img')
429
		for img in talents:
430
			if 'alt' in img.attrs:
431
				tags.append(img.attrs['alt'])	
432
433
		print (soup.title.string)
434
		for txt in tags:
435
			await client.send_message(message.channel, txt )
436
			print (txt)
437
438
	if(message.content.startswith("?guldan")):
439
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Gul\'dan'
440
		page = urlopen(url)
441
442
		soup = BeautifulSoup(page, 'html.parser')
443
		soup.title.string
444
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
445
446
		tags = []
447
		talents = popularBuild.findAll('img')
448
		for img in talents:
449
			if 'alt' in img.attrs:
450
				tags.append(img.attrs['alt'])	
451
452
		print (soup.title.string)
453
		for txt in tags:
454
			await client.send_message(message.channel, txt )
455
			print (txt)
456
457
	if(message.content.startswith("?illidan")):
458
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Illidan'
459
		page = urlopen(url)
460
461
		soup = BeautifulSoup(page, 'html.parser')
462
		soup.title.string
463
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
464
465
		tags = []
466
		talents = popularBuild.findAll('img')
467
		for img in talents:
468
			if 'alt' in img.attrs:
469
				tags.append(img.attrs['alt'])	
470
471
		print (soup.title.string)
472
		for txt in tags:
473
			await client.send_message(message.channel, txt )
474
			print (txt)
475
476
	if(message.content.startswith("?jaina")):
477
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Jaina'
478
		page = urlopen(url)
479
480
		soup = BeautifulSoup(page, 'html.parser')
481
		soup.title.string
482
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
483
484
		tags = []
485
		talents = popularBuild.findAll('img')
486
		for img in talents:
487
			if 'alt' in img.attrs:
488
				tags.append(img.attrs['alt'])	
489
490
		print (soup.title.string)
491
		for txt in tags:
492
			await client.send_message(message.channel, txt )
493
			print (txt)
494
495
	if(message.content.startswith("?johanna")):
496
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Johanna'
497
		page = urlopen(url)
498
499
		soup = BeautifulSoup(page, 'html.parser')
500
		soup.title.string
501
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
502
503
		tags = []
504
		talents = popularBuild.findAll('img')
505
		for img in talents:
506
			if 'alt' in img.attrs:
507
				tags.append(img.attrs['alt'])	
508
509
		print (soup.title.string)
510
		for txt in tags:
511
			await client.send_message(message.channel, txt )
512
			print (txt)
513
514
	if(message.content.startswith("?kt")):
515
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Kael\'thas'
516
		page = urlopen(url)
517
518
		soup = BeautifulSoup(page, 'html.parser')
519
		soup.title.string
520
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
521
522
		tags = []
523
		talents = popularBuild.findAll('img')
524
		for img in talents:
525
			if 'alt' in img.attrs:
526
				tags.append(img.attrs['alt'])	
527
528
		print (soup.title.string)
529
		for txt in tags:
530
			await client.send_message(message.channel, txt )
531
			print (txt)
532
533
	if(message.content.startswith("?kerrigan")):
534
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Kerrigan'
535
		page = urlopen(url)
536
537
		soup = BeautifulSoup(page, 'html.parser')
538
		soup.title.string
539
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
540
541
		tags = []
542
		talents = popularBuild.findAll('img')
543
		for img in talents:
544
			if 'alt' in img.attrs:
545
				tags.append(img.attrs['alt'])	
546
547
		print (soup.title.string)
548
		for txt in tags:
549
			await client.send_message(message.channel, txt )
550
			print (txt)
551
552
	if(message.content.startswith("?khara")):
553
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Kharazim'
554
		page = urlopen(url)
555
556
		soup = BeautifulSoup(page, 'html.parser')
557
		soup.title.string
558
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
559
560
		tags = []
561
		talents = popularBuild.findAll('img')
562
		for img in talents:
563
			if 'alt' in img.attrs:
564
				tags.append(img.attrs['alt'])	
565
566
		print (soup.title.string)
567
		for txt in tags:
568
			await client.send_message(message.channel, txt )
569
			print (txt)
570
571
	if(message.content.startswith("?leoric")):
572
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Leoric'
573
		page = urlopen(url)
574
575
		soup = BeautifulSoup(page, 'html.parser')
576
		soup.title.string
577
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
578
579
		tags = []
580
		talents = popularBuild.findAll('img')
581
		for img in talents:
582
			if 'alt' in img.attrs:
583
				tags.append(img.attrs['alt'])	
584
585
		print (soup.title.string)
586
		for txt in tags:
587
			await client.send_message(message.channel, txt )
588
			print (txt)
589
590
	if(message.content.startswith("?lili")):
591
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Li Li'
592
		page = urlopen(url)
593
594
		soup = BeautifulSoup(page, 'html.parser')
595
		soup.title.string
596
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
597
598
		tags = []
599
		talents = popularBuild.findAll('img')
600
		for img in talents:
601
			if 'alt' in img.attrs:
602
				tags.append(img.attrs['alt'])	
603
604
		print (soup.title.string)
605
		for txt in tags:
606
			await client.send_message(message.channel, txt )
607
			print (txt)
608
609
	if(message.content.startswith("?liming")):
610
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Li-Ming'
611
		page = urlopen(url)
612
613
		soup = BeautifulSoup(page, 'html.parser')
614
		soup.title.string
615
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
616
617
		tags = []
618
		talents = popularBuild.findAll('img')
619
		for img in talents:
620
			if 'alt' in img.attrs:
621
				tags.append(img.attrs['alt'])	
622
623
		print (soup.title.string)
624
		for txt in tags:
625
			await client.send_message(message.channel, txt )
626
			print (txt)
627
628
	if(message.content.startswith("?morales")):
629
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Lt. Morales'
630
		page = urlopen(url)
631
632
		soup = BeautifulSoup(page, 'html.parser')
633
		soup.title.string
634
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
635
636
		tags = []
637
		talents = popularBuild.findAll('img')
638
		for img in talents:
639
			if 'alt' in img.attrs:
640
				tags.append(img.attrs['alt'])	
641
642
		print (soup.title.string)
643
		for txt in tags:
644
			await client.send_message(message.channel, txt )
645
			print (txt)
646
647
	if(message.content.startswith("?lunara")):
648
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Lunara'
649
		page = urlopen(url)
650
651
		soup = BeautifulSoup(page, 'html.parser')
652
		soup.title.string
653
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
654
655
		tags = []
656
		talents = popularBuild.findAll('img')
657
		for img in talents:
658
			if 'alt' in img.attrs:
659
				tags.append(img.attrs['alt'])	
660
661
		print (soup.title.string)
662
		for txt in tags:
663
			await client.send_message(message.channel, txt )
664
			print (txt)
665
666
	if(message.content.startswith("?lucio")):
667
		url = 'https://goo.gl/4spScG' #Link shortened due to special character encoding issue.
668
		page = urlopen(url)
669
670
		soup = BeautifulSoup(page, 'html.parser')
671
		soup.title.string
672
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
673
674
		tags = []
675
		talents = popularBuild.findAll('img')
676
		for img in talents:
677
			if 'alt' in img.attrs:
678
				tags.append(img.attrs['alt'])	
679
680
		print (soup.title.string)
681
		for txt in tags:
682
			await client.send_message(message.channel, txt )
683
			print (txt)
684
685
	if(message.content.startswith("?malf")):
686
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Malfurion'
687
		page = urlopen(url)
688
689
		soup = BeautifulSoup(page, 'html.parser')
690
		soup.title.string
691
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
692
693
		tags = []
694
		talents = popularBuild.findAll('img')
695
		for img in talents:
696
			if 'alt' in img.attrs:
697
				tags.append(img.attrs['alt'])	
698
699
		print (soup.title.string)
700
		for txt in tags:
701
			await client.send_message(message.channel, txt )
702
			print (txt)
703
704
	if(message.content.startswith("?malth")):
705
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Malthael'
706
		page = urlopen(url)
707
708
		soup = BeautifulSoup(page, 'html.parser')
709
		soup.title.string
710
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
711
712
		tags = []
713
		talents = popularBuild.findAll('img')
714
		for img in talents:
715
			if 'alt' in img.attrs:
716
				tags.append(img.attrs['alt'])	
717
718
		print (soup.title.string)
719
		for txt in tags:
720
			await client.send_message(message.channel, txt )
721
			print (txt)
722
723
	if(message.content.startswith("?medivh")):
724
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Medivh'
725
		page = urlopen(url)
726
727
		soup = BeautifulSoup(page, 'html.parser')
728
		soup.title.string
729
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
730
731
		tags = []
732
		talents = popularBuild.findAll('img')
733
		for img in talents:
734
			if 'alt' in img.attrs:
735
				tags.append(img.attrs['alt'])	
736
737
		print (soup.title.string)
738
		for txt in tags:
739
			await client.send_message(message.channel, txt )
740
			print (txt)
741
742
	if(message.content.startswith("?muradin")):
743
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Muradin'
744
		page = urlopen(url)
745
746
		soup = BeautifulSoup(page, 'html.parser')
747
		soup.title.string
748
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
749
750
		tags = []
751
		talents = popularBuild.findAll('img')
752
		for img in talents:
753
			if 'alt' in img.attrs:
754
				tags.append(img.attrs['alt'])	
755
756
		print (soup.title.string)
757
		for txt in tags:
758
			await client.send_message(message.channel, txt )
759
			print (txt)
760
761
	if(message.content.startswith("?murky")):
762
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Murky'
763
		page = urlopen(url)
764
765
		soup = BeautifulSoup(page, 'html.parser')
766
		soup.title.string
767
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
768
769
		tags = []
770
		talents = popularBuild.findAll('img')
771
		for img in talents:
772
			if 'alt' in img.attrs:
773
				tags.append(img.attrs['alt'])	
774
775
		print (soup.title.string)
776
		for txt in tags:
777
			await client.send_message(message.channel, txt )
778
			print (txt)
779
780
	if(message.content.startswith("?naz")):
781
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Nazeebo'
782
		page = urlopen(url)
783
784
		soup = BeautifulSoup(page, 'html.parser')
785
		soup.title.string
786
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
787
788
		tags = []
789
		talents = popularBuild.findAll('img')
790
		for img in talents:
791
			if 'alt' in img.attrs:
792
				tags.append(img.attrs['alt'])	
793
794
		print (soup.title.string)
795
		for txt in tags:
796
			await client.send_message(message.channel, txt )
797
			print (txt)
798
799
	if(message.content.startswith("?nova")):
800
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Nova'
801
		page = urlopen(url)
802
803
		soup = BeautifulSoup(page, 'html.parser')
804
		soup.title.string
805
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
806
807
		tags = []
808
		talents = popularBuild.findAll('img')
809
		for img in talents:
810
			if 'alt' in img.attrs:
811
				tags.append(img.attrs['alt'])	
812
813
		print (soup.title.string)
814
		for txt in tags:
815
			await client.send_message(message.channel, txt )
816
			print (txt)
817
818
	if(message.content.startswith("?probius")):
819
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Probius'
820
		page = urlopen(url)
821
822
		soup = BeautifulSoup(page, 'html.parser')
823
		soup.title.string
824
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
825
826
		tags = []
827
		talents = popularBuild.findAll('img')
828
		for img in talents:
829
			if 'alt' in img.attrs:
830
				tags.append(img.attrs['alt'])	
831
832
		print (soup.title.string)
833
		for txt in tags:
834
			await client.send_message(message.channel, txt )
835
			print (txt)
836
837
	if(message.content.startswith("?rag")):
838
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Ragnaros'
839
		page = urlopen(url)
840
841
		soup = BeautifulSoup(page, 'html.parser')
842
		soup.title.string
843
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
844
845
		tags = []
846
		talents = popularBuild.findAll('img')
847
		for img in talents:
848
			if 'alt' in img.attrs:
849
				tags.append(img.attrs['alt'])	
850
851
		print (soup.title.string)
852
		for txt in tags:
853
			await client.send_message(message.channel, txt )
854
			print (txt)
855
856
	if(message.content.startswith("?raynor")):
857
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Raynor'
858
		page = urlopen(url)
859
860
		soup = BeautifulSoup(page, 'html.parser')
861
		soup.title.string
862
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
863
864
		tags = []
865
		talents = popularBuild.findAll('img')
866
		for img in talents:
867
			if 'alt' in img.attrs:
868
				tags.append(img.attrs['alt'])	
869
870
		print (soup.title.string)
871
		for txt in tags:
872
			await client.send_message(message.channel, txt )
873
			print (txt)
874
875
	if(message.content.startswith("?rehgar")):
876
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Rehgar'
877
		page = urlopen(url)
878
879
		soup = BeautifulSoup(page, 'html.parser')
880
		soup.title.string
881
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
882
883
		tags = []
884
		talents = popularBuild.findAll('img')
885
		for img in talents:
886
			if 'alt' in img.attrs:
887
				tags.append(img.attrs['alt'])	
888
889
		print (soup.title.string)
890
		for txt in tags:
891
			await client.send_message(message.channel, txt )
892
			print (txt)
893
894
	if(message.content.startswith("?rexxar")):
895
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Rexxar'
896
		page = urlopen(url)
897
898
		soup = BeautifulSoup(page, 'html.parser')
899
		soup.title.string
900
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
901
902
		tags = []
903
		talents = popularBuild.findAll('img')
904
		for img in talents:
905
			if 'alt' in img.attrs:
906
				tags.append(img.attrs['alt'])	
907
908
		print (soup.title.string)
909
		for txt in tags:
910
			await client.send_message(message.channel, txt )
911
			print (txt)
912
913
	if(message.content.startswith("?samuro")):
914
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Samuro'
915
		page = urlopen(url)
916
917
		soup = BeautifulSoup(page, 'html.parser')
918
		soup.title.string
919
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
920
921
		tags = []
922
		talents = popularBuild.findAll('img')
923
		for img in talents:
924
			if 'alt' in img.attrs:
925
				tags.append(img.attrs['alt'])	
926
927
		print (soup.title.string)
928
		for txt in tags:
929
			await client.send_message(message.channel, txt )
930
			print (txt)
931
932
	if(message.content.startswith("?hammer")):
933
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Sgt. Hammer'
934
		page = urlopen(url)
935
936
		soup = BeautifulSoup(page, 'html.parser')
937
		soup.title.string
938
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
939
940
		tags = []
941
		talents = popularBuild.findAll('img')
942
		for img in talents:
943
			if 'alt' in img.attrs:
944
				tags.append(img.attrs['alt'])	
945
946
		print (soup.title.string)
947
		for txt in tags:
948
			await client.send_message(message.channel, txt )
949
			print (txt)
950
951
	if(message.content.startswith("?sonya")):
952
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Sonya'
953
		page = urlopen(url)
954
955
		soup = BeautifulSoup(page, 'html.parser')
956
		soup.title.string
957
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
958
959
		tags = []
960
		talents = popularBuild.findAll('img')
961
		for img in talents:
962
			if 'alt' in img.attrs:
963
				tags.append(img.attrs['alt'])	
964
965
		print (soup.title.string)
966
		for txt in tags:
967
			await client.send_message(message.channel, txt )
968
			print (txt)
969
970
	if(message.content.startswith("?stitches")):
971
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Stitches'
972
		page = urlopen(url)
973
974
		soup = BeautifulSoup(page, 'html.parser')
975
		soup.title.string
976
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
977
978
		tags = []
979
		talents = popularBuild.findAll('img')
980
		for img in talents:
981
			if 'alt' in img.attrs:
982
				tags.append(img.attrs['alt'])	
983
984
		print (soup.title.string)
985
		for txt in tags:
986
			await client.send_message(message.channel, txt )
987
			print (txt)
988
989
	if(message.content.startswith("?stukov")):
990
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Stukov'
991
		page = urlopen(url)
992
993
		soup = BeautifulSoup(page, 'html.parser')
994
		soup.title.string
995
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
996
997
		tags = []
998
		talents = popularBuild.findAll('img')
999
		for img in talents:
1000
			if 'alt' in img.attrs:
1001
				tags.append(img.attrs['alt'])	
1002
1003
		print (soup.title.string)
1004
		for txt in tags:
1005
			await client.send_message(message.channel, txt )
1006
			print (txt)
1007
1008
	if(message.content.startswith("?sylv")):
1009
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Sylvanas'
1010
		page = urlopen(url)
1011
1012
		soup = BeautifulSoup(page, 'html.parser')
1013
		soup.title.string
1014
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1015
1016
		tags = []
1017
		talents = popularBuild.findAll('img')
1018
		for img in talents:
1019
			if 'alt' in img.attrs:
1020
				tags.append(img.attrs['alt'])	
1021
1022
		print (soup.title.string)
1023
		for txt in tags:
1024
			await client.send_message(message.channel, txt )
1025
			print (txt)
1026
1027
	if(message.content.startswith("?tass")):
1028
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Tassadar'
1029
		page = urlopen(url)
1030
1031
		soup = BeautifulSoup(page, 'html.parser')
1032
		soup.title.string
1033
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1034
1035
		tags = []
1036
		talents = popularBuild.findAll('img')
1037
		for img in talents:
1038
			if 'alt' in img.attrs:
1039
				tags.append(img.attrs['alt'])	
1040
1041
		print (soup.title.string)
1042
		for txt in tags:
1043
			await client.send_message(message.channel, txt )
1044
			print (txt)
1045
1046
	if(message.content.startswith("?vikings")):
1047
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=The Lost Vikings'
1048
		page = urlopen(url)
1049
1050
		soup = BeautifulSoup(page, 'html.parser')
1051
		soup.title.string
1052
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1053
1054
		tags = []
1055
		talents = popularBuild.findAll('img')
1056
		for img in talents:
1057
			if 'alt' in img.attrs:
1058
				tags.append(img.attrs['alt'])	
1059
1060
		print (soup.title.string)
1061
		for txt in tags:
1062
			await client.send_message(message.channel, txt )
1063
			print (txt)
1064
1065
	if(message.content.startswith("?thrall")):
1066
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Thrall'
1067
		page = urlopen(url)
1068
1069
		soup = BeautifulSoup(page, 'html.parser')
1070
		soup.title.string
1071
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1072
1073
		tags = []
1074
		talents = popularBuild.findAll('img')
1075
		for img in talents:
1076
			if 'alt' in img.attrs:
1077
				tags.append(img.attrs['alt'])	
1078
1079
		print (soup.title.string)
1080
		for txt in tags:
1081
			await client.send_message(message.channel, txt )
1082
			print (txt)
1083
1084
	if(message.content.startswith("?tracer")):
1085
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Tracer'
1086
		page = urlopen(url)
1087
1088
		soup = BeautifulSoup(page, 'html.parser')
1089
		soup.title.string
1090
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1091
1092
		tags = []
1093
		talents = popularBuild.findAll('img')
1094
		for img in talents:
1095
			if 'alt' in img.attrs:
1096
				tags.append(img.attrs['alt'])	
1097
1098
		print (soup.title.string)
1099
		for txt in tags:
1100
			await client.send_message(message.channel, txt )
1101
			print (txt)
1102
1103
	if(message.content.startswith("?tychus")):
1104
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Tychus'
1105
		page = urlopen(url)
1106
1107
		soup = BeautifulSoup(page, 'html.parser')
1108
		soup.title.string
1109
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1110
1111
		tags = []
1112
		talents = popularBuild.findAll('img')
1113
		for img in talents:
1114
			if 'alt' in img.attrs:
1115
				tags.append(img.attrs['alt'])	
1116
1117
		print (soup.title.string)
1118
		for txt in tags:
1119
			await client.send_message(message.channel, txt )
1120
			print (txt)
1121
1122
	if(message.content.startswith("?tyrael")):
1123
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Tyrael'
1124
		page = urlopen(url)
1125
1126
		soup = BeautifulSoup(page, 'html.parser')
1127
		soup.title.string
1128
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1129
1130
		tags = []
1131
		talents = popularBuild.findAll('img')
1132
		for img in talents:
1133
			if 'alt' in img.attrs:
1134
				tags.append(img.attrs['alt'])	
1135
1136
		print (soup.title.string)
1137
		for txt in tags:
1138
			await client.send_message(message.channel, txt )
1139
			print (txt)
1140
1141
	if(message.content.startswith("?tyrande")):
1142
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Tyrande'
1143
		page = urlopen(url)
1144
1145
		soup = BeautifulSoup(page, 'html.parser')
1146
		soup.title.string
1147
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1148
1149
		tags = []
1150
		talents = popularBuild.findAll('img')
1151
		for img in talents:
1152
			if 'alt' in img.attrs:
1153
				tags.append(img.attrs['alt'])	
1154
1155
		print (soup.title.string)
1156
		for txt in tags:
1157
			await client.send_message(message.channel, txt )
1158
			print (txt)
1159
1160
	if(message.content.startswith("?uther")):
1161
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Uther'
1162
		page = urlopen(url)
1163
1164
		soup = BeautifulSoup(page, 'html.parser')
1165
		soup.title.string
1166
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1167
1168
		tags = []
1169
		talents = popularBuild.findAll('img')
1170
		for img in talents:
1171
			if 'alt' in img.attrs:
1172
				tags.append(img.attrs['alt'])	
1173
1174
		print (soup.title.string)
1175
		for txt in tags:
1176
			await client.send_message(message.channel, txt )
1177
			print (txt)
1178
1179
	if(message.content.startswith("?valeera")):
1180
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Valeera'
1181
		page = urlopen(url)
1182
1183
		soup = BeautifulSoup(page, 'html.parser')
1184
		soup.title.string
1185
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1186
1187
		tags = []
1188
		talents = popularBuild.findAll('img')
1189
		for img in talents:
1190
			if 'alt' in img.attrs:
1191
				tags.append(img.attrs['alt'])	
1192
1193
		print (soup.title.string)
1194
		for txt in tags:
1195
			await client.send_message(message.channel, txt )
1196
			print (txt)
1197
1198
	if(message.content.startswith("?valla")):
1199
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Valla'
1200
		page = urlopen(url)
1201
1202
		soup = BeautifulSoup(page, 'html.parser')
1203
		soup.title.string
1204
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1205
1206
		tags = []
1207
		talents = popularBuild.findAll('img')
1208
		for img in talents:
1209
			if 'alt' in img.attrs:
1210
				tags.append(img.attrs['alt'])	
1211
1212
		print (soup.title.string)
1213
		for txt in tags:
1214
			await client.send_message(message.channel, txt )
1215
			print (txt)
1216
1217
	if(message.content.startswith("?varian")):
1218
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Varian'
1219
		page = urlopen(url)
1220
1221
		soup = BeautifulSoup(page, 'html.parser')
1222
		soup.title.string
1223
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1224
1225
		tags = []
1226
		talents = popularBuild.findAll('img')
1227
		for img in talents:
1228
			if 'alt' in img.attrs:
1229
				tags.append(img.attrs['alt'])	
1230
1231
		print (soup.title.string)
1232
		for txt in tags:
1233
			await client.send_message(message.channel, txt )
1234
			print (txt)
1235
1236
	if(message.content.startswith("?xul")):
1237
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Xul'
1238
		page = urlopen(url)
1239
1240
		soup = BeautifulSoup(page, 'html.parser')
1241
		soup.title.string
1242
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1243
1244
		tags = []
1245
		talents = popularBuild.findAll('img')
1246
		for img in talents:
1247
			if 'alt' in img.attrs:
1248
				tags.append(img.attrs['alt'])	
1249
1250
		print (soup.title.string)
1251
		for txt in tags:
1252
			await client.send_message(message.channel, txt )
1253
			print (txt)
1254
1255
	if(message.content.startswith("?zagara")):
1256
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Zagara'
1257
		page = urlopen(url)
1258
1259
		soup = BeautifulSoup(page, 'html.parser')
1260
		soup.title.string
1261
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1262
1263
		tags = []
1264
		talents = popularBuild.findAll('img')
1265
		for img in talents:
1266
			if 'alt' in img.attrs:
1267
				tags.append(img.attrs['alt'])	
1268
1269
		print (soup.title.string)
1270
		for txt in tags:
1271
			await client.send_message(message.channel, txt )
1272
			print (txt)
1273
1274
	if(message.content.startswith("?zarya")):
1275
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Zarya'
1276
		page = urlopen(url)
1277
1278
		soup = BeautifulSoup(page, 'html.parser')
1279
		soup.title.string
1280
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1281
1282
		tags = []
1283
		talents = popularBuild.findAll('img')
1284
		for img in talents:
1285
			if 'alt' in img.attrs:
1286
				tags.append(img.attrs['alt'])	
1287
1288
		print (soup.title.string)
1289
		for txt in tags:
1290
			await client.send_message(message.channel, txt )
1291
			print (txt)
1292
1293
	if(message.content.startswith("?zeratul")):
1294
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Zeratul'
1295
		page = urlopen(url)
1296
1297
		soup = BeautifulSoup(page, 'html.parser')
1298
		soup.title.string
1299
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1300
1301
		tags = []
1302
		talents = popularBuild.findAll('img')
1303
		for img in talents:
1304
			if 'alt' in img.attrs:
1305
				tags.append(img.attrs['alt'])	
1306
1307
		print (soup.title.string)
1308
		for txt in tags:
1309
			await client.send_message(message.channel, txt )
1310
			print (txt)
1311
1312
	if(message.content.startswith("?zuljin")):
1313
		url = 'https://www.hotslogs.com/Sitewide/HeroDetails?Hero=Zul\'jin'
1314
		page = urlopen(url)
1315
1316
		soup = BeautifulSoup(page, 'html.parser')
1317
		soup.title.string
1318
		popularBuild = soup.find('tr', id='ctl00_MainContent_RadGridPopularTalentBuilds_ctl00__0')
1319
1320
		tags = []
1321
		talents = popularBuild.findAll('img')
1322
		for img in talents:
1323
			if 'alt' in img.attrs:
1324
				tags.append(img.attrs['alt'])	
1325
1326
		print (soup.title.string)
1327
		for txt in tags:
1328
			await client.send_message(message.channel, txt )
1329
			print (txt)
1330
1331
client.run("MzM5MjE1MjM5NTY2NTg5OTUz.DFqjRg.auY7zoNcL2YQHjmNqwv2h-o39X4")