old_contents: import requests
  
  import botologist.plugin
  
  
  class PCDB:
  	comments = []
  
  	@classmethod
  	def get_random(cls):
  		if not cls.comments:
  			print('requesting')
  			response = requests.get('http://pcdb.lutro.me',
  				headers={'accept': 'application/json'})
  			cls.comments = [c['body'] for c in response.json()['comments']]
  		return cls.comments.pop()
  
  
  class PcdbPlugin(botologist.plugin.Plugin):
  	"""porn comments database plugin."""
  
  	@botologist.plugin.command('pcdb', alias='random')
  	def get_pcdb_random(self, cmd):
  		return PCDB.get_random().replace('\n', ' ')
  
new_contents: import requests
  
  import botologist.plugin
  
  
  class PCDB:
  	comments = []
  
  	@classmethod
  	def get_random(cls):
  		if not cls.comments:
  			response = requests.get('http://pcdb.lutro.me',
  				headers={'accept': 'application/json'})
  			cls.comments = [c['body'] for c in response.json()['comments']]
  		return cls.comments.pop()
  
  
  class PcdbPlugin(botologist.plugin.Plugin):
  	"""porn comments database plugin."""
  
  	@botologist.plugin.command('pcdb', alias='random')
  	def get_pcdb_random(self, cmd):
  		return PCDB.get_random().replace('\n', ' ')
  
subject: remove debug code