From c57ef4828e1a7311e935e347106d7dd40cd7001a Mon Sep 17 00:00:00 2001 From: GhOsT <79806064+Arman0334@users.noreply.github.com> Date: Wed, 1 Sep 2021 01:27:11 +0400 Subject: [PATCH] [Core] add `ctx.tick()` to `[p]invite` (#5199) --- 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. "