checked everything was working, allowed everyone to access ~kiss/~rules/~roles commands

pull/1/head
sgoudham 5 years ago
parent 73f38a2347
commit 9a78c0f45f

@ -45,13 +45,13 @@ class CustomHelp(commands.Cog):
name="\u200b", name="\u200b",
value="**➳ ~compliment**" + value="**➳ ~compliment**" +
"\n Allows the user to compliment someone in the server" + "\n Allows the user to compliment someone in the server" +
"\n *(Perms: everyone)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
value="**➳ ~kiss**" + value="**➳ ~kiss**" +
"\n Allows the user to kiss someone in the server" + "\n Allows the user to kiss someone in the server" +
"\n *(Perms: Co-Owner)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
@ -63,19 +63,19 @@ class CustomHelp(commands.Cog):
name="\u200b\u200b", name="\u200b\u200b",
value="**➳ ~kakashi**" + value="**➳ ~kakashi**" +
"\n Allows for a randomly generated image of Hatake Kakashi" + "\n Allows for a randomly generated image of Hatake Kakashi" +
"\n *(Perms: everyone)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
value="**➳ ~toga**" + value="**➳ ~toga**" +
"\n Allows for a randomly generated image of Himiko Toga to be shown" + "\n Allows for a randomly generated image of Himiko Toga to be shown" +
"\n *(Perms: everyone)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
value="**➳ ~tamaki**" + value="**➳ ~tamaki**" +
"\n Allows for a randomly generated image of Tamaki Suoh to be shown" + "\n Allows for a randomly generated image of Tamaki Suoh to be shown" +
"\n *(Perms: everyone)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
@ -93,13 +93,13 @@ class CustomHelp(commands.Cog):
name="\u200b", name="\u200b",
value="**➳ ~rules**" + value="**➳ ~rules**" +
"\n Returns the entire ruleset for the server" + "\n Returns the entire ruleset for the server" +
"\n *(Perms: Co-Owner)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
embed.add_field( embed.add_field(
name="\u200b", name="\u200b",
value="**➳ ~roles**" + value="**➳ ~roles**" +
"\n Shows you how the leveling and xp system works, as well as displaying the order of leveled roles" + "\n Shows you how the leveling and xp system works, as well as displaying the order of leveled roles" +
"\n *(Perms: Co-Owner)*", "\n *(Perms: Everyone)*",
inline=True) inline=True)
await author.send(embed=embed) await author.send(embed=embed)
@ -108,7 +108,6 @@ class CustomHelp(commands.Cog):
# Bot ~rules command allows for an embed message about the leveled roles and xp system # Bot ~rules command allows for an embed message about the leveled roles and xp system
@commands.command(aliases=["Rules", "rule", "Rule"]) @commands.command(aliases=["Rules", "rule", "Rule"])
@commands.has_any_role('Hamothy')
async def rules(self, ctx, target: discord.Member): async def rules(self, ctx, target: discord.Member):
try: try:
embed = discord.Embed(title="```(っ◔◡◔)っ Ensō Rules```", colour=discord.Colour(0xFF69B4), embed = discord.Embed(title="```(っ◔◡◔)っ Ensō Rules```", colour=discord.Colour(0xFF69B4),

Loading…
Cancel
Save