Updating title of pat command

pull/8/head
sgoudham 4 years ago
parent a8b6f39b03
commit 188459ae8b

@ -26,7 +26,7 @@ class Interactive(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@commands.Cog.listener() @commands.Cog.listener()
async def on_ready(self): async def on_ready(self):
"""Printing out that Cog is ready on startup""" """Printing out that Cog is ready on startup"""
@ -240,9 +240,9 @@ class Interactive(commands.Cog):
"""Pat a Member""" """Pat a Member"""
if member is ctx.author: if member is ctx.author:
title = f":scream: :scream: | **{ctx.author.name}** patted **themselves**" title = f"👉 👈 | **{ctx.author.name}** patted **themselves**"
else: else:
title = f":scream: :scream: | **{ctx.author.name}** patted **{member.display_name}**" title = f"👉 👈 | **{ctx.author.name}** patted **{member.display_name}**"
# Surround with try/except to catch any exceptions that may occur # Surround with try/except to catch any exceptions that may occur
try: try:

Loading…
Cancel
Save