# Path: mods/cog.py
# class Cog(metaclass=CogMeta):
# 	def __init__(self, bot:NotSoBot):
# 		self._bot = bot
# 
# 	@property
# 	def bot(self):
# 		return self._bot
# 
# 	@classmethod
# 	def setup(cls, bot:NotSoBot):
# 		bot.add_cog(cls(bot))


import requests
import random
import re
from discord.ext import commands
from lxml.html import fromstring
from mods.cog import Cog

code = "```py\n{0}\n```"

API_PAGE = 'http://api.4chan.org/{}/1.json'
POST_URL_TEMPLATE = 'http://boards.4chan.org/{}/res/{}#p{}'


# Path: mods/cog.py
# class Cog(metaclass=CogMeta):
# 	def __init__(self, bot:NotSoBot):
# 		self._bot = bot
# 
# 	@property
# 	def bot(self):
# 		return self._bot
# 
# 	@classmethod
# 	def setup(cls, bot:NotSoBot):
# 		bot.add_cog(cls(bot))


# Path: mods/Chan.py
import requests
import random
import re
from discord.ext import commands
from lxml.html import fromstring
from mods.cog import Cog


code = "```py\n{0}\n```"

API_PAGE = 'http://api.4chan.org/{}/1.json'
POST_URL_TEMPLATE = 'http://boards.4chan.org/{}/res/{}#p{}'


def format(element):