import asyncio
import discord
import random
from   discord.ext import commands
from   Cogs import Settings

def setup(bot):
	# Add the bot
	bot.add_cog(EightBall(bot))

class EightBall(commands.Cog):

	# Init with the bot reference, and a reference to the settings var
	def __init__(self, bot):
		self.bot = bot

	@commands.command(pass_context=True)
	async def eightball(self, ctx, *, question = None):
		"""Get some answers."""

		if question == None:
			msg = 'You need to ask me a question first.'
			await ctx.channel.send(msg)
			return

		answerList = [	"It is certain",
						"It is decidedly so",
						"Without a doubt",
						"Yes, definitely",
						"You may rely on it",
						"As I see it, yes",
						"Most likely",
						"Outlook good",
						"Yes",
						"Signs point to yes",
						"Reply hazy try again",
						"Ask again later",
						"Better not tell you now",
						"Cannot predict now",
						"Concentrate and ask again",
						"Don't count on it",
						"My reply is no",
						"My sources say no",
						"Outlook not so good",
						"Very doubtful"	]
		randnum = random.randint(0, len(answerList)-1)
		msg = '{}'.format(answerList[randnum])
		# Say message
		await ctx.channel.send(msg)
import asyncio
import discord
import random
from   discord.ext import commands
from   Cogs import Settings

def setup(bot):
	# Add the bot
	bot.add_cog(EightBall(bot))

class EightBall(commands.Cog):

	# Init with the bot reference, and a reference to the settings var
	def __init__(self, bot):
		self.bot = bot

	@commands.command(hidden=True)
	async def lmap(self, ctx, *, question = None):
		"""Let me ask Pooter..."""

		await ctx.invoke(self.eightball,question=question)

	@commands.command(pass_context=True)
	async def eightball(self, ctx, *, question = None):
		"""Get some answers."""

		if question == None:
			msg = 'You need to ask me a question first.'
			await ctx.channel.send(msg)
			return

		answerList = [	"It is certain",
						"It is decidedly so",
						"Without a doubt",
						"Yes, definitely",
						"You may rely on it",
						"As I see it, yes",
						"Most likely",
						"Outlook good",
						"Yes",
						"Signs point to yes",
						"Reply hazy try again",
						"Ask again later",
						"Better not tell you now",
						"Cannot predict now",
						"Concentrate and ask again",
						"Don't count on it",
						"My reply is no",
						"My sources say no",
						"Outlook not so good",
						"Very doubtful"	]
		randnum = random.randint(0, len(answerList)-1)
		msg = '{}'.format(answerList[randnum])
		# Say message
		await ctx.channel.send(msg)

Update EightBall.py