aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Suhail <[email protected]>2019-06-03 12:24:09 +0100
committerGravatar Suhail <[email protected]>2019-06-03 12:24:09 +0100
commit76b753d0aa0cfdc96d2a3b357e883047aade1e78 (patch)
tree9fec4db772777bb631175251a792e6f1b5509852 /bot
parentUpdate Dockerfile (diff)
Added flags command for prideavatar
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/pride/pride_avatar.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/seasons/pride/pride_avatar.py b/bot/seasons/pride/pride_avatar.py
index e1f09d34..77aff58c 100644
--- a/bot/seasons/pride/pride_avatar.py
+++ b/bot/seasons/pride/pride_avatar.py
@@ -76,7 +76,7 @@ class PrideAvatar(commands.Cog):
ring.putalpha(mask)
return ring
- @commands.command(aliases=["avatarpride", "pridepfp", "prideprofile"])
+ @commands.group(aliases=["avatarpride", "pridepfp", "prideprofile"], invoke_without_command=True)
async def prideavatar(self, ctx, option="lgbt", pixels: int = 64):
"""
This surrounds an avatar with a border of a specified LGBT flag.
@@ -123,6 +123,12 @@ class PrideAvatar(commands.Cog):
await ctx.send(file=file, embed=embed)
+ @prideavatar.command()
+ async def flags(self, ctx):
+ """This lists the flags that can be used with the prideavatar command."""
+ options = "\n".join(set(OPTIONS.values()))
+ await ctx.send(f"**I have the following flags:**\n{options}")
+
def setup(bot):
"""Cog load."""