From e0de4e6c68781254821c7a3453d138d81671b88c Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sat, 17 Apr 2021 18:37:27 -0700 Subject: [PATCH] Updating the embed for flows to have emojis and deleteing the usermessage for the cleanup command --- app/bot.py | 2 +- app/river_stats.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index 3c9aa3f7..d7fc0afc 100755 --- a/app/bot.py +++ b/app/bot.py @@ -288,7 +288,6 @@ async def verify(ctx): @bot.command(name='clap') async def clap(ctx): - await ctx.send("{}".format(' :clap: '.join(ctx.message.content.split()[1:]))) @bot.command(name='.') @@ -485,6 +484,7 @@ async def cleanup(ctx): ) return await ctx.message.channel.purge(limit=num, check=is_discord_bot) + await ctx.message.delete() @bot.event diff --git a/app/river_stats.py b/app/river_stats.py index eaebd1e6..f55c5386 100644 --- a/app/river_stats.py +++ b/app/river_stats.py @@ -34,7 +34,7 @@ def get_stats(): x.join() final_string = '' - embed = discord.Embed(description="Flows :canoe:", color=0x428bca, type="rich") + embed = discord.Embed(description=":man_rowing_boat: Flows :man_rowing_boat:", color=0x428bca, type="rich") embed.set_author(name="River stats") for key, value in results.items(): embed.add_field(name=key, value=value, inline=False)