Trying to convert to Cogs pt 2

testing
sgoudham 5 years ago
parent ddf38bd338
commit 79fdb4ac9d

@ -9,7 +9,7 @@ class Fun(commands.Cog):
self.bot = bot
# Bot ~8Ball command
@commands.command(name='8ball', aliases=['8ball', '8Ball'])
@commands.command(aliases=['8ball', '8Ball'])
@cooldown(1, 3, BucketType.channel)
async def _8ball(self, ctx, *, question):
responses = [

@ -8,9 +8,8 @@ class Waifus(commands.Cog):
def __init__(self, bot):
self.bot = bot
# Bot ~Kakashi command for Zara
@commands.command(name='Kakashi', aliases=["Kakashi"])
@commands.command(aliases=['Kakashi'])
@cooldown(1, 5, BucketType.channel)
async def kakashi(self, ctx):
kakashi1 = "https://cdn.discordapp.com/attachments/714671068941647933/717201077346238514/image0.jpg"
@ -114,28 +113,38 @@ async def kakashi(self, ctx):
kakashi99 = ""
kakashi100 = ""
kakashiArray = [kakashi1, kakashi2, kakashi3, kakashi4, kakashi5, kakashi6, kakashi7, kakashi8, kakashi9, kakashi10,
kakashi11, kakashi12, kakashi13, kakashi14, kakashi15, kakashi16, kakashi17, kakashi18, kakashi19,
kakashi_array = [kakashi1, kakashi2, kakashi3, kakashi4, kakashi5, kakashi6, kakashi7, kakashi8, kakashi9,
kakashi10,
kakashi11, kakashi12, kakashi13, kakashi14, kakashi15, kakashi16, kakashi17, kakashi18,
kakashi19,
kakashi20,
kakashi21, kakashi22, kakashi23, kakashi24, kakashi25, kakashi26, kakashi27, kakashi28, kakashi29,
kakashi21, kakashi22, kakashi23, kakashi24, kakashi25, kakashi26, kakashi27, kakashi28,
kakashi29,
kakashi30,
kakashi31, kakashi32, kakashi33, kakashi34, kakashi35, kakashi36, kakashi37, kakashi38, kakashi39,
kakashi31, kakashi32, kakashi33, kakashi34, kakashi35, kakashi36, kakashi37, kakashi38,
kakashi39,
kakashi40,
kakashi41, kakashi42, kakashi43, kakashi44, kakashi45, kakashi46, kakashi47, kakashi48, kakashi49,
kakashi41, kakashi42, kakashi43, kakashi44, kakashi45, kakashi46, kakashi47, kakashi48,
kakashi49,
kakashi50,
kakashi51, kakashi52, kakashi53, kakashi54, kakashi55, kakashi56, kakashi57, kakashi58, kakashi59,
kakashi51, kakashi52, kakashi53, kakashi54, kakashi55, kakashi56, kakashi57, kakashi58,
kakashi59,
kakashi60,
kakashi61, kakashi62, kakashi63, kakashi64, kakashi65, kakashi66, kakashi67, kakashi68, kakashi69,
kakashi61, kakashi62, kakashi63, kakashi64, kakashi65, kakashi66, kakashi67, kakashi68,
kakashi69,
kakashi70,
kakashi71, kakashi72, kakashi73, kakashi74, kakashi75, kakashi76, kakashi77, kakashi78, kakashi79,
kakashi71, kakashi72, kakashi73, kakashi74, kakashi75, kakashi76, kakashi77, kakashi78,
kakashi79,
kakashi80,
kakashi81, kakashi82, kakashi83, kakashi84, kakashi85, kakashi86, kakashi87, kakashi88, kakashi89,
kakashi81, kakashi82, kakashi83, kakashi84, kakashi85, kakashi86, kakashi87, kakashi88,
kakashi89,
kakashi90,
kakashi91, kakashi92, kakashi93, kakashi94, kakashi95, kakashi96, kakashi97, kakashi98, kakashi99,
kakashi91, kakashi92, kakashi93, kakashi94, kakashi95, kakashi96, kakashi97, kakashi98,
kakashi99,
kakashi100]
embed = discord.Embed(title="```Random Kakashi Image```", colour=discord.Colour(0xff0000), )
embed.set_image(url=random.choice(kakashiArray))
embed.set_image(url=random.choice(kakashi_array))
await ctx.send(embed=embed)

Loading…
Cancel
Save