Skip to content

Commit d957afa

Browse files
authored
Merge pull request CloudBotIRC#80 from IlGnome/patch-6
Update foaas.py
2 parents d998115 + 60f7fb0 commit d957afa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/foaas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464

6565
headers = {'Accept' : 'text/plain'}
6666

67-
@hook.command('fos','fuckoff','foaas')
67+
@hook.command('fos','fuckoff','foaas', autohelp = False)
6868
def foaas(text, nick, message):
6969
'''fos [name] to tell some one to fuck off or just .fos for a generic fuckoff'''
7070
Fuckee = text.strip()
7171
Fucker = nick
7272
if Fuckee == '':
73-
r = requests.get('http://www.foaas.com/' + str(random.choice(SingleFuckList)) + Fucker,headers=headers)
73+
r = requests.get('http://www.foaas.com/' + str(random.choice(SingleFuckList)) + '/' + Fucker,headers=headers)
7474
out = r.text
7575
message(out)
7676
else:

0 commit comments

Comments
 (0)