diff --git a/cogs/utility.py b/cogs/utility.py index 1835378..071e1d7 100644 --- a/cogs/utility.py +++ b/cogs/utility.py @@ -9,6 +9,7 @@ https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html # IMPORTS - external import discord from discord.ext import commands +import random # IMPORTS - internal import loadconfig @@ -37,7 +38,7 @@ class Utility(commands.Cog): link_embed = discord.Embed(color=discord.Colour.blue()) link_embed.add_field( - name="Here's and invite to our server:", + name="Here's an invite to our server:", value=link, inline=True) link_embed.set_footer( @@ -64,6 +65,14 @@ class Utility(commands.Cog): await ctx.send(response) + @commands.command(name="ollimeme") + async def aolli_meme(self, ctx): + """ + Sends a high quality Olli Meme + """ + meme = random.choice(loadconfig.__olli_memes__) + await ctx.send(meme) + # COG ENDING def setup(bot): diff --git a/config/olli.py b/config/olli.py new file mode 100644 index 0000000..7b0154d --- /dev/null +++ b/config/olli.py @@ -0,0 +1,6 @@ +#All Olli Memes + +__olli_memes__ = [ + "https://i.imgflip.com/3xpkiv.jpg" + "https://cdn.discordapp.com/attachments/541637988120133634/702992838702399518/grave.png" + ] diff --git a/img/avatar.png b/img/avatar.png deleted file mode 100644 index 004e9d7..0000000 Binary files a/img/avatar.png and /dev/null differ diff --git a/loadconfig.py b/loadconfig.py index 3062195..b1c4056 100644 --- a/loadconfig.py +++ b/loadconfig.py @@ -28,5 +28,6 @@ try: from config.cogs import __cogs__ from config.status import __activity__ from config.media import __media_anime__, __media_girl__ + from config.olli import __olli_memes__ except ImportError as error: print(f"Error while importing: {error}")