Updating the embed for flows to have emojis and deleteing the usermessage for the cleanup command
This commit is contained in:
parent
23cbbe01b6
commit
e0de4e6c68
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user