add username to embed

This commit is contained in:
Luna Mendes 2017-12-03 03:28:11 -03:00
parent d0c888a30d
commit 9b9d9d600c

View file

@ -43,7 +43,7 @@ class Rsudo(Cog):
log.info(f'[rsudo] {uid!r} {command!r}') log.info(f'[rsudo] {uid!r} {command!r}')
embed = discord.Embed( embed = discord.Embed(
title=f'RSudo request from UID {uid}', title=f'RSudo request from UID {uid} UNAME {username!r}',
description=f'```sh\n{command}```', description=f'```sh\n{command}```',
color=discord.Color.purple(), color=discord.Color.purple(),
) )