<commit_before>import asyncio
import discord
import random
import urllib
import requests
import json
import time
from   discord.ext import commands
from Cogs import Message
from Cogs import FuzzySearch
from Cogs import GetImage

# This module is for random funny things I guess...

class Humor:

	def __init__(self, bot, settings):
		self.bot = bot
		self.settings = settings
		
	@commands.command(pass_context=True)
	async def fart(self, ctx):
		"""PrincessZoey :P"""
		fartList = ["Poot", "Prrrrt", "Thhbbthbbbthhh", "Plllleerrrrffff", "Toot", "Blaaaaahnk", "Squerk"]
		randnum = random.randint(0, len(fartList)-1)<commit_msg>Added holy to appease the Batman<commit_after>import asyncio
import discord
import random
import urllib
import requests
import json
import time
from   discord.ext import commands
from Cogs import Message
from Cogs import FuzzySearch
from Cogs import GetImage
from Cogs import Nullify

# This module is for random funny things I guess...

class Humor:

	def __init__(self, bot, settings, listName = "Adjectives.txt"):
		self.bot = bot
		self.settings = settings
		# Setup our adjective list
		self.adj = []
		if os.path.exists(listName):
			with open(listName) as f:
    				for line in f:
					self.adj.append(line)
					
		
	@commands.command(pass_context=True)
	async def holy(self, ctx, *, subject : str = None):
		"""Time to backup the Batman!"""
		# Check if we're suppressing @here and @everyone mentions
		if self.settings.getServerStat(ctx.message.guild, "SuppressMentions").lower() == "yes":
			suppress = True
		else:
			suppress = False
		
		matchList = []
		for a in self.adj:
			if a[:1].lower() == subject[:1].lower():
				matchList.append(a)
		
		if not len(matchList):
			# Nothing in there
			msg = "*Whoah there!* That was *too* holy for Robin!"
		else:
			# Get a random one
			word = random.choice(matchList)
			word = word.capitalize()
			msg = "*Holy {} {}, Batman!*".format(word, subject)
		
		# Check for suppress
		if suppress:
			msg = Nullify.clean(msg)
		
		await ctx.channel.send(msg)
			
		
	@commands.command(pass_context=True)
	async def fart(self, ctx):
		"""PrincessZoey :P"""
		fartList = ["Poot", "Prrrrt", "Thhbbthbbbthhh", "Plllleerrrrffff", "Toot", "Blaaaaahnk", "Squerk"]
		randnum = random.randint(0, len(fartList)-1)
{'fraction_non_alphanumeric': 0.11767279090113736, 'fraction_numerical': 0.0026246719160104987, 'mean_word_length': 4.00437636761488, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1490302', 'n_tokens_mistral': 863, 'n_tokens_neox': 762, 'n_words': 236}