We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47f3590 + 60cc05a commit bbc897fCopy full SHA for bbc897f
1 file changed
foaas.py
@@ -0,0 +1,38 @@
1
+import requests
2
+import random
3
+from cloudbot import hook
4
+
5
+FuckOffList = [ 'donut',
6
+ 'bus',
7
+ 'chainsaw',
8
+ 'king',
9
+ 'madison',
10
+ 'gfy',
11
+ 'back',
12
+ 'keep',
13
+ 'name',
14
+ 'bday',
15
+ 'dalton',
16
+ 'ing',
17
+ 'nugget',
18
+ 'outside',
19
+ 'off',
20
+ 'problem',
21
+ 'shakespeare',
22
+ 'think',
23
+ 'thinking',
24
+ 'xmas',
25
+ 'yoda',
26
+ 'you'
27
+ ]
28
29
+headers = {'Accept' : 'text/plain'}
30
31
+@hook.command('fos','fuckoff','foaas')
32
+def foaas(text, nick, message):
33
+ Fuckee = text.strip()
34
+ Fucker = nick
35
36
+ r = requests.get('http://www.foaas.com/' + str(random.choice(FuckOffList)) + '/' + Fuckee + '/' + Fucker, headers=headers)
37
+ out = r.text
38
+ message(out)
0 commit comments