ignore dm for now

This commit is contained in:
Luna Mendes 2017-12-03 16:01:44 -03:00
parent fa732a5075
commit fce6a822e0

View file

@ -153,7 +153,8 @@ class Rsudo(Cog):
await command_channel.send(page) await command_channel.send(page)
try: try:
await user.send(f'Your request for the command {command} was accepted:') # await user.send(f'Your request for the command {command} was accepted:')
pass
for page in paginator.pages: for page in paginator.pages:
await user.send(page) await user.send(page)
@ -168,7 +169,8 @@ class Rsudo(Cog):
await msg.edit(embed=embed) await msg.edit(embed=embed)
try: try:
await user.send(f'Your request for the command {command} was denied.') # await user.send(f'Your request for the command {command} was denied.')
pass
except discord.HTTPException: except discord.HTTPException:
await command_channel.send(f'Failed to send denial message to {user}.') await command_channel.send(f'Failed to send denial message to {user}.')