Skip to content

Commit 2ec4323

Browse files
authored
Merge pull request CloudBotIRC#82 from IlGnome/patch-8
Update dwi.py
2 parents d957afa + 5c993c9 commit 2ec4323

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

plugins/dwi.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
'https://j.gifs.com/L9mmYr.gif',
1515
'https://i.imgur.com/nxMBqb4.gif']
1616

17-
#This part currently broken
18-
DWIphrases = [ 'Looks like {} needs',
19-
'Ever think that {} just needs to',
20-
'Jesus fuck, {}, just',
17+
DWIphrases = [
18+
'Stop complaining, \x02{}\x02, and',
19+
'Jesus fuck \x02{}\x02, just',
20+
'Looks like \x02{}\x02 needs to',
21+
'Ever think that \x02{}\x02 just needs to'
22+
2123

22-
]
24+
]
2325

2426

2527

@@ -30,4 +32,4 @@ def DWI(text, message):
3032
'''Tell some one in the channel to deal with it'''
3133
PersonNeedsToDeal = text.strip()
3234

33-
message('\x02 {}\x02 {}'.format(PersonNeedsToDeal, random.choice(DWImacros)))
35+
message('{} {}'.format(random.choice(DWIphrases).format(PersonNeedsToDeal), random.choice(DWImacros)))

0 commit comments

Comments
 (0)