Skip to content

Commit 1f8c41d

Browse files
author
fishmech
committed
i hate vim
1 parent 3196fd3 commit 1f8c41d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

impact.ttf

-3.17 KB
Binary file not shown.

plugins/4chan.py

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8 -*-
22

33
from __future__ import division
44
from __future__ import print_function
@@ -19,6 +19,18 @@ def fourchan(message_data, bot):
1919
board = "/a/"
2020
if message_data['command'] == "dick":
2121
board = "/d/"
22+
if message_data['command'] == "technology":
23+
board = "/g/"
24+
if message_data['command'] == "videogame":
25+
board = "/v/"
26+
if message_data['command'] == "animals":
27+
board = "/an/"
28+
if message_data['command'] == "hentai":
29+
board = "/h/"
30+
if message_data['command'] == "ecchi":
31+
board = "/e/"
32+
if message_data['command'] == "pokemon":
33+
board = "/vp/"
2234

2335
result = urlopen('http://boards.4chan.org' + board)
2436
soup = BeautifulStoneSoup(result, convertEntities=BeautifulStoneSoup.HTML_ENTITIES)
@@ -29,6 +41,6 @@ def fourchan(message_data, bot):
2941
url = imgur.postToImgur(str("temp.jpg"))
3042
return url
3143

32-
commands = {"anime": fourchan, "dick": fourchan}
44+
commands = {"technology": fourchan, "animals": fourchan, "pokemon": fourchan, "ecchi": fourchan, "videogame": fourchan, "hentai": fourchan, "anime": fourchan, "dick": fourchan}
3345
triggers = []
3446

0 commit comments

Comments
 (0)