mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
(cherry picked from commit c57ef4828e)
Co-authored-by: GhOsT <79806064+Arman0334@users.noreply.github.com>
Co-authored-by: GhOsT <79806064+Arman0334@users.noreply.github.com>
This commit is contained in:
@@ -1501,6 +1501,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
await ctx.author.send(await self._invite_url())
|
await ctx.author.send(await self._invite_url())
|
||||||
|
await ctx.tick()
|
||||||
except discord.errors.Forbidden:
|
except discord.errors.Forbidden:
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
"I couldn't send the invite message to you in DM. "
|
"I couldn't send the invite message to you in DM. "
|
||||||
|
|||||||
Reference in New Issue
Block a user