[3.4] Add a tick on traceback command when it's sent to DMs (#5353) (#5397)

* add a `tick` when sent to dm.

* confused ™️

* did i learn now? :P

* i'm not confused anymore :3
(cherry picked from commit b8535ee53e)

Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com>

Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com>
This commit is contained in:
Red-GitHubBot
2021-10-16 00:48:49 +02:00
committed by GitHub
parent b8cf464355
commit 542a7b3cb2

View File

@@ -1469,6 +1469,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
"Either you blocked me or you disabled DMs in this server."
)
return
if not public:
await ctx.tick()
else:
await ctx.send(_("No exception has occurred yet."))