Skip to content
Permalink
Browse files

Specify permissions needed for roleplay

  • Loading branch information...
lionirdeadman
lionirdeadman committed Mar 5, 2019
1 parent 436bf9a commit 3af27b0fccf5e8905719514106e5153d3a2ddf34
Showing with 8 additions and 1 deletion.
  1. +1 −1 pokemon/pokemon.py
  2. +7 −0 roleplay/roleplay.py
@@ -9,7 +9,7 @@ class Pokemon(BaseCog):
"""Show Pokemon info"""

@commands.command()
@commands.bot_has_permissions(embed_links=True, add_reactions=True)
@commands.bot_has_permissions(embed_links=True)
async def pokemon(self, ctx, name_or_id):
"""Show pokemon info"""

@@ -77,6 +77,7 @@ def __init__(self):
self.config.register_global(**default_global)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def hugs(self, ctx, *, user: discord.Member):
"""Hugs a user!"""

@@ -92,6 +93,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def kiss(self, ctx, *, user: discord.Member):
"""Kiss a user!"""

@@ -107,6 +109,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def slap(self, ctx, *, user: discord.Member):
"""Slaps a user!"""

@@ -122,6 +125,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def pat(self, ctx, *, user: discord.Member):
"""Pats a user!"""

@@ -137,6 +141,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def lick(self, ctx, *, user: discord.Member):
"""Licks a user!"""

@@ -152,6 +157,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def highfive(self, ctx, *, user: discord.Member):
"""Highfives a user!"""

@@ -167,6 +173,7 @@ def __init__(self):
await ctx.send(embed=embed)

@commands.command()
@commands.bot_has_permissions(embed_links=True)
async def feed(self, ctx, *, user: discord.Member):
"""Feeds a user!"""

0 comments on commit 3af27b0

Please sign in to comment.
You can’t perform that action at this time.