mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Core] add ctx.tick() to [p]invite (#5199)
This commit is contained in:
parent
6bf85a42f8
commit
c57ef4828e
@ -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. "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user