mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Typo fix on [p]invite command (#4382)
This commit is contained in:
parent
8c89993cd5
commit
e1261b92d1
@ -1146,7 +1146,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
@commands.command()
|
@commands.command()
|
||||||
@commands.check(CoreLogic._can_get_invite_url)
|
@commands.check(CoreLogic._can_get_invite_url)
|
||||||
async def invite(self, ctx):
|
async def invite(self, ctx):
|
||||||
"""Show's [botname]'s invite url."""
|
"""Shows [botname]'s invite url."""
|
||||||
try:
|
try:
|
||||||
await ctx.author.send(await self._invite_url())
|
await ctx.author.send(await self._invite_url())
|
||||||
except discord.errors.Forbidden:
|
except discord.errors.Forbidden:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user