Add Olli memes

This commit is contained in:
CramMK
2020-04-24 10:35:10 +02:00
parent fb86a197b6
commit da10e0db16
4 changed files with 17 additions and 1 deletions

View File

@@ -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):