ignore dm for now
This commit is contained in:
parent
fa732a5075
commit
fce6a822e0
1 changed files with 4 additions and 2 deletions
|
@ -153,7 +153,8 @@ class Rsudo(Cog):
|
|||
await command_channel.send(page)
|
||||
|
||||
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:
|
||||
await user.send(page)
|
||||
|
@ -168,7 +169,8 @@ class Rsudo(Cog):
|
|||
await msg.edit(embed=embed)
|
||||
|
||||
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:
|
||||
await command_channel.send(f'Failed to send denial message to {user}.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue