From fe147f277f655a5570a81c23985cf158cbe795e0 Mon Sep 17 00:00:00 2001 From: Red-GitHubBot <88117545+Red-GitHubBot@users.noreply.github.com> Date: Wed, 8 Sep 2021 21:50:13 +0200 Subject: [PATCH] [3.4] [Core] add `ctx.tick()` to `[p]invite` (#5199) (#5274) (cherry picked from commit c57ef4828e1a7311e935e347106d7dd40cd7001a) Co-authored-by: GhOsT <79806064+Arman0334@users.noreply.github.com> Co-authored-by: GhOsT <79806064+Arman0334@users.noreply.github.com> --- redbot/core/core_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index e522afba4..e85115c41 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -1501,6 +1501,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): """ try: await ctx.author.send(await self._invite_url()) + await ctx.tick() except discord.errors.Forbidden: await ctx.send( "I couldn't send the invite message to you in DM. "