Added a message telling the user that Enso-chan has dm'ed them

pull/2/head
sgoudham 5 years ago
parent e3de0ef0ae
commit 33abf6b287

@ -161,6 +161,8 @@ 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"])
async def rules(self, ctx, target: discord.Member): async def rules(self, ctx, target: discord.Member):
author = ctx.message.author
try: try:
embed = discord.Embed(title="```(っ◔◡◔)っ Ensō Rules```", colour=discord.Colour(0xFF69B4), embed = discord.Embed(title="```(っ◔◡◔)っ Ensō Rules```", colour=discord.Colour(0xFF69B4),
description="``` ヽ(͡◕ ͜ʖ ͡◕)ノ Please respect the following rules that are going to be listed below ヽ(͡◕ ͜ʖ ͡◕)ノ ```") description="``` ヽ(͡◕ ͜ʖ ͡◕)ノ Please respect the following rules that are going to be listed below ヽ(͡◕ ͜ʖ ͡◕)ノ ```")
@ -260,7 +262,7 @@ class CustomHelp(commands.Cog):
f", or my co-owner, {target.mention}**", f", or my co-owner, {target.mention}**",
inline=False) inline=False)
await ctx.send(embed=embed) await author.send(embed=embed)
message = await ctx.send(helpDm()) message = await ctx.send(helpDm())

Loading…
Cancel
Save